Commit db624ecb by Kaushik Phatak Committed by Jeff Law

predicate.md (bit_operand): Allow immediate values that satisfy 'U' constraint.

2010-04-12  Kaushik Phatak<kaushik.phatak@kpitcummins.com>

 	* config/h8300/predicate.md (bit_operand): Allow immediate values that
 	satisfy 'U' constraint.

From-SVN: r158429
parent 86060344
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
......
......@@ -326,7 +326,7 @@
{
/* 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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment