more on 17107

Nathan Sidwell nathan@codesourcery.com
Wed Nov 17 16:41:00 GMT 2004


Here is an example of the sCOND expanders being inconsistent.
Signed greater-than generates a branch sequence (because the sgt expander
is disabled on non-power arches).  Unsigned greater-than generates an
extraction from the CCR (because the sgtu expander is not disabled).
One of these sequences, with the appropriate comparision instruction, must
be better for *both* signed and unsigned greater than -- which one is it?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17107-a.i
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041117/03f262e3/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17107-a-unpatched.s
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041117/03f262e3/attachment-0001.ksh>


More information about the Gcc mailing list