mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a3d65c2594
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
99 lines
2.9 KiB
ArmAsm
99 lines
2.9 KiB
ArmAsm
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: prefetchnta -485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x84,0x82,0x10,0xe3,0x0f,0xe3]
|
|
prefetchnta -485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetchnta 485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
prefetchnta 485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetchnta 485498096(%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
prefetchnta 485498096(%edx)
|
|
|
|
// CHECK: prefetchnta 485498096
|
|
// CHECK: encoding: [0x0f,0x18,0x05,0xf0,0x1c,0xf0,0x1c]
|
|
prefetchnta 485498096
|
|
|
|
// CHECK: prefetchnta 64(%edx,%eax)
|
|
// CHECK: encoding: [0x0f,0x18,0x44,0x02,0x40]
|
|
prefetchnta 64(%edx,%eax)
|
|
|
|
// CHECK: prefetchnta (%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x02]
|
|
prefetchnta (%edx)
|
|
|
|
// CHECK: prefetcht0 -485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
|
|
prefetcht0 -485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht0 485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht0 485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht0 485498096(%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x8a,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht0 485498096(%edx)
|
|
|
|
// CHECK: prefetcht0 485498096
|
|
// CHECK: encoding: [0x0f,0x18,0x0d,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht0 485498096
|
|
|
|
// CHECK: prefetcht0 64(%edx,%eax)
|
|
// CHECK: encoding: [0x0f,0x18,0x4c,0x02,0x40]
|
|
prefetcht0 64(%edx,%eax)
|
|
|
|
// CHECK: prefetcht0 (%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x0a]
|
|
prefetcht0 (%edx)
|
|
|
|
// CHECK: prefetcht1 -485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x94,0x82,0x10,0xe3,0x0f,0xe3]
|
|
prefetcht1 -485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht1 485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht1 485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht1 485498096(%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x92,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht1 485498096(%edx)
|
|
|
|
// CHECK: prefetcht1 485498096
|
|
// CHECK: encoding: [0x0f,0x18,0x15,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht1 485498096
|
|
|
|
// CHECK: prefetcht1 64(%edx,%eax)
|
|
// CHECK: encoding: [0x0f,0x18,0x54,0x02,0x40]
|
|
prefetcht1 64(%edx,%eax)
|
|
|
|
// CHECK: prefetcht1 (%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x12]
|
|
prefetcht1 (%edx)
|
|
|
|
// CHECK: prefetcht2 -485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
|
|
prefetcht2 -485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht2 485498096(%edx,%eax,4)
|
|
// CHECK: encoding: [0x0f,0x18,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht2 485498096(%edx,%eax,4)
|
|
|
|
// CHECK: prefetcht2 485498096(%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x9a,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht2 485498096(%edx)
|
|
|
|
// CHECK: prefetcht2 485498096
|
|
// CHECK: encoding: [0x0f,0x18,0x1d,0xf0,0x1c,0xf0,0x1c]
|
|
prefetcht2 485498096
|
|
|
|
// CHECK: prefetcht2 64(%edx,%eax)
|
|
// CHECK: encoding: [0x0f,0x18,0x5c,0x02,0x40]
|
|
prefetcht2 64(%edx,%eax)
|
|
|
|
// CHECK: prefetcht2 (%edx)
|
|
// CHECK: encoding: [0x0f,0x18,0x1a]
|
|
prefetcht2 (%edx)
|
|
|