From: Hariharan Sandanagobalane Date: Fri, 9 Jul 2010 12:18:46 +0000 (+0000) Subject: picochip.md (commsTestPort): Emit more efficient sequence for tstport instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=099379da2635c4d50d720bfae3ba66af8cd3d218;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ee8a697370..6d64c97fbdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-09 Hariharan Sandanagobalane + + * config/picochip/picochip.md (commsTestPort): Emit more + efficient sequence for tstport instruction. + 2010-07-09 Uros Bizjak * config/i386/i386.c (ix86_veclib_handler): Make static. diff --git a/gcc/config/picochip/picochip.md b/gcc/config/picochip/picochip.md index 66323dda0c7..3a12a3d0a3d 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