[Bug target/92658] x86 lacks vector extend / truncate

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 25 10:32:15 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658

--- Comment #22 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Hongtao.liu from comment #21)
> Add define_code_attr like aarch64/iterators.md?
> 
> ----------
> ;; Map rtl objects to optab names
> (define_code_attr optab [(ashift "ashl")
> 			 (ashiftrt "ashr")
> 			 (lshiftrt "lshr")
> 			 (rotatert "rotr")
> 			 (sign_extend "extend")
> 			 (zero_extend "zero_extend")

Yes. Please go ahead, the patch is preapproved.


More information about the Gcc-bugs mailing list