RFR: JDK-8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
rkennke at redhat.com
Tue Sep 25 08:23:05 UTC 2018
Thanks for reviewing, Tobias!
> Hi Roman,
> this looks good to me.
> Best regards,
> On 25.09.2018 09:19, Roman Kennke wrote:
>> Involving hotspot-compiler-dev...
>>> Some tests fail with:
>>> # Internal Error
>>> pid=5051, tid=5055
>>> # Error: assert(VM_Version::supports_sse4_1()) failed
>>> When running hotspot/jtreg:tier1 on my ThreadRipper 1950X box. On my
>>> Intel box, this works fine. It looks like it attempts to generate
>>> fast_sha1 stubs, which use Assembler::pinsrd() but then runs into
>>> The failing tier1 tests are:
>>> The failing tests seem to disable SSE4 or SSE altogether and check if it
>>> still compiles fine. This does not go well for the SHA1 and SHA256 stubs
>>> because they use SSE4.1 instructions. It seems that it compiles on my
>>> Intel box because that doesn't support_sha(), and thus disables those
>>> intrinsics altogether.
>>> The proposed fix is to check for SSE4.1 present before enabling the
>>> affected intrinsics.
>>> Testing: hotspot/jtreg:tier1 failed before, now passes
More information about the hotspot-dev