alpha fp suffix cleanup
Richard Henderson
rth@redhat.com
Sun Jul 22 09:11:00 GMT 2001
This was prompted by the T3 patch we saw recently, wherein it
appeared that the Cray assembler would accept "cvttq/c" but
not "cvttqc". And, I assume from the way the "su" and "sui"
suffixes had been brutally disabled, would accept "addt/su"
but not "addtsu". As far as I know, gas and dec assemblers
have always accepted either form.
And, now that it's done, seems much cleaner, in that one can
actually see what's going on with the trap suffix mess as
opposed to the, um, overabundance of %<linenoise>.
Bootstrapped on alphaev6-linux.
r~
* config/alpha/alpha.c (get_trap_mode_suffix): New.
(get_round_mode_suffix): New.
(print_operand): Use them for [/]. Remove support for [&'`()+].
* config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
* config/alpha/alpha.md (attr round_suffix): New.
(attr trap_suffix): New.
(all insns): Set them appropriately. Use %/ instead of the
myriad punctuators.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.gz
Type: application/x-gzip
Size: 4832 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20010722/2fe5c570/attachment.bin>
More information about the Gcc-patches
mailing list