Re: [PATCH v2] Leveraging the use of STP instruction for vec_duplicate

2023-04-21 Thread Richard Sandiford via Gcc-patches
"Victor L. Do Nascimento" writes: > The backend pattern for storing a pair of identical values in 32 and > 64-bit modes with the machine instruction STP was missing, and > multiple instructions were needed to reproduce this behavior as a > result of failed RTL pattern match in the combine pass. >

[PATCH v2] Leveraging the use of STP instruction for vec_duplicate

2023-04-19 Thread Victor L. Do Nascimento via Gcc-patches
The backend pattern for storing a pair of identical values in 32 and 64-bit modes with the machine instruction STP was missing, and multiple instructions were needed to reproduce this behavior as a result of failed RTL pattern match in the combine pass. For the test case: typedef long long v2di _