summaryrefslogtreecommitdiff
path: root/gcc/config/ia64/constraints.md
diff options
context:
space:
mode:
authorjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-31 07:53:48 +0000
committerjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-31 07:53:48 +0000
commit80538812fd4651ee2100aace8d89a8805bf847e3 (patch)
tree33acedc330af1e81b1c928c7039a9c195f2c8816 /gcc/config/ia64/constraints.md
parent1c246761787bb090ec933bf41aeca7526de7fbb8 (diff)
downloadgcc-80538812fd4651ee2100aace8d89a8805bf847e3.tar.gz
gcc/
2008-03-31 Jan Beulich <jbeulich@novell.com> * config/ia64/constraints.md: Add 'j' constraint. * config/ia64/ia64.md (movsi_internal): Add addp4 case. (movdi_internal): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64/constraints.md')
-rw-r--r--gcc/config/ia64/constraints.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/ia64/constraints.md b/gcc/config/ia64/constraints.md
index 0e6c232e358..0c24536c9aa 100644
--- a/gcc/config/ia64/constraints.md
+++ b/gcc/config/ia64/constraints.md
@@ -52,6 +52,12 @@
(and (match_code "const_int")
(match_test "(unsigned HOST_WIDE_INT)ival + 0x200000 < 0x400000")))
+(define_constraint "j"
+ "(2**32-2**13)..(2**32-1) for addp4 instructions"
+ (and (match_code "const_int")
+ (match_test "(unsigned HOST_WIDE_INT)ival >= 0xffffe000
+ && (unsigned HOST_WIDE_INT)ival <= 0xffffffff")))
+
(define_constraint "K"
"8 bit signed immediate for logical instructions"
(and (match_code "const_int")