------- Comment #1 from ubizjak at gmail dot com  2010-08-16 10:19 -------
(In reply to comment #0)
> This is a friendly reminder there's still no way to enjoy pextrw without undue
> zero/sign extension unless inline asm is used; there's even a gradient of
> ignominy from intrinsic to builtins, as exemplified by:

GCC does not simplify following instruction:

Trying 8 -> 9:
Failed to match this instruction:
(set (reg:DI 65 [ D.6814 ])
    (sign_extend:DI (sign_extend:SI (reg:HI 64))))

IMO, this RTX should simplify to:

(set (reg:DI 65 [ D.6814 ])
    (sign_extend:DI (reg:HI 64)))


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45294

Reply via email to