(R5900) Implementing Vector Support
Woon yung Liu
ysai187@yahoo.com
Sat May 14 10:21:00 GMT 2016
Hi,
On Thursday, May 12, 2016 2:50 AM, Richard Henderson <rth@redhat.com> wrote:
> Of course. They're used for different things. E.g.
Thanks.
> Yes I would think they should be expands. I would expect something like
Thank you for the sample code.
I'll be trying to implement those patterns, although I think that I will have to adjust the constraints and predicates again because the PMULTH instruction requires access to the whole LO and HI registers (0...128).
The current constraints allow GCC to access the 64-bit LO+HI register pair as a single 128-bit register, so I am cheating by using both the x and wr (new constraint for LO1+HI1) constraints.
Hopefully, the addition of such a multiplication pattern that involves parallel multiplication operations will not result in many more obscure problems. :/
Thanks and regards,
-W Y
More information about the Gcc
mailing list