aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorHariharan Sandanagobalane <hariharan@picochip.com>2010-07-09 12:18:46 +0000
committerHariharan Sandanagobalane <hariharans@gcc.gnu.org>2010-07-09 12:18:46 +0000
commit099379da2635c4d50d720bfae3ba66af8cd3d218 (patch)
treebe9b23ce2e4ba624ff1b0980b069fc13d0e28c45 /gcc/config
parentf55a7cbc2c540a15d3059823d85f879d6bc05b45 (diff)
downloadgcc-099379da2635c4d50d720bfae3ba66af8cd3d218.zip
gcc-099379da2635c4d50d720bfae3ba66af8cd3d218.tar.gz
gcc-099379da2635c4d50d720bfae3ba66af8cd3d218.tar.bz2
picochip.md (commsTestPort): Emit more efficient sequence for tstport instruction.
* config/picochip/picochip.md (commsTestPort): Emit more efficient sequence for tstport instruction. From-SVN: r161996
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/picochip/picochip.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/picochip/picochip.md b/gcc/config/picochip/picochip.md
index 66323dd..3a12a3d 100644
--- a/gcc/config/picochip/picochip.md
+++ b/gcc/config/picochip/picochip.md
@@ -2372,7 +2372,7 @@
UNSPEC_TESTPORT))
(clobber (reg:CC CC_REGNUM))]
""
- "// %0 := TestPort(%1)\;TSTPORT %1\;COPYSW.0 %0\;AND.0 %0,8,%0"
+ "// %0 := TestPort(%1)\;COPY.1 0,%0 \\\ TSTPORT %1\;COPYEQ 1,%0"
[(set_attr "length" "9")])
; Entry point for array tstport (the actual port index is computed as the