s390.md (movsi): Only use floating point register alternatives when operands are already fprs.

* config/s390/s390.md (movsi): Only use floating point
	register alternatives when operands are already fprs.
	(movdi_31, movdi_64): Likewise.

From-SVN: r54506
This commit is contained in:
Ulrich Weigand 2002-06-11 14:47:04 +00:00 committed by Ulrich Weigand
parent e9024f7f38
commit df14489af1
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.md (movsi): Only use floating point
register alternatives when operands are already fprs.
(movdi_31, movdi_64): Likewise.
2002-06-11 David S. Miller <davem@redhat.com>
* emit-rtl.c (try_split): Do not abort on non-INSN_P.

View File

@ -947,8 +947,8 @@
(set_attr "atype" "mem")])
(define_insn "*movdi_64"
[(set (match_operand:DI 0 "nonimmediate_operand" "=d,d,m,f,f,m")
(match_operand:DI 1 "general_operand" "d,m,d,f,m,f"))]
[(set (match_operand:DI 0 "nonimmediate_operand" "=d,d,m,!*f,!*f,!m")
(match_operand:DI 1 "general_operand" "d,m,d,*f,m,*f"))]
"TARGET_64BIT"
"@
lgr\\t%0,%1
@ -961,8 +961,8 @@
(set_attr "atype" "reg,mem,mem,reg,mem,mem")])
(define_insn "*movdi_31"
[(set (match_operand:DI 0 "nonimmediate_operand" "=d,Q,d,m,f,f,m")
(match_operand:DI 1 "general_operand" "Q,d,dKm,d,f,m,f"))]
[(set (match_operand:DI 0 "nonimmediate_operand" "=d,Q,d,m,!*f,!*f,!m")
(match_operand:DI 1 "general_operand" "Q,d,dKm,d,*f,m,*f"))]
"!TARGET_64BIT"
"@
lm\\t%0,%N0,%1
@ -1100,8 +1100,8 @@
(set_attr "atype" "mem")])
(define_insn "*movsi"
[(set (match_operand:SI 0 "nonimmediate_operand" "=d,d,m,f,f,m")
(match_operand:SI 1 "general_operand" "d,m,d,f,m,f"))]
[(set (match_operand:SI 0 "nonimmediate_operand" "=d,d,m,!*f,!*f,!m")
(match_operand:SI 1 "general_operand" "d,m,d,*f,m,*f"))]
""
"@
lr\\t%0,%1