This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/45336] pextr{b,w,d}, (worse than) redundant extensions



------- Comment #6 from tbptbp at gmail dot com  2010-08-19 19:21 -------
Subject: Re:  pextr{b,w,d}, (worse than) redundant extensions

Thank you very much for this neat patch, Jakub.
Alas, in this case, zero extension would be suboptimal and any sign
extension simply wrong: i ask for a 64bit something, pextr{b,w,d}
already zero extends.

What i have trouble understanding is why there is so much inertia
fixing builtins (to match hardware and return, say, an unsigned
byte/short/int) when nobody's supposed to use those builtins but GCC
itself. I bet you could then still have those corresponding intrinsics
sign extend, even if no one's actually doing that, not even ICC.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]