host-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are consid...
authorGeoffrey Keating <geoffk@apple.com>
Tue, 7 Jun 2005 08:23:43 +0000 (08:23 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Tue, 7 Jun 2005 08:23:43 +0000 (08:23 +0000)
* config/rs6000/host-darwin.c (segv_handler): Widen the possible
'stwux' instructions that are considered to be stack decrements.

From-SVN: r100701

gcc/ChangeLog
gcc/config/rs6000/host-darwin.c

index c5d60e8902533d76cf6dbd0b88ed3db3a454db5b..356b35e6c8c3a5fb98a2789b126f691de2d6a11e 100644 (file)
@@ -1,5 +1,8 @@
 2005-06-07  Geoffrey Keating  <geoffk@apple.com>
 
+       * config/rs6000/host-darwin.c (segv_handler): Widen the possible
+       'stwux' instructions that are considered to be stack decrements.
+
        * rtlanal.c (subreg_offset_representable_p): Handle objects
        with holes.
 
index ca32cffb465ca61546733dd2f5be3e6562d84914..ac46e5871f4c6a67460587a881cef692fbdccb61 100644 (file)
@@ -73,7 +73,7 @@ segv_handler (int sig ATTRIBUTE_UNUSED,
      this.  */
 
   if ((faulting_insn & 0xFFFF8000) == 0x94218000  /* stwu %r1, -xxx(%r1) */
-      || (faulting_insn & 0xFFFF03FF) == 0x7C21016E /* stwux %r1, xxx, %r1 */
+      || (faulting_insn & 0xFC1F03FF) == 0x7C01016E /* stwux xxx, %r1, xxx */
       || (faulting_insn & 0xFC1F8000) == 0x90018000 /* stw xxx, -yyy(%r1) */
       || (faulting_insn & 0xFC1F8000) == 0xD8018000 /* stfd xxx, -yyy(%r1) */
       || (faulting_insn & 0xFC1F8000) == 0xBC018000 /* stmw xxx, -yyy(%r1) */)