diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2012-10-22 00:12:46 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2012-10-22 00:12:46 +0200 |
commit | cab54dfa3ad330dd2ccb876e85112cc4363786d5 (patch) | |
tree | b7154eb94cb5fcc8262e1ed94e79ec04396f1824 /gcc/builtins.c | |
parent | 84cac7eff72290d1b2a57c75df602a02ffd2f56e (diff) | |
download | gcc-cab54dfa3ad330dd2ccb876e85112cc4363786d5.zip gcc-cab54dfa3ad330dd2ccb876e85112cc4363786d5.tar.gz gcc-cab54dfa3ad330dd2ccb876e85112cc4363786d5.tar.bz2 |
i386-protos.h (memory_address_length): Add new bool argument.
* config/i386/i386-protos.h (memory_address_length): Add new bool
argument. Update all uses.
* config/i386/i386.c (memory_address_length): If not LEA insn, then
add length of addr32 prefix based on mode of base or index register.
(ix86_attr_length_address_default) <TYPE_LEA>: Do not handle SImode
addresses here. Update call to memory_address_length.
(ix86_print_address_operand): Use SImode_address_operand predicate.
* config/i386/predicates.md (SImode_address_operand): New.
* config/i386/i386.md (lea<mode>): Use SImode_address_operand
to calculate "mode" attribute. Use SImode_address_operand predicate
instead of open-coding accepted RTX codes.
From-SVN: r192660
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions