Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement relaxed simd operations on x86 #295

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

zherczeg
Copy link
Collaborator

Also contains some fixes for non-avx code paths

simdEmitSSEOp(compiler, SimdOp::cvttps2dq, dst, args[0].arg);
break;
case ByteCode::I32X4RelaxedTruncF32X4UOpcode:
simdEmitTruncSatF32x4U(compiler, dst, args[0].arg, instr->requiredReg(1));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not simplify it, since x86 has no unsigned conversion. There might some simplification if somebody can figure that out.

Also contains some fixes for non-avx code paths

Signed-off-by: Zoltan Herczeg [email protected]
Copy link
Collaborator

@clover2123 clover2123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@clover2123 clover2123 merged commit 72ff900 into Samsung:main Oct 17, 2024
13 checks passed
@zherczeg zherczeg deleted the relaxed_simd_x86 branch October 17, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants