]> gcc.gnu.org Git - gcc.git/commitdiff
* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
authorJeffrey A Law <law@cygnus.com>
Sat, 10 Mar 2001 01:37:39 +0000 (01:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 10 Mar 2001 01:37:39 +0000 (18:37 -0700)
From-SVN: r40359

gcc/ChangeLog
gcc/config/pa/pa.md

index 467cfd18e6add134ef92a8b0771c911b20fd817e..3dc3ebda21f1c097a3223d888aebe9fcb68c6529 100644 (file)
@@ -1,3 +1,7 @@
+Fri Mar  9 18:39:19 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
+
 2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>
 
        * configure: Rebuilt.
index 9143a6bc6cbcaac2eb508512eed1643131b20671..514b7f1dff932d46ef63ae94ab796a580448f648 100644 (file)
 {
   /* The elements of the buffer are, in order:  */
   rtx fp = gen_rtx_MEM (Pmode, operands[0]);
-  rtx lab = gen_rtx_MEM (Pmode, plus_constant (operands[0], 4));
-  rtx stack = gen_rtx_MEM (Pmode, plus_constant (operands[0], 8));
+  rtx lab = gen_rtx_MEM (Pmode, plus_constant (operands[0],
+                        POINTER_SIZE / BITS_PER_UNIT));
+  rtx stack = gen_rtx_MEM (Pmode, plus_constant (operands[0],
+                          (POINTER_SIZE * 2) / BITS_PER_UNIT));
   rtx pv = gen_rtx_REG (Pmode, 1);
 
   /* This bit is the same as expand_builtin_longjmp.  */
This page took 0.089697 seconds and 5 git commands to generate.