jlb6740 commented on Issue #2320:
Hopefully all issues have been addressed, but let me know if there is anything else.
bnjbvr commented on Issue #2320:
LGTM, see comments. @cfallin, any thoughts on a way to determine what SSE features are available during lowering?
X64Backendhas ax64_flagsfield which contains this information, e.g.has_sse42()(as derived from the meta, x64 target-specific settings file); you could access it by changing slightly the signature oflower_insn_to_regsand passing it theself.x64_flagsnext to theself.flags.
jlb6740 commented on Issue #2320:
LGTM, see comments. @cfallin, any thoughts on a way to determine what SSE features are available during lowering?
X64Backendhas ax64_flagsfield which contains this information, e.g.has_sse42()(as derived from the meta, x64 target-specific settings file); you could access it by changing slightly the signature oflower_insn_to_regsand passing it theself.x64_flagsnext to theself.flags.Looks like it is already a parameter, it's just a matter of using it.
jlb6740 deleted a comment on Issue #2320:
LGTM, see comments. @cfallin, any thoughts on a way to determine what SSE features are available during lowering?
X64Backendhas ax64_flagsfield which contains this information, e.g.has_sse42()(as derived from the meta, x64 target-specific settings file); you could access it by changing slightly the signature oflower_insn_to_regsand passing it theself.x64_flagsnext to theself.flags.Looks like it is already a parameter, it's just a matter of using it.
Last updated: Dec 06 2025 at 06:05 UTC