asm clobbers, !SMALL_REGISTER_CLASSES patch.
Geoffrey KEATING
geoffk@discus.anu.edu.au
Thu Feb 12 19:36:00 GMT 1998
>From the earlier discussion about how to avoid problems with asm
clobbers, on machines with small register classes on which
SMALL_REGISTER_CLASSES is not defined, I have produced this patch.
The patch affects all ports. I believe that it works and is good on
PowerPC/RS6000. I believe that it has no effect on machines that
don't have any register classes containing only one register, like
sparc.
I have absolutely no idea what effect it will have on machines like
x86. I'm willing to believe anything from 'stops egcs crashing in
reload and causes better code generation' to the reverse. Thus, it
needs some testing, preferably on some pieces of code that use lots of
complex asm() statements (c-torture doesn't).
--
Geoff Keating <Geoff.Keating@anu.edu.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: egcs-asm-2.diff
Type: text/x-diff
Size: 5751 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/19980212/b37e542b/attachment.bin>
More information about the Gcc
mailing list