Re: [PATCH] [MIPS] Replace insert with insve for floating-point values

2019-10-28 Thread Jeff Law
On 10/11/19 6:01 AM, Mihailo Stojanovic wrote: > Currently, when a function argument of type double gets loaded into a > vector register on a 32-bit target, it is firstly reloaded into two > general purpose registers, and then loaded into a vector register using > two insert.w instructions. > > Th

[PATCH] [MIPS] Replace insert with insve for floating-point values

2019-10-11 Thread Mihailo Stojanovic
Currently, when a function argument of type double gets loaded into a vector register on a 32-bit target, it is firstly reloaded into two general purpose registers, and then loaded into a vector register using two insert.w instructions. This patch swaps the two insert.w instructions with one insve