Re: [PATCH] loongarch: testsuite: adapt stack-usage-1.c for LP64

2022-04-08 Thread Cheng Lulu
在 2022/4/9 上午5:48, Xi Ruoyao 写道: Another simple testcase change for LoongArch. Ok for trunk? --- LoongArch backend allocates two additional 8-byte stack slots for LP64, one for saving $fp and another for saving the temporary value "1". Ideally they are both unneeded, but (1) we're using -O0

[PATCH] loongarch: testsuite: adapt stack-usage-1.c for LP64

2022-04-08 Thread Xi Ruoyao via Gcc-patches
Another simple testcase change for LoongArch. Ok for trunk? --- LoongArch backend allocates two additional 8-byte stack slots for LP64, one for saving $fp and another for saving the temporary value "1". Ideally they are both unneeded, but (1) we're using -O0 so the code is suboptimized by the na