@@ -1,5 +1,9 @@
2011-02-12 H.J. Lu <hongjiu.lu@intel.com>
+ * config/i386/i386.md (A): Moved.
+
+2011-02-12 H.J. Lu <hongjiu.lu@intel.com>
+
PR middle-end/47383
* tree-ssa-address.c (addr_for_mem_ref): Use ptr_mode instead
of targetm.addr_space.address_mode.
@@ -933,6 +933,10 @@
;; This mode iterator allows :P to be used for patterns that operate on
;; pointer-sized quantities. Exactly one of the two alternatives will match.
(define_mode_iterator P [(SI "Pmode == SImode") (DI "Pmode == DImode")])
+
+;; This mode iterator allows :A to be used for patterns that operate on
+;; address-sized quantities. Exactly one of the two alternatives will match.
+(define_mode_iterator A [(SI "TARGET_X32") (DI "!TARGET_X32")])
;; Scheduling descriptions
@@ -944,11 +948,6 @@
(include "geode.md")
(include "atom.md")
(include "core2.md")
-
-;; This mode iterator allows :A to be used for patterns that operate on
-;; address-sized quantities. Exactly one of the two alternatives will match.
-(define_mode_iterator A [(SI "TARGET_X32") (DI "!TARGET_X32")])
-
;; Operand and operator predicates and constraints
Hi, I checked in this patch to move A closer to P. H.J. --- From c7ae2cbb577cb5569947f28afc040ab6a88fd240 Mon Sep 17 00:00:00 2001 From: H.J. Lu <hjl.tools@gmail.com> Date: Sat, 12 Feb 2011 15:53:36 -0800 Subject: [PATCH 1/2] Move A in config/i386/i386.md. --- gcc/ChangeLog.x32 | 4 ++++ gcc/config/i386/i386.md | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-)