Fix a typo in arm_print_operand.
authorBernd Schmidt <bernds@cygnus.co.uk>
Thu, 22 Jul 1999 13:40:14 +0000 (13:40 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Thu, 22 Jul 1999 13:40:14 +0000 (13:40 +0000)
From-SVN: r28219

gcc/ChangeLog
gcc/config/arm/arm.c

index f27596e24b58a28200ad81ff893a72bde6a602ae..ce5ddaea9cebe901bc472b8f5b38c73ea15d26a7 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
+       (use NUM_REGS instead of NUM_INTS).
+
 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
        * builtins.c: New file.
index a0945b302ef10299b04dbcd361b5784e1b6c191c..2f1e7d9a1dfecfe044f53669ed238ee649583cac 100644 (file)
@@ -6104,7 +6104,7 @@ arm_print_operand (stream, x, code)
     case 'M':
       asm_fprintf (stream, "{%R%s-%R%s}",
                   reg_names[REGNO (x)],
-                  reg_names[REGNO (x) + NUM_INTS (GET_MODE (x)) - 1]);
+                  reg_names[REGNO (x) + NUM_REGS (GET_MODE (x)) - 1]);
       return;
 
     case 'd':