constraints.md ('I', 'J'): Fix condition.

2009-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/constraints.md ('I', 'J'): Fix condition.

From-SVN: r146730
This commit is contained in:
Andreas Krebbel 2009-04-24 14:51:17 +00:00 committed by Andreas Krebbel
parent 35c53992fd
commit 6d131ea41f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/constraints.md ('I', 'J'): Fix condition.
2009-04-24 Paolo Bonzini <bonzini@gnu.org>
PR middle-end/39867

View File

@ -129,13 +129,13 @@
(define_constraint "I"
"An 8-bit constant (0..255)"
(and (match_code "const_int")
(match_test "(unsigned int) ival <= 255")))
(match_test "(unsigned HOST_WIDE_INT) ival <= 255")))
(define_constraint "J"
"A 12-bit constant (0..4095)"
(and (match_code "const_int")
(match_test "(unsigned int) ival <= 4095")))
(match_test "(unsigned HOST_WIDE_INT) ival <= 4095")))
(define_constraint "K"