[X86] AMD Zen 3: AVX XMM moves are zero-cycle

I've verified this with llvm-exegesis.
This is not limited to zero registers.
This commit is contained in:
Roman Lebedev 2021-05-07 16:23:38 +03:00
parent 9db4203883
commit ee020b930d
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
2 changed files with 1246 additions and 1220 deletions

View File

@ -1474,10 +1474,12 @@ def : IsOptimizableRegisterMove<[
// SSE variants.
MOVAPSrr, MOVUPSrr,
MOVAPDrr, MOVUPDrr,
MOVDQArr, MOVDQUrr
MOVDQArr, MOVDQUrr,
// AVX variants.
// FIXME
VMOVAPSrr, VMOVUPSrr,
VMOVAPDrr, VMOVUPDrr,
VMOVDQArr, VMOVDQUrr
], TruePred >
]>;