]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Tue, 3 Sep 2002 18:01:23 +0000 (18:01 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 3 Sep 2002 18:01:23 +0000 (18:01 +0000)
* pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
Delete macros.

From-SVN: r56764

gcc/ChangeLog
gcc/config/pa/pa32-regs.h

index cba1d65237a7915937cebc81c6038b8b3b3e3e5d..7fd9b8047a52231e26e9e78add93e9ee7e983612 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
+       Delete macros.
+
 2002-09-03   Arati Dikey  <aratid@kpit.com>
 
        * h8300.c (asm_file_start): Corrected optimization comment.
index 19553c95f38d34e1610e823e5a3d38b9b10483a8..f5c6aaa615c77c9e39244e0dec63a518db0ae899 100644 (file)
@@ -249,16 +249,7 @@ enum reg_class { NO_REGS, R1_REGS, GENERAL_REGS, FPUPPER_REGS, FP_REGS,
   {0x00000000, 0x00000000, 0x01000000},        /* SHIFT_REGS */                \
   {0xfffffffe, 0xffffffff, 0x01ffffff}}        /* ALL_REGS */
 
-/* This may not actually be necessary anymore.  But until I can prove
-   otherwise it will stay.  */
-#define CLASS_CANNOT_CHANGE_MODE       NO_REGS
-
-/* Defines illegal mode changes for CLASS_CANNOT_CHANGE_MODE.  */
-#define CLASS_CANNOT_CHANGE_MODE_P(FROM,TO) \
-  (GET_MODE_SIZE (FROM) != GET_MODE_SIZE (TO))
-
-/* The same information, inverted:
-   Return the class number of the smallest class containing
+/* Return the class number of the smallest class containing
    reg number REGNO.  This could be a conditional expression
    or could index an array.  */