-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed as not planned
Closed as not planned
Copy link
Labels
backend:X86bugzillaIssues migrated from bugzillaIssues migrated from bugzillaobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Description
Bugzilla Link | 42319 |
Version | trunk |
OS | Windows NT |
Depends On | #35330 |
Blocks | #40374 |
CC | @topperc,@efriedma-quic,@gnzlbg,@zmodem,@jyknight,@RKSimon,@nico,@rjmccall,@rnk,@rotateright |
Extended Description
As discussed on https://reviews.llvm.org/D59744, we currently have no way to automatically separate MMX and x87 instructions - we rely on manual insertion of _mm_empty() (EMMS) intrinsics.
Ideally we need something like the X86VZeroUpper pass which can recognise when MMX/X87 instructions have been used, insert EMMS/FEMMS instructions where appropriate and ensure that MMX/X87 ops don't cross the barrier (see Bug #35982).
Given the high cost of EMMS, we may want to make this pass opt-in - for example only enable it by default for the i386 ABI change (see Bug #41029).
Metadata
Metadata
Assignees
Labels
backend:X86bugzillaIssues migrated from bugzillaIssues migrated from bugzillaobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM