openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

x86: Implement crc32c helper function

Open BradleyWood opened this issue 1 year ago • 14 comments

BradleyWood avatar May 22 '24 19:05 BradleyWood

@0xdaryl Please check the changes.

In addition to your comments, I have ifdef'd this code to 64-bit only with no 32-bit implementation.

As a reminder, this depends on eclipse/omr#7342

BradleyWood avatar May 23 '24 15:05 BradleyWood

I have ifdef'd this code to 64-bit only with no 32-bit implementation.

Your OMR PR adds a 32-bit helper which isn't initialized by this PR.

0xdaryl avatar May 23 '24 18:05 0xdaryl

I have ifdef'd this code to 64-bit only with no 32-bit implementation.

Your OMR PR adds a 32-bit helper which isn't initialized by this PR.

It does not compile without a placeholder.

Edit: Does j9 need to care about that if it doesn't implement it?

BradleyWood avatar May 23 '24 18:05 BradleyWood

Sorry, what doesn't compile? It should build if the 32-bit helper wasn't added in OMR.

0xdaryl avatar May 23 '24 18:05 0xdaryl

Nevermind that comment, I removed the 32-bit declaration in omr

BradleyWood avatar May 23 '24 19:05 BradleyWood

Other than fixing the formatting, are there any other changes pending?

0xdaryl avatar Jun 04 '24 14:06 0xdaryl

Other than fixing the formatting, are there any other changes pending?

I don't think so

BradleyWood avatar Jun 04 '24 19:06 BradleyWood

Jenkins test sanity xlinux,win,xmac jdk17

0xdaryl avatar Jun 05 '24 00:06 0xdaryl

Please see CI build failure on X86Codert.nasm.

0xdaryl avatar Jun 05 '24 01:06 0xdaryl

@0xdaryl You can try this change. I'm not sure it will work because I don't know the exact assembler version used in jenkins. Can you make sure this PR doesn't break 32-bit builds?

BradleyWood avatar Jun 06 '24 00:06 BradleyWood

Jenkins test sanity xlinux,win,xmac jdk17

0xdaryl avatar Jun 06 '24 16:06 0xdaryl

Can you make sure this PR doesn't break 32-bit builds?

~~This is something you can run on the internal axxon farm with SDK 8.~~

Actually, nm. You have the assembler function ifdef'd out for 32-bit

0xdaryl avatar Jun 06 '24 16:06 0xdaryl

Jenkins test sanity xlinux,win,xmac jdk21

0xdaryl avatar Aug 15 '24 17:08 0xdaryl

Jenkins test sanity xlinux jdk21

0xdaryl avatar Aug 16 '24 19:08 0xdaryl

Rebased (no changes)

BradleyWood avatar Apr 02 '25 16:04 BradleyWood