aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-03-21 18:22:42 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2005-03-21 18:22:42 +0000
commit12a8ee3350b1402fd15c8c1a29957ceeb4e487ba (patch)
treecf785270cd2a52bc023dc30f357caa4f6ead4b3f /gcc/config
parente9bbd9d70730a74f0c43b36961897c23d3dbdce4 (diff)
downloadgcc-12a8ee3350b1402fd15c8c1a29957ceeb4e487ba.zip
gcc-12a8ee3350b1402fd15c8c1a29957ceeb4e487ba.tar.gz
gcc-12a8ee3350b1402fd15c8c1a29957ceeb4e487ba.tar.bz2
lib1funcs.asm (__mulsi3): Use symbolic name for ACCLO.
* config/xtensa/lib1funcs.asm (__mulsi3): Use symbolic name for ACCLO. * config/xtensa/xtensa.md (movsi_internal, movhi_internal, movqi_internal): Likewise. From-SVN: r96826
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/xtensa/lib1funcs.asm4
-rw-r--r--gcc/config/xtensa/xtensa.md12
2 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/xtensa/lib1funcs.asm b/gcc/config/xtensa/lib1funcs.asm
index 2df0021..b73f1f7 100644
--- a/gcc/config/xtensa/lib1funcs.asm
+++ b/gcc/config/xtensa/lib1funcs.asm
@@ -123,9 +123,9 @@ __mulsi3:
#elif XCHAL_HAVE_MAC16
mul.aa.hl a2, a3
mula.aa.lh a2, a3
- rsr a5, 16 # ACCLO
+ rsr a5, ACCLO
umul.aa.ll a2, a3
- rsr a4, 16 # ACCLO
+ rsr a4, ACCLO
slli a5, a5, 16
add a2, a4, a5
diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md
index 8d93db0..5074651 100644
--- a/gcc/config/xtensa/xtensa.md
+++ b/gcc/config/xtensa/xtensa.md
@@ -884,8 +884,8 @@
%v1l32r\t%0, %1
%v1l32i\t%0, %1
%v0s32i\t%1, %0
- rsr\t%0, 16 # ACCLO
- wsr\t%1, 16 # ACCLO"
+ rsr\t%0, ACCLO
+ wsr\t%1, ACCLO"
[(set_attr "type" "move,move,move,load,store,store,move,move,move,move,load,load,store,rsr,wsr")
(set_attr "mode" "SI")
(set_attr "length" "2,2,2,2,2,2,3,3,3,6,3,3,3,3,3")])
@@ -912,8 +912,8 @@
movi\t%0, %x1
%v1l16ui\t%0, %1
%v0s16i\t%1, %0
- rsr\t%0, 16 # ACCLO
- wsr\t%1, 16 # ACCLO"
+ rsr\t%0, ACCLO
+ wsr\t%1, ACCLO"
[(set_attr "type" "move,move,move,move,load,store,rsr,wsr")
(set_attr "mode" "HI")
(set_attr "length" "2,2,3,3,3,3,3,3")])
@@ -940,8 +940,8 @@
movi\t%0, %x1
%v1l8ui\t%0, %1
%v0s8i\t%1, %0
- rsr\t%0, 16 # ACCLO
- wsr\t%1, 16 # ACCLO"
+ rsr\t%0, ACCLO
+ wsr\t%1, ACCLO"
[(set_attr "type" "move,move,move,move,load,store,rsr,wsr")
(set_attr "mode" "QI")
(set_attr "length" "2,2,3,3,3,3,3,3")])