OSDN Git Service

2010-04-12 Kaushik Phatak<kaushik.phatak@kpitcummins.com>
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 15:24:07 +0000 (15:24 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 15:24:07 +0000 (15:24 +0000)
  * config/h8300/predicate.md (bit_operand): Allow immediate values that
  satisfy 'U' constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158429 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/predicates.md

index a50a6ac..6a33b1f 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-12  Kaushik Phatak<kaushik.phatak@kpitcummins.com>
+
+       * config/h8300/predicate.md (bit_operand): Allow immediate values that
+       satisfy 'U' constraint.
+
 2010-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx
 2010-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx
index 2f5a60a..ea6c071 100644 (file)
 {
   /* We can accept any nonimmediate operand, except that MEM operands must
      be limited to those that use addresses valid for the 'U' constraint.  */
 {
   /* We can accept any nonimmediate operand, except that MEM operands must
      be limited to those that use addresses valid for the 'U' constraint.  */
-  if (!nonimmediate_operand (op, mode))
+  if (!nonimmediate_operand (op, mode) && !OK_FOR_U (op))
     return 0;
 
   /* H8SX accepts pretty much anything here.  */
     return 0;
 
   /* H8SX accepts pretty much anything here.  */