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?
X64Backend
has ax64_flags
field 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_regs
and passing it theself.x64_flags
next 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?
X64Backend
has ax64_flags
field 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_regs
and passing it theself.x64_flags
next 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?
X64Backend
has ax64_flags
field 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_regs
and passing it theself.x64_flags
next to theself.flags
.Looks like it is already a parameter, it's just a matter of using it.
Last updated: Dec 23 2024 at 13:07 UTC