diff options
author | Hariharan Sandanagobalane <hariharan@picochip.com> | 2010-07-09 12:18:46 +0000 |
---|---|---|
committer | Hariharan Sandanagobalane <hariharans@gcc.gnu.org> | 2010-07-09 12:18:46 +0000 |
commit | 099379da2635c4d50d720bfae3ba66af8cd3d218 (patch) | |
tree | be9b23ce2e4ba624ff1b0980b069fc13d0e28c45 | |
parent | f55a7cbc2c540a15d3059823d85f879d6bc05b45 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/picochip/picochip.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ee8a69..6d64c97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-09 Hariharan Sandanagobalane <hariharan@picochip.com> + + * config/picochip/picochip.md (commsTestPort): Emit more + efficient sequence for tstport instruction. + 2010-07-09 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (ix86_veclib_handler): Make static. 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 |