1 # RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s 2 3 # CHECK: int $33 4 0xCD 0x21 5 6 # CHECK: int $33 7 0xCD 0x21 8 9 10 # CHECK: addb %al, (%rax) 11 0 0 12 13 # CHECK: callq -1234 14 0xe8 0x2e 0xfb 0xff 0xff 15 16 # CHECK: lfence 17 0x0f 0xae 0xe8 18 19 # CHECK: mfence 20 0x0f 0xae 0xf0 21 22 # CHECK: monitor 23 0x0f 0x01 0xc8 24 25 # CHECK: mwait 26 0x0f 0x01 0xc9 27 28 # CHECK: vmcall 29 0x0f 0x01 0xc1 30 31 # CHECK: vmlaunch 32 0x0f 0x01 0xc2 33 34 # CHECK: vmresume 35 0x0f 0x01 0xc3 36 37 # CHECK: vmxoff 38 0x0f 0x01 0xc4 39 40 # CHECK: swapgs 41 0x0f 0x01 0xf8 42 43 # CHECK: rdtscp 44 0x0f 0x01 0xf9 45 46 # CHECK: vmxon 47 0xf3 0x0f 0xc7 0x30 48 49 # CHECK: vmptrld 50 0x0f 0xc7 0x30 51 52 # CHECK: vmptrst 53 0x0f 0xc7 0x38 54 55 # CHECK: movl $0, -4(%rbp) 56 0xc7 0x45 0xfc 0x00 0x00 0x00 0x00 57 58 # CHECK: movq %cr0, %rcx 59 0x0f 0x20 0xc1 60 61 # CHECK: leal 4(%rsp), %ecx 62 0x8d 0x4c 0x24 0x04 63 64 # CHECK: enter $1, $2 65 0xc8 0x01 0x00 0x02 66 67 # CHECK: movw $47416, -66(%rbp) 68 0x66 0xc7 0x45 0xbe 0x38 0xb9 69 70 # CHECK: vaddpd %ymm13, %ymm1, %ymm0 71 0xc4 0xc1 0x75 0x58 0xc5 72 73 # CHECK: vaddps %ymm3, %ymm1, %ymm0 74 0xc5 0xf4 0x58 0xc3 75