Commit 93b69d0f by Jeffrey A Law Committed by Jeff Law

pa.md (zvdep_imm32): Renamed from zvdep_imm.

        * pa.md (zvdep_imm32): Renamed from zvdep_imm.
        (ashlsi3): Corresponding changes.

From-SVN: r28343
parent 6fda0f5b
Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com) Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
* pa.md (zvdep_imm32): Renamed from zvdep_imm.
(ashlsi3): Corresponding changes.
* pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands. * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com) Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
......
...@@ -3881,7 +3881,7 @@ ...@@ -3881,7 +3881,7 @@
rtx temp = gen_reg_rtx (SImode); rtx temp = gen_reg_rtx (SImode);
emit_insn (gen_subsi3 (temp, GEN_INT (31), operands[2])); emit_insn (gen_subsi3 (temp, GEN_INT (31), operands[2]));
if (GET_CODE (operands[1]) == CONST_INT) if (GET_CODE (operands[1]) == CONST_INT)
emit_insn (gen_zvdep_imm (operands[0], operands[1], temp)); emit_insn (gen_zvdep_imm32 (operands[0], operands[1], temp));
else else
emit_insn (gen_zvdep32 (operands[0], operands[1], temp)); emit_insn (gen_zvdep32 (operands[0], operands[1], temp));
DONE; DONE;
...@@ -3900,10 +3900,10 @@ ...@@ -3900,10 +3900,10 @@
[(set_attr "type" "shift") [(set_attr "type" "shift")
(set_attr "length" "4")]) (set_attr "length" "4")])
; Match cases of op1 a CONST_INT here that zvdep_imm doesn't handle. ; Match cases of op1 a CONST_INT here that zvdep_imm32 doesn't handle.
; Doing it like this makes slightly better code since reload can ; Doing it like this makes slightly better code since reload can
; replace a register with a known value in range -16..15 with a ; replace a register with a known value in range -16..15 with a
; constant. Ideally, we would like to merge zvdep32 and zvdep_imm, ; constant. Ideally, we would like to merge zvdep32 and zvdep_imm32,
; but since we have no more CONST_OK... characters, that is not ; but since we have no more CONST_OK... characters, that is not
; possible. ; possible.
(define_insn "zvdep32" (define_insn "zvdep32"
...@@ -3918,7 +3918,7 @@ ...@@ -3918,7 +3918,7 @@
[(set_attr "type" "shift,shift") [(set_attr "type" "shift,shift")
(set_attr "length" "4,4")]) (set_attr "length" "4,4")])
(define_insn "zvdep_imm" (define_insn "zvdep_imm32"
[(set (match_operand:SI 0 "register_operand" "=r") [(set (match_operand:SI 0 "register_operand" "=r")
(ashift:SI (match_operand:SI 1 "lhs_lshift_cint_operand" "") (ashift:SI (match_operand:SI 1 "lhs_lshift_cint_operand" "")
(minus:SI (const_int 31) (minus:SI (const_int 31)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment