diff options
Diffstat (limited to 'gcc/config/arm/thumb.c')
-rwxr-xr-x | gcc/config/arm/thumb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/thumb.c b/gcc/config/arm/thumb.c index e9ce13b..8953376 100755 --- a/gcc/config/arm/thumb.c +++ b/gcc/config/arm/thumb.c @@ -1365,13 +1365,13 @@ thumb_print_operand(FILE *f, rtx x, int code) case 'Q': if (REGNO(x) > 15) abort(); - fputs(reg_names[REGNO(x) + (WORDS_BIG_ENDIAN ? 1 : 0)], f); + fputs(reg_names[REGNO(x)], f); return; case 'R': if (REGNO(x) > 15) abort(); - fputs(reg_names[REGNO(x) + (WORDS_BIG_ENDIAN ? 0 : 1)], f); + fputs(reg_names[REGNO(x) + 1], f); return; case 'H': |