------- Comment #3 from jeff_wegher at yahoo dot com 2010-06-09 05:03 ------- Sure, non-optimized code generates a lot of instructions that aren't strictly needed. This one seemed a little beyond that to me.
Just so I understand then... By design, __builtin*_pcmpestri and __builtin*_pcmpestrm both generate the same pair of opcodes to calculate both the index and the mask and then allow the optimizer to remove the value that isn't used? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44472