Re: [x86 testsuite] preserve full register across main

2019-09-02 Thread Alexandre Oliva
On Aug 24, 2019, Uros Bizjak wrote: > Can __attribute__ ((mode (__word__))) be used here? Oh, nice, yes, thanks! > Otherwise OK. Here's what I'm installing. for gcc/testsuite/ChangeLog * gcc.target/i386/20020616-1.c: Preserve full register across main. --- gcc/testsuite/gc

Re: [x86 testsuite] preserve full register across main

2019-08-24 Thread Uros Bizjak
On Friday, August 23, 2019, Alexandre Oliva wrote: > This test uses a call-saved register as a global variable. It > attempts to preserve its value across main, but only the lower int > part is preserved, which is not good enough for x86_64, when the > runtime that calls main() happens to hold so

[x86 testsuite] preserve full register across main

2019-08-23 Thread Alexandre Oliva
This test uses a call-saved register as a global variable. It attempts to preserve its value across main, but only the lower int part is preserved, which is not good enough for x86_64, when the runtime that calls main() happens to hold something in the chosen register that is not a zero-extension