1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/X86/SSEMXCSR-32.s
Craig Topper a3d65c2594 [X86][SSE]: Adding full coverage of MC encoding tests for the SSE isa sets.<NFC>
Summary:
NFC.
Adding MC regressions tests to cover all the SSE ISA sets as follows:
SSE, SSE2, SSE3, SSE4, SSE42, SSEMXCSR, SSE_PREFETCH, SSSE3

This patch is part of a larger task to cover MC encoding of all X86 ISA Sets.
See revision: https://reviews.llvm.org/D39952

Patch by Gadi Haber and Wang Tianqing

Reviewers: RKSimon, zvi, craig.topper, AndreiGrischenko, gadi.haber, LuoYuanke

Reviewed By: craig.topper

Subscribers: jfb, llvm-commits

Differential Revision: https://reviews.llvm.org/D40387

llvm-svn: 352955
2019-02-02 06:21:54 +00:00

51 lines
1.4 KiB
ArmAsm

// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: ldmxcsr -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0xae,0x94,0x82,0x10,0xe3,0x0f,0xe3]
ldmxcsr -485498096(%edx,%eax,4)
// CHECK: ldmxcsr 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0xae,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
ldmxcsr 485498096(%edx,%eax,4)
// CHECK: ldmxcsr 485498096(%edx)
// CHECK: encoding: [0x0f,0xae,0x92,0xf0,0x1c,0xf0,0x1c]
ldmxcsr 485498096(%edx)
// CHECK: ldmxcsr 485498096
// CHECK: encoding: [0x0f,0xae,0x15,0xf0,0x1c,0xf0,0x1c]
ldmxcsr 485498096
// CHECK: ldmxcsr 64(%edx,%eax)
// CHECK: encoding: [0x0f,0xae,0x54,0x02,0x40]
ldmxcsr 64(%edx,%eax)
// CHECK: ldmxcsr (%edx)
// CHECK: encoding: [0x0f,0xae,0x12]
ldmxcsr (%edx)
// CHECK: stmxcsr -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0xae,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
stmxcsr -485498096(%edx,%eax,4)
// CHECK: stmxcsr 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0xae,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
stmxcsr 485498096(%edx,%eax,4)
// CHECK: stmxcsr 485498096(%edx)
// CHECK: encoding: [0x0f,0xae,0x9a,0xf0,0x1c,0xf0,0x1c]
stmxcsr 485498096(%edx)
// CHECK: stmxcsr 485498096
// CHECK: encoding: [0x0f,0xae,0x1d,0xf0,0x1c,0xf0,0x1c]
stmxcsr 485498096
// CHECK: stmxcsr 64(%edx,%eax)
// CHECK: encoding: [0x0f,0xae,0x5c,0x02,0x40]
stmxcsr 64(%edx,%eax)
// CHECK: stmxcsr (%edx)
// CHECK: encoding: [0x0f,0xae,0x1a]
stmxcsr (%edx)