Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gcc/config/arm Patch from Richard Earnshaw to work ...



details:   https://anonhg.NetBSD.org/src/rev/7f6dbf09e3dc
branches:  trunk
changeset: 472731:7f6dbf09e3dc
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed May 05 22:02:58 1999 +0000

description:
Patch from Richard Earnshaw to work around the ldrb label-movement problem.

diffstat:

 gnu/dist/gcc/config/arm/arm.md |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r af5b507a54fe -r 7f6dbf09e3dc gnu/dist/gcc/config/arm/arm.md
--- a/gnu/dist/gcc/config/arm/arm.md    Wed May 05 21:35:15 1999 +0000
+++ b/gnu/dist/gcc/config/arm/arm.md    Wed May 05 22:02:58 1999 +0000
@@ -2109,14 +2109,12 @@
 [(set_attr "length" "8")])
 
 (define_insn "zero_extendqidi2"
-  [(set (match_operand:DI 0 "s_register_operand" "=r,r")
-       (zero_extend:DI (match_operand:QI 1 "nonimmediate_operand" "r,m")))]
-  ""
-  "@
-   and%?\\t%Q0, %1, #255\;mov%?\\t%R0, #0
-   ldr%?b\\t%Q0, %1\;mov%?\\t%R0, #0"
+  [(set (match_operand:DI 0 "s_register_operand" "=r")
+       (zero_extend:DI (match_operand:QI 1 "s_register_operand" "r")))]
+  ""
+  "and%?\\t%Q0, %1, #255\;mov%?\\t%R0, #0"
 [(set_attr "length" "8")
- (set_attr "type" "*,load")])
+ (set_attr "type" "*")])
 
 (define_insn "extendsidi2"
   [(set (match_operand:DI 0 "s_register_operand" "=r")



Home | Main Index | Thread Index | Old Index