diff options
Diffstat (limited to 'gcc/config/arm/arm.h')
| -rw-r--r-- | gcc/config/arm/arm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index beb2222..73d8333 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1480,8 +1480,9 @@ typedef struct (TYPE is null for libcalls where that information may not be available.) */ #define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ (CUM).nargs += 1; \ - if (arm_vector_mode_supported_p (MODE) \ - && (CUM).named_count > (CUM).nargs) \ + if (arm_vector_mode_supported_p (MODE) \ + && (CUM).named_count > (CUM).nargs \ + && TARGET_IWMMXT_ABI) \ (CUM).iwmmxt_nregs += 1; \ else \ (CUM).nregs += ARM_NUM_REGS2 (MODE, TYPE) |
