i386.md: Use gen_lowpart instead of gen_rtx_REG for copying a register.
* config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG for copying a register. From-SVN: r63280
This commit is contained in:
parent
b65538149b
commit
1e2115dcc0
@ -1,3 +1,8 @@
|
||||
2003-02-22 Josef Zlomek <zlomekj@suse.cz>
|
||||
|
||||
* config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
|
||||
for copying a register.
|
||||
|
||||
2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
|
||||
|
||||
PR other/3782
|
||||
|
@ -9911,7 +9911,7 @@
|
||||
[(parallel [(set (match_dup 0) (xor:SI (match_dup 0) (match_dup 1)))
|
||||
(clobber (reg:CC 17))])]
|
||||
"operands[1] = gen_int_mode (0x80000000, SImode);
|
||||
operands[0] = gen_rtx_REG (SImode, REGNO (operands[0]));")
|
||||
operands[0] = gen_lowpart (SImode, operands[0]);")
|
||||
|
||||
(define_split
|
||||
[(set (match_operand 0 "memory_operand" "")
|
||||
@ -10384,7 +10384,7 @@
|
||||
[(parallel [(set (match_dup 0) (and:SI (match_dup 0) (match_dup 1)))
|
||||
(clobber (reg:CC 17))])]
|
||||
"operands[1] = gen_int_mode (~0x80000000, SImode);
|
||||
operands[0] = gen_rtx_REG (SImode, REGNO (operands[0]));")
|
||||
operands[0] = gen_lowpart (SImode, operands[0]);")
|
||||
|
||||
(define_split
|
||||
[(set (match_operand 0 "memory_operand" "")
|
||||
@ -13913,7 +13913,7 @@
|
||||
(match_dup 2))]
|
||||
{
|
||||
operands[4] = gen_rtx_REG (GET_MODE (operands[0]), 17);
|
||||
operands[5] = gen_rtx_REG (QImode, REGNO (operands[3]));
|
||||
operands[5] = gen_lowpart (QImode, operands[3]);
|
||||
ix86_expand_clear (operands[3]);
|
||||
})
|
||||
|
||||
@ -13935,7 +13935,7 @@
|
||||
(match_dup 2))]
|
||||
{
|
||||
operands[4] = gen_rtx_REG (GET_MODE (operands[0]), 17);
|
||||
operands[5] = gen_rtx_REG (QImode, REGNO (operands[3]));
|
||||
operands[5] = gen_lowpart (QImode, operands[3]);
|
||||
ix86_expand_clear (operands[3]);
|
||||
})
|
||||
|
||||
@ -17766,7 +17766,7 @@
|
||||
[(parallel [(set (match_dup 2) (const_int 0))
|
||||
(clobber (reg:CC 17))])
|
||||
(set (match_dup 0) (match_dup 1))]
|
||||
"operands[2] = gen_rtx_REG (SImode, true_regnum (operands[1]));")
|
||||
"operands[2] = gen_lowpart (SImode, operands[1]);")
|
||||
|
||||
(define_peephole2
|
||||
[(match_scratch:QI 1 "q")
|
||||
@ -17780,7 +17780,7 @@
|
||||
[(parallel [(set (match_dup 2) (const_int 0))
|
||||
(clobber (reg:CC 17))])
|
||||
(set (match_dup 0) (match_dup 1))]
|
||||
"operands[2] = gen_rtx_REG (SImode, true_regnum (operands[1]));")
|
||||
"operands[2] = gen_lowpart (SImode, operands[1]);")
|
||||
|
||||
(define_peephole2
|
||||
[(match_scratch:SI 2 "r")
|
||||
@ -18035,8 +18035,8 @@
|
||||
&& peep2_regno_dead_p (0, FLAGS_REG)"
|
||||
[(parallel [(set (match_dup 0) (const_int 0))
|
||||
(clobber (reg:CC 17))])]
|
||||
"operands[0] = gen_rtx_REG (GET_MODE (operands[0]) == DImode ? DImode : SImode,
|
||||
true_regnum (operands[0]));")
|
||||
"operands[0] = gen_lowpart (GET_MODE (operands[0]) == DImode ? DImode : SImode,
|
||||
operands[0]);")
|
||||
|
||||
(define_peephole2
|
||||
[(set (strict_low_part (match_operand 0 "register_operand" ""))
|
||||
@ -18059,8 +18059,8 @@
|
||||
&& peep2_regno_dead_p (0, FLAGS_REG)"
|
||||
[(parallel [(set (match_dup 0) (const_int -1))
|
||||
(clobber (reg:CC 17))])]
|
||||
"operands[0] = gen_rtx_REG (GET_MODE (operands[0]) == DImode ? DImode : SImode,
|
||||
true_regnum (operands[0]));")
|
||||
"operands[0] = gen_lowpart (GET_MODE (operands[0]) == DImode ? DImode : SImode,
|
||||
operands[0]);")
|
||||
|
||||
;; Attempt to convert simple leas to adds. These can be created by
|
||||
;; move expanders.
|
||||
|
Loading…
Reference in New Issue
Block a user