* config/picochip/picochip.md (commsTestPort): Emit more efficient sequence
authorhariharans <hariharans@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 2010 12:18:46 +0000 (12:18 +0000)
committerhariharans <hariharans@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 2010 12:18:46 +0000 (12:18 +0000)
    for tstport instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161996 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/picochip/picochip.md

index 7ee8a69..6d64c97 100644 (file)
@@ -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.
index 66323dd..3a12a3d 100644 (file)
                   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