*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Wed, 20 May 1992 17:23:18 +0000 (17:23 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 20 May 1992 17:23:18 +0000 (17:23 +0000)
From-SVN: r1029

gcc/config/pa/pa.h

index 036bb72df2c04a8128c17a115979af5c10d2c709..50d4818f19b05931383c449e98dc9f70e8bd38b6 100644 (file)
@@ -749,7 +749,7 @@ HP9000/800 immediate field sizes:
 /* Arguments larger than eight bytes are passed by invisible reference */
 
 #define FUNCTION_ARG_PASS_BY_REFERENCE(CUM, MODE, TYPE, NAMED)         \
-  ((TYPE) ? int_size_in_bytes (TYPE) > 8 : GET_MODE_SIZE (MODE) > 8)
+  ((TYPE) && int_size_in_bytes (TYPE) > 8)
 \f
 extern struct rtx_def *hppa_compare_op0, *hppa_compare_op1;
 extern enum cmp_type hppa_branch_type;
@@ -1317,8 +1317,12 @@ while (0)
 /* Compute extra cost of moving data between one register class
    and another.  */
 #define REGISTER_MOVE_COST(CLASS1, CLASS2) \
-  (((CLASS1 == FP_REGS && CLASS2 == GENERAL_REGS) \
-    || (CLASS1 == GENERAL_REGS && CLASS2 == FP_REGS)) ? 6 : 2)
+ ((((CLASS1 == FP_REGS || CLASS1 == SNAKE_FP_REGS      \
+     || CLASS1 == HI_SNAKE_FP_REGS)                    \
+    && (CLASS2 == R1_REGS | CLASS2 == GENERAL_REGS))   \
+   || ((CLASS2 == R1_REGS | CLASS1 == GENERAL_REGS)    \
+       && (CLASS2 == FP_REGS || CLASS2 == SNAKE_FP_REGS        \
+          || CLASS2 == HI_SNAKE_FP_REGS))) ? 6 : 2)    
 
 /* Provide the costs of a rtl expression.  This is in the body of a
    switch on CODE.  The purpose for the cost of MULT is to encourage
@@ -1634,13 +1638,16 @@ do { fprintf (FILE, "\t.SPACE $PRIVATE$\n\
       output_operand (XEXP (addr, 0), 0);                              \
       fputs (")", FILE);                                               \
       break;                                                           \
+    case CONST_INT:                                                    \
+      fprintf (FILE, "%d(0,0)", INTVAL (addr));                                \
+      break;                                                           \
     default:                                                           \
       output_addr_const (FILE, addr);                                  \
     }}
 
 \f
 #define SMALL_INT(OP) INT_14_BITS (OP)
-/* Define functions in hppa.c and used in insn-output.c.  */
+/* Define functions in pa.c and used in insn-output.c.  */
 
 extern char *output_move_double ();
 extern char *output_fp_move_double ();