Message ID | 20170817180404.29334-7-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | TCG Vector types and example conversion | expand |
On 08/17/2017 11:04 AM, Alex Bennée wrote: > -static const char *regnames[] = { > +static const char *x_regnames[] = { > "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", > "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", > "x16", "x17", "x18", "x19", "x20", "x21", "x22", "x23", Mis-patch? There should be uses of this array to be renamed too. r~
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 2200e25be0..805af51900 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -43,7 +43,7 @@ static TCGv_i64 cpu_pc; static TCGv_i64 cpu_exclusive_high; static TCGv_i64 cpu_reg(DisasContext *s, int reg); -static const char *regnames[] = { +static const char *x_regnames[] = { "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "x17", "x18", "x19", "x20", "x21", "x22", "x23",
These are the integer registers as will become clear when we start declaring the vector ones. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- target/arm/translate-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.0