Re: [PATCH] aarch64: name the saturating narrow patterns after the sstrunc and ustrunc optabs
Wilco Dijkstra <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <PAWPR08MB89824AF7AD21FAF85503AB7B83A52@PAWPR08MB8982.eurprd08.prod.outlook.com> |
Hi Kyrill, > vect_recog_sat_trunc_pattern only forms .SAT_TRUNC when the target has the > sstrunc or ustrunc optab for the mode pair, and the backend had neither, even > though aarch64_<su>qmovn<mode> already matches exactly the RTL those optabs > describe. A saturating narrowing loop was therefore vectorised as a pair of > lamps and a permute: > Bootstrapped and tested on aarch64-none-linux-gnu. > Ok for trunk? OK Cheers, Wilco