RFR: 8285868: x86 intrinsics for floating point method isInfinite [v13]
Srinivas Vamsi Parasa
duke at openjdk.java.net
Wed Jun 1 20:26:38 UTC 2022
On Wed, 1 Jun 2022 16:11:37 GMT, Srinivas Vamsi Parasa <duke at openjdk.java.net> wrote:
>> src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp line 5335:
>>
>>> 5333:
>>> 5334: void C2_MacroAssembler::double_class_check_vfp(int opcode, Register dst, XMMRegister src, KRegister tmp) {
>>> 5335: uint8_t imm8;
>>
>> May be ok to move it back to instruction encoding block , only two instructions.
>
> That's true. The two instructions can be put in the instruction encoding block. Will do that.
Also, in future if we want to add the support for isFinite() and IsNaN(), wouldn't it be better to have seperate macros?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8459
More information about the hotspot-compiler-dev
mailing list