[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK: cmovael %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x43,0xed]
|
|
|
|
cmovael %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmoval %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x47,0xed]
|
|
|
|
cmoval %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovbel %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x46,0xed]
|
|
|
|
cmovbel %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovbl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x42,0xed]
|
|
|
|
cmovbl %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovel %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x44,0xed]
|
|
|
|
cmovel %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovgel %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4d,0xed]
|
|
|
|
cmovgel %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovgl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4f,0xed]
|
|
|
|
cmovgl %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovlel %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4e,0xed]
|
|
|
|
cmovlel %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovll %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4c,0xed]
|
|
|
|
cmovll %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovnel %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x45,0xed]
|
|
|
|
cmovnel %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovnol %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x41,0xed]
|
|
|
|
cmovnol %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovnpl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4b,0xed]
|
|
|
|
cmovnpl %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovnsl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x49,0xed]
|
|
|
|
cmovnsl %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovol %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x40,0xed]
|
|
|
|
cmovol %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovpl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x4a,0xed]
|
|
|
|
cmovpl %r13d, %r13d
|
|
|
|
|
|
|
|
// CHECK: cmovsl %r13d, %r13d
|
|
|
|
// CHECK: encoding: [0x45,0x0f,0x48,0xed]
|
|
|
|
cmovsl %r13d, %r13d
|
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovbe %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xda,0xd4]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovbe %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovb %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xda,0xc4]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovb %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmove %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xda,0xcc]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmove %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovnbe %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xdb,0xd4]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovnbe %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovnb %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xdb,0xc4]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovnb %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovne %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xdb,0xcc]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovne %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovnu %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xdb,0xdc]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovnu %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
2019-02-04 05:15:10 +01:00
|
|
|
// CHECK: fcmovu %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
// CHECK: encoding: [0xda,0xdc]
|
2019-02-04 05:15:10 +01:00
|
|
|
fcmovu %st(4), %st
|
[X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets.<NFC>
NFC.
Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets.
This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
Started in revision: https://reviews.llvm.org/D39952
Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper
Differential Revision: https://reviews.llvm.org/D40879
Change-Id: I231a35861611bfd3d23c74cc59507373f021a629
llvm-svn: 322544
2018-01-16 12:33:45 +01:00
|
|
|
|
|
|
|
// CHECK: fcomi %st(4)
|
|
|
|
// CHECK: encoding: [0xdb,0xf4]
|
|
|
|
fcomi %st(4)
|
|
|
|
|
|
|
|
// CHECK: fcompi %st(4)
|
|
|
|
// CHECK: encoding: [0xdf,0xf4]
|
|
|
|
fcompi %st(4)
|
|
|
|
|
|
|
|
// CHECK: fucomi %st(4)
|
|
|
|
// CHECK: encoding: [0xdb,0xec]
|
|
|
|
fucomi %st(4)
|
|
|
|
|
|
|
|
// CHECK: fucompi %st(4)
|
|
|
|
// CHECK: encoding: [0xdf,0xec]
|
|
|
|
fucompi %st(4)
|
|
|
|
|
|
|
|
// CHECK: sysenter
|
|
|
|
// CHECK: encoding: [0x0f,0x34]
|
|
|
|
sysenter
|
|
|
|
|
|
|
|
// CHECK: sysexitl
|
|
|
|
// CHECK: encoding: [0x0f,0x35]
|
|
|
|
sysexitl
|
|
|
|
|
|
|
|
// CHECK: sysexitq
|
|
|
|
// CHECK: encoding: [0x48,0x0f,0x35]
|
|
|
|
sysexitq
|
|
|
|
|
|
|
|
// CHECK: ud2
|
|
|
|
// CHECK: encoding: [0x0f,0x0b]
|
|
|
|
ud2
|
|
|
|
|