[Bug tree-optimization/98856] [12/13/14/15 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

liuhongt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 24 05:48:19 GMT 2024


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

--- Comment #48 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #47)
> Created attachment 58746 [details]
> Accoate v2di with GPR
> 
> The attached patch can allocated V2DI with GPR to avoid spill.
> 

@Uros Is it a good idea to make GPR available for all 128-bit vector with

1) extend *movti_internal to all 128-bit vectors,  extend related splitter to
handle movement between GPR and SSE_REG, extend split_double_mode to handle
movement between GPR and GPR
2) Adjust ix86_hard_regno_mode_ok to make GPR available for all 128-bit vector
3) inline_secondary_memory_needed need to be adjust since now we support
movement between GPR and SSE for 16-bytes vector.


More information about the Gcc-bugs mailing list