Source-Changes-HG archive

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

[src/netbsd-1-4]: src/gnu/dist/gcc/config/vax pullup 1.5->1.6 (ragge): fix bi...



details:   https://anonhg.NetBSD.org/src/rev/37ccd6cd3660
branches:  netbsd-1-4
changeset: 468471:37ccd6cd3660
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 26 15:40:38 1999 +0000

description:
pullup 1.5->1.6 (ragge): fix bitfield access bug

diffstat:

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

diffs (23 lines):

diff -r 3727f7303fdf -r 37ccd6cd3660 gnu/dist/gcc/config/vax/vax.md
--- a/gnu/dist/gcc/config/vax/vax.md    Mon Apr 26 15:34:30 1999 +0000
+++ b/gnu/dist/gcc/config/vax/vax.md    Mon Apr 26 15:40:38 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