-
Notifications
You must be signed in to change notification settings - Fork 415
Add safeguard check for SIMD ops support #6558
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
Conversation
|
@joransiu Can I please get your review on these change? Slight background behind the change. The function FYI @gita-omr |
joransiu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks good, though setSupportsVectorRegisters() is only done in OpenJ9 right now. That logic should be migrated to OMR proper, so OMR based projects can benefit too.
|
@joransiu I agree. I am still trying to understand the reason behind initializing those flags in [1]. https://github.com/eclipse-openj9/openj9/blob/3d06b2f9c2c60e7655ec1beb6d6708fe5acf0642/runtime/compiler/z/codegen/S390PrivateLinkage.cpp#L104-L113 |
|
@joransiu I have opened up OMR issue to work on migrating setting of those flags to OMR (#6572). Planning to work on that in coming weeks but as we are planning to start testing on VectorAPI, I do want to get this safeguard in to make sure we do not accidentally generate SIMD nodes on platform without vector facilities installed. |
|
@0xdaryl Can I request you to launch tests on this PR and if you are OK with it, merge as well? |
This commit adds a check to getSupportsOpCodeForAutoSIMD to make sure that SIMD opcode is supported only when we have support for Vector instructions. Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
|
Jenkins build zlinux,zos |
This commit adds a check to getSupportsOpCodeForAutoSIMD to make sure
that SIMD opcode is supported only when we have support for Vector
instructions.
Signed-off-by: Rahil Shah rahil@ca.ibm.com