diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/nvptx/nvptx.h | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/nvptx/stack_frame-1.c | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/nvptx/nvptx.h b/gcc/config/nvptx/nvptx.h index c21e7cb..1ec5f60 100644 --- a/gcc/config/nvptx/nvptx.h +++ b/gcc/config/nvptx/nvptx.h @@ -77,6 +77,8 @@ #define LONG_LONG_TYPE_SIZE 64 #define TARGET_SUPPORTS_WIDE_INT 1 +#define MAX_FIXED_MODE_SIZE 128 + #undef SIZE_TYPE #define SIZE_TYPE (TARGET_ABI64 ? "long unsigned int" : "unsigned int") #undef PTRDIFF_TYPE diff --git a/gcc/testsuite/gcc.target/nvptx/stack_frame-1.c b/gcc/testsuite/gcc.target/nvptx/stack_frame-1.c index 476d0ac..cca89b5 100644 --- a/gcc/testsuite/gcc.target/nvptx/stack_frame-1.c +++ b/gcc/testsuite/gcc.target/nvptx/stack_frame-1.c @@ -1,11 +1,11 @@ -/* GCC emits an unused stack frame. */ +/* GCC used to emit an unused stack frame. */ /* { dg-do assemble } */ /* { dg-options {-O2 -mno-soft-stack} } */ /* { dg-additional-options -save-temps } */ /* { dg-final { check-function-bodies {** } {} } } */ -/* Greatly reduced from libgcc code, where this issue is visible for +/* Greatly reduced from libgcc code, where this issue was visible for '_divdi3.o:__divti3', '_divmoddi4.o:__divmodti4', '_moddi3.o:__modti3', '_udivdi3.o:__udivti3', '_udivmoddi4.o:__udivmodti4', '_umoddi3.o:__umodti3'. */ @@ -25,9 +25,6 @@ int f (int n) ** \.reg\.u32 %value; ** \.reg\.u32 %ar0; ** ld\.param\.u32 %ar0, \[%in_ar0\]; -** \.local \.align 16 \.b8 %frame_ar\[16\]; -** \.reg\.u64 %frame; -** cvta\.local\.u64 %frame, %frame_ar; ** mov\.u32 %value, %ar0; ** st\.param\.u32 \[%value_out\], %value; ** ret; |