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/vax Fix evil bitfield bug.



details:   https://anonhg.NetBSD.org/src/rev/522d192196b2
branches:  trunk
changeset: 472202:522d192196b2
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun Apr 25 00:10:44 1999 +0000

description:
Fix evil bitfield bug.

diffstat:

 gnu/dist/gcc/config/vax/vax.md |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (23 lines):

diff -r 3056e9712b88 -r 522d192196b2 gnu/dist/gcc/config/vax/vax.md
--- a/gnu/dist/gcc/config/vax/vax.md    Sun Apr 25 00:00:05 1999 +0000
+++ b/gnu/dist/gcc/config/vax/vax.md    Sun Apr 25 00:10:44 1999 +0000
@@ -1641,18 +1641,7 @@
   ""
   "*
 {
-  if (GET_CODE (operands[0]) != REG || GET_CODE (operands[2]) != CONST_INT
-      || GET_CODE (operands[3]) != CONST_INT
-      || INTVAL (operands[2]) + INTVAL (operands[3]) > 32
-      || side_effects_p (operands[1])
-      || (GET_CODE (operands[1]) == MEM
-         && mode_dependent_address_p (XEXP (operands[1], 0))))
-    return \"extzv %3,%2,%1,%0\";
-  if (INTVAL (operands[2]) == 8)
-    return \"rotl %R3,%1,%0\;movzbl %0,%0\";
-  if (INTVAL (operands[2]) == 16)
-    return \"rotl %R3,%1,%0\;movzwl %0,%0\";
-  return \"rotl %R3,%1,%0\;bicl2 %M2,%0\";
+  return \"extzv %3,%2,%1,%0\";
 }")
 
 (define_expand "insv"



Home | Main Index | Thread Index | Old Index