diff options
author | Jan Hubicka <jh@suse.cz> | 2000-06-27 10:24:38 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2000-06-27 10:24:38 +0000 |
commit | 6ef67412e83c27379415518530d7baf3c79ce2ac (patch) | |
tree | 9f0681adec250159830c4c0f6be2564d0cef9162 /gcc/genattrtab.c | |
parent | 638f9bae602acab0bf5f4103795fcbb74f0b2daf (diff) | |
download | gcc-6ef67412e83c27379415518530d7baf3c79ce2ac.zip gcc-6ef67412e83c27379415518530d7baf3c79ce2ac.tar.gz gcc-6ef67412e83c27379415518530d7baf3c79ce2ac.tar.bz2 |
genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
* genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
* i386.c (ix86_attr_length_default): Kill.
(ix86_attr_length_immediate_default, ix86_attr_length_address_default):
New.
* i386-protos.h (ix86_attr_length_default): Kill
(ix86_attr_length_immediate_default, ix86_attr_length_address_default):
Add prototype
* i386.md (attribute type): Add "test".
(attribute length_prefix): Kill.
(attribute length_opcode): Kill.
(attribute i387, mode, length_immediate, length_address, prefix_data16,
prefix_rep, prefix_0f, modrm): New.
(attribute length): Compute using the new attributes.
(attribute pent_prefix): New.
(attribute pent_pair): Compute using pent_prefix.
(all insn patterns): Set mode,modrm and immediate_length attributes where
needed.
(cmpsi patterns): Compute sizes propertly for test instruction.
(movsi, movhi patterns): Compute sizes propertly for eax shortcuts.
(movstricthi_xor, movstrictqi_xor): New patterns.
(andsi/andhi): Use splitters to generate xor instructions.
(xorqi_ext_1): New pattern.
(movstricthi->movstricthi_xor peep2): New.
From-SVN: r34731
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index db4634d9..5b4d656 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -5310,6 +5310,10 @@ write_attr_value (attr, value) write_attr_valueq (attr, XSTR (value, 0)); break; + case CONST_INT: + printf (HOST_WIDE_INT_PRINT_DEC, INTVAL (value)); + break; + case SYMBOL_REF: fputs (XSTR (value, 0), stdout); break; |