*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Sun, 15 Mar 1992 21:41:07 +0000 (21:41 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 15 Mar 1992 21:41:07 +0000 (21:41 +0000)
From-SVN: r494

gcc/config/sparc/sparc.md

index 20cfca86614a5955b539bf0c820322349c57513d..c43cdb2c0693ff14802948e11fb06f1ca597cf61 100644 (file)
   ""
   "
 {
-  if (GET_CODE (operands[2]) == CONST_INT
-      && GET_CODE (operands[3]) == CONST_INT
-      && INTVAL (operands[2]) / INTVAL (operands[3]) > 32)
+  /* If the size isn't known, don't emit inline code.  output_block_move
+     would output code that's much slower than the library function.
+     Also don't output code for large blocks.  */
+  if (GET_CODE (operands[2]) != CONST_INT
+      || GET_CODE (operands[3]) != CONST_INT
+      || INTVAL (operands[2]) / INTVAL (operands[3]) > 16)
     FAIL;
 
   operands[0] = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
 {
   rtx op2 = operands[2];
 
-  /* If constant is positive, upper bits zeroed, otherwise unchanged
-   * give the assembler a chance to pick the move instruction. */
+  /* If constant is positive, upper bits zeroed, otherwise unchanged.
+     Give the assembler a chance to pick the move instruction. */
   if (GET_CODE (op2) == CONST_INT)
     {
       int sign = INTVAL (op2);
 {
   rtx op2 = operands[2];
 
-  /* If constant is positive, upper bits zeroed, otherwise unchanged
-  /* If constant is positive, upper bits zeroed, otherwise unchanged
+  /* If constant is positive, upper bits zeroed, otherwise unchanged.
+     Give the assembler a chance to pick the move instruction. */
   if (GET_CODE (op2) == CONST_INT)
     {
       int sign = INTVAL (op2);
 {
   rtx op2 = operands[2];
 
-  /* If constant is positive, upper bits zeroed, otherwise unchanged
-   * give the assembler a chance to pick the move instruction. */
+  /* If constant is positive, upper bits zeroed, otherwise unchanged.
+     Give the assembler a chance to pick the move instruction. */
   if (GET_CODE (op2) == CONST_INT)
     {
       int sign = INTVAL (op2);
 {
   rtx op2 = operands[2];
 
-  /* If constant is positive, upper bits zeroed, otherwise unchanged
-   * give the assembler a chance to pick the move instruction. */
+  /* If constant is positive, upper bits zeroed, otherwise unchanged.
+     Give the assembler a chance to pick the move instruction. */
   if (GET_CODE (op2) == CONST_INT)
     {
       int sign = INTVAL (op2);
 {
   rtx op2 = operands[2];
 
-  /* If constant is postive, upper bits zeroed, otherwise unchanged
-   * give the assembler a chance to pick the move instruction. */
+  /* If constant is postive, upper bits zeroed, otherwise unchanged.
+     Give the assembler a chance to pick the move instruction. */
   if (GET_CODE (op2) == CONST_INT)
     {
       int sign = INTVAL (op2);