[Bug target/31420] CONSTRAINT_LEN is slow on i?86, x86_64
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 1 17:15:00 GMT 2007
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-04-01 18:15 -------
Created an attachment (id=13316)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13316&action=view)
other patch
And an inlined variant producing
static inline size_t
insn_constraint_len_s (char fc, const char *str ATTRIBUTE_UNUSED)
{
switch (fc)
{
case 'Y':
return 2;
break;
default: break;
}
return 1;
}
for i?86. Looking at other ports the worst case is s390 which has A* and
B* two-letter constraints.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31420
More information about the Gcc-bugs
mailing list