[PATCH] D68121: [X86] Model MXCSR for all SSE instructions
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 01:42:50 PDT 2019
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/X86/evex-to-vex-compress.mir:2317
$xmm0 = VMOVZPQILo2PQIZrr $xmm0
- ; CHECK: VCOMISDrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VCOMISDZrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VCOMISDrr_Int $xmm0, $xmm1, implicit-def $eflags
- VCOMISDZrr_Int $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VCOMISSrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VCOMISSZrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VCOMISSrr_Int $xmm0, $xmm1, implicit-def $eflags
- VCOMISSZrr_Int $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VUCOMISDrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VUCOMISDZrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VUCOMISDrr_Int $xmm0, $xmm1, implicit-def $eflags
- VUCOMISDZrr_Int $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VUCOMISSrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VUCOMISSZrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VUCOMISSrr_Int $xmm0, $xmm1, implicit-def $eflags
- VUCOMISSZrr_Int $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VCOMISDrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VCOMISDZrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VCOMISDrr $xmm0, $xmm1, implicit-def $eflags
- VCOMISDZrr $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VCOMISSrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VCOMISSZrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VCOMISSrr $xmm0, $xmm1, implicit-def $eflags
- VCOMISSZrr $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VUCOMISDrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VUCOMISDZrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VUCOMISDrr $xmm0, $xmm1, implicit-def $eflags
- VUCOMISDZrr $xmm0, $xmm1, implicit-def $eflags
- ; CHECK: VUCOMISSrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- VUCOMISSZrm $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags
- ; CHECK: VUCOMISSrr $xmm0, $xmm1, implicit-def $eflags
- VUCOMISSZrr $xmm0, $xmm1, implicit-def $eflags
+ ; CHECK: VCOMISDrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags, implicit $mxcsr
+ VCOMISDZrm_Int $xmm0, $rdi, 1, $noreg, 0, $noreg, implicit-def $eflags, implicit $mxcsr
----------------
Why are only COMI instructions updated?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68121/new/
https://reviews.llvm.org/D68121
More information about the llvm-commits
mailing list