277 lines
7.8 KiB
Plaintext
277 lines
7.8 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=i686-apple-darwin9 | FileCheck %s
|
|
# CHECK: loadiwkey %xmm2, %xmm3
|
|
0xf3 0x0f 0x38 0xdc 0xda
|
|
|
|
# CHECK: loadiwkey %xmm2, %xmm6
|
|
0xf3 0x0f 0x38 0xdc 0xf2
|
|
|
|
# CHECK: encodekey128 %eax, %ebx
|
|
0xf3 0x0f 0x38 0xfa 0xd8
|
|
|
|
# CHECK: encodekey128 %eax, %edx
|
|
0xf3 0x0f 0x38 0xfa 0xd0
|
|
|
|
# CHECK: encodekey256 %eax, %ebx
|
|
0xf3 0x0f 0x38 0xfb 0xd8
|
|
|
|
# CHECK: encodekey256 %eax, %edx
|
|
0xf3 0x0f 0x38 0xfb 0xd0
|
|
|
|
# CHECK: aesenc128kl 126(%edx), %xmm2
|
|
0xf3 0x0f 0x38 0xdc 0x52 0x7e
|
|
|
|
# CHECK: aesdec128kl 126(%edx), %xmm2
|
|
0xf3 0x0f 0x38 0xdd 0x52 0x7e
|
|
|
|
# CHECK: aesenc256kl 126(%edx), %xmm2
|
|
0xf3 0x0f 0x38 0xde 0x52 0x7e
|
|
|
|
# CHECK: aesdec256kl 126(%edx), %xmm2
|
|
0xf3 0x0f 0x38 0xdf 0x52 0x7e
|
|
|
|
# CHECK: aesencwide128kl (%ebx)
|
|
0xf3 0x0f 0x38 0xd8 0x03
|
|
|
|
# CHECK: aesencwide128kl 126(%edx)
|
|
0xf3 0x0f 0x38 0xd8 0x42 0x7e
|
|
|
|
# CHECK: aesdecwide128kl (%ebx)
|
|
0xf3 0x0f 0x38 0xd8 0x0b
|
|
|
|
# CHECK: aesdecwide128kl 126(%edx)
|
|
0xf3 0x0f 0x38 0xd8 0x4a 0x7e
|
|
|
|
# CHECK: aesencwide256kl (%ebx)
|
|
0xf3 0x0f 0x38 0xd8 0x13
|
|
|
|
# CHECK: aesencwide256kl 126(%edx)
|
|
0xf3 0x0f 0x38 0xd8 0x52 0x7e
|
|
|
|
# CHECK: aesdecwide256kl (%ebx)
|
|
0xf3 0x0f 0x38 0xd8 0x1b
|
|
|
|
# CHECK: aesdecwide256kl 126(%edx)
|
|
0xf3 0x0f 0x38 0xd8 0x5a 0x7e
|
|
|
|
# CHECK: aesdec128kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdec128kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdec128kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x10
|
|
|
|
# CHECK: aesdec128kl -1536(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x14,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesdec128kl 6096(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x91,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesdec128kl -6144(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x92,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesdec256kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdec256kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdec256kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x10
|
|
|
|
# CHECK: aesdec256kl -2048(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x14,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesdec256kl 8128(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x91,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesdec256kl -8192(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x92,0x00,0xe0,0xff,0xff
|
|
|
|
# CHECK: aesenc128kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesenc128kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesenc128kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x10
|
|
|
|
# CHECK: aesenc128kl -1536(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x14,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesenc128kl 6096(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x91,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesenc128kl -6144(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x92,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesenc256kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesenc256kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesenc256kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x10
|
|
|
|
# CHECK: aesenc256kl -2048(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x14,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesenc256kl 8128(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x91,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesenc256kl -8192(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x92,0x00,0xe0,0xff,0xff
|
|
|
|
# CHECK: loadiwkey %xmm3, %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0xd3
|
|
|
|
# CHECK: aesdec128kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdec128kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdec128kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x10
|
|
|
|
# CHECK: aesdec128kl -1536(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x14,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesdec128kl 6096(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x91,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesdec128kl -6144(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdd,0x92,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesdec256kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdec256kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdec256kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x10
|
|
|
|
# CHECK: aesdec256kl -2048(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x14,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesdec256kl 8128(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x91,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesdec256kl -8192(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdf,0x92,0x00,0xe0,0xff,0xff
|
|
|
|
# CHECK: aesenc128kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesenc128kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesenc128kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x10
|
|
|
|
# CHECK: aesenc128kl -1536(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x14,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesenc128kl 6096(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x91,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesenc128kl -6144(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0x92,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesenc256kl 268435456(%esp,%esi,8), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesenc256kl 291(%edi,%eax,4), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesenc256kl (%eax), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x10
|
|
|
|
# CHECK: aesenc256kl -2048(,%ebp,2), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x14,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesenc256kl 8128(%ecx), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x91,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesenc256kl -8192(%edx), %xmm2
|
|
0xf3,0x0f,0x38,0xde,0x92,0x00,0xe0,0xff,0xff
|
|
|
|
# CHECK: loadiwkey %xmm3, %xmm2
|
|
0xf3,0x0f,0x38,0xdc,0xd3
|
|
|
|
# CHECK: aesdecwide128kl 268435456(%esp,%esi,8)
|
|
0xf3,0x0f,0x38,0xd8,0x8c,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdecwide128kl 291(%edi,%eax,4)
|
|
0xf3,0x0f,0x38,0xd8,0x8c,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdecwide128kl (%eax)
|
|
0xf3,0x0f,0x38,0xd8,0x08
|
|
|
|
# CHECK: aesdecwide128kl -1536(,%ebp,2)
|
|
0xf3,0x0f,0x38,0xd8,0x0c,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesdecwide128kl 6096(%ecx)
|
|
0xf3,0x0f,0x38,0xd8,0x89,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesdecwide128kl -6144(%edx)
|
|
0xf3,0x0f,0x38,0xd8,0x8a,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesdecwide256kl 268435456(%esp,%esi,8)
|
|
0xf3,0x0f,0x38,0xd8,0x9c,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesdecwide256kl 291(%edi,%eax,4)
|
|
0xf3,0x0f,0x38,0xd8,0x9c,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesdecwide256kl (%eax)
|
|
0xf3,0x0f,0x38,0xd8,0x18
|
|
|
|
# CHECK: aesdecwide256kl -2048(,%ebp,2)
|
|
0xf3,0x0f,0x38,0xd8,0x1c,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesdecwide256kl 8128(%ecx)
|
|
0xf3,0x0f,0x38,0xd8,0x99,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesdecwide256kl -8192(%edx)
|
|
0xf3,0x0f,0x38,0xd8,0x9a,0x00,0xe0,0xff,0xff
|
|
|
|
# CHECK: aesencwide128kl 268435456(%esp,%esi,8)
|
|
0xf3,0x0f,0x38,0xd8,0x84,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesencwide128kl 291(%edi,%eax,4)
|
|
0xf3,0x0f,0x38,0xd8,0x84,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesencwide128kl (%eax)
|
|
0xf3,0x0f,0x38,0xd8,0x00
|
|
|
|
# CHECK: aesencwide128kl -1536(,%ebp,2)
|
|
0xf3,0x0f,0x38,0xd8,0x04,0x6d,0x00,0xfa,0xff,0xff
|
|
|
|
# CHECK: aesencwide128kl 6096(%ecx)
|
|
0xf3,0x0f,0x38,0xd8,0x81,0xd0,0x17,0x00,0x00
|
|
|
|
# CHECK: aesencwide128kl -6144(%edx)
|
|
0xf3,0x0f,0x38,0xd8,0x82,0x00,0xe8,0xff,0xff
|
|
|
|
# CHECK: aesencwide256kl 268435456(%esp,%esi,8)
|
|
0xf3,0x0f,0x38,0xd8,0x94,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: aesencwide256kl 291(%edi,%eax,4)
|
|
0xf3,0x0f,0x38,0xd8,0x94,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: aesencwide256kl (%eax)
|
|
0xf3,0x0f,0x38,0xd8,0x10
|
|
|
|
# CHECK: aesencwide256kl -2048(,%ebp,2)
|
|
0xf3,0x0f,0x38,0xd8,0x14,0x6d,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: aesencwide256kl 8128(%ecx)
|
|
0xf3,0x0f,0x38,0xd8,0x91,0xc0,0x1f,0x00,0x00
|
|
|
|
# CHECK: aesencwide256kl -8192(%edx)
|
|
0xf3,0x0f,0x38,0xd8,0x92,0x00,0xe0,0xff,0xff
|