Commit 3a4edb44 by Richard Earnshaw Committed by Richard Earnshaw

re PR target/5170 (Supicious code in arm.md)

PR target/5170
* arm.md (split pattern for thumb shiftable immediates): Add comment
explaining non-obvious test.

From-SVN: r50814
parent 32defa36
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
PR target/5170
* arm.md (split pattern for thumb shiftable immediates): Add comment
explaining non-obvious test.
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
PR target/5712
* arm.md (movaddr, movaddr_insn): Delete.
......
......@@ -4124,6 +4124,7 @@
if ((val & (mask << i)) == val)
break;
/* Shouldn't happen, but we don't want to split if the shift is zero. */
if (i == 0)
FAIL;
......
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