]> gcc.gnu.org Git - gcc.git/commit
i386-protos.h (memory_address_length): Add new bool argument.
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 21 Oct 2012 22:12:46 +0000 (00:12 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 21 Oct 2012 22:12:46 +0000 (00:12 +0200)
commitcab54dfa3ad330dd2ccb876e85112cc4363786d5
treeb7154eb94cb5fcc8262e1ed94e79ec04396f1824
parent84cac7eff72290d1b2a57c75df602a02ffd2f56e
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
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i386/predicates.md
This page took 0.05635 seconds and 5 git commands to generate.