multiplyHigh?
Andrew Haley
aph at redhat.com
Tue Sep 19 16:04:33 UTC 2017
On 19/09/17 15:26, Schmidt, Lutz wrote:
> there is interest from these guys at SAP as well. I would volunteer to cover ppc and s390, once the initial implementation is available. Any ETA guess on that? I’m not pushing, just to get an idea.
If you have a definition for MulHiL, you can use the same code
for all targets. You don't have to wait for the intrinsic to be
written. For reference, Aarch64 is:
instruct mulHiL_rReg(iRegLNoSp dst, iRegL src1, iRegL src2, rFlagsReg cr)
%{
match(Set dst (MulHiL src1 src2));
ins_cost(INSN_COST * 7);
format %{ "smulh $dst, $src1, $src2, \t# mulhi" %}
ins_encode %{
__ smulh(as_Register($dst$$reg),
as_Register($src1$$reg),
as_Register($src2$$reg));
%}
ins_pipe(lmul_reg_reg);
%}
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-compiler-dev
mailing list