Skip to content

Commit 19f625d

Browse files
author
Claudiu Zissulescu
committed
Update extendhisi2_i instruction pattern
1 parent 573db6c commit 19f625d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

gcc/ChangeLog.ARC

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2013-04-03 Claudiu Zissulescu <[email protected]>
2+
3+
* config/arc/arc.md (*extendhisi2_i): Update pattern, use Ucd.
4+
15
2013-04-02 Claudiu Zissulescu <[email protected]>
26

37
* config/arc/arc.c (arc_mode_dependent_address_p): Update

gcc/config/arc/arc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@
671671
; N.B. operand 1 of alternative 7 expands into pcl,symbol@gotpc .
672672
(define_insn "*movsi_insn" ; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
673673
[(set (match_operand:SI 0 "move_dest_operand" "=Rcq,Rcq#q, w, W, w,w, w,???w, ?w, w,Rcq#q, w,Rcq, S, Us<,RcqRck,!*x,!*Rsd,!*Rcd, r,Usd, m,???m,VUsc,VUsc")
674-
(match_operand:SI 1 "move_src_operand" "cL, cP,Rcq#q,WCm1,cL,I,Crr,?Rac,Cpc,Clb, ?Cal,?Cal,Uts,Rcq,RcqRck, Us>,Usd, Usd,Ucd, m,!*x, c,?Rac, Cm3, C32"))]
674+
(match_operand:SI 1 "move_src_operand" "cL, cP,Rcq#q,WCm1,cL,I,Crr,?Rac,Cpc,Clb, ?Cal,?Cal,Uts,Rcq,RcqRck, Us>,Usd, Usd, Ucd, m,!*x, c,?Rac, Cm3, C32"))]
675675
"register_operand (operands[0], SImode)
676676
|| register_operand (operands[1], SImode)
677677
|| (CONSTANT_P (operands[1])
@@ -1553,7 +1553,7 @@
15531553

15541554
(define_insn "*extendhisi2_i"
15551555
[(set (match_operand:SI 0 "dest_reg_operand" "=Rcqq,w,Rcqq,r")
1556-
(sign_extend:SI (match_operand:HI 1 "nonvol_nonimm_operand" "Rcqq,c, T,m")))]
1556+
(sign_extend:SI (match_operand:HI 1 "nonvol_nonimm_operand" "Rcqq,c, Ucd,m")))]
15571557
""
15581558
"*
15591559
switch (which_alternative)
@@ -1563,7 +1563,7 @@
15631563
case 1:
15641564
return TARGET_V2 ? \"sexh %0,%1\" : \"sexw %0,%1\";
15651565
case 2:
1566-
return \"ldh%?.x %0, %1\";
1566+
return \"ldh%?.x %0,%1\";
15671567
case 3:
15681568
return TARGET_V2 ? \"ldh.x%U1%V1 %0,%1\" : \"ldw.x%U1%V1 %0,%1\";
15691569
default:

0 commit comments

Comments
 (0)