1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3 // CHECK: vcvtph2ps -485498096(%edx,%eax,4), %xmm1 4 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 5 vcvtph2ps -485498096(%edx,%eax,4), %xmm1 6 7 // CHECK: vcvtph2ps 485498096(%edx,%eax,4), %xmm1 8 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 9 vcvtph2ps 485498096(%edx,%eax,4), %xmm1 10 11 // CHECK: vcvtph2ps -485498096(%edx,%eax,4), %ymm4 12 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0xa4,0x82,0x10,0xe3,0x0f,0xe3] 13 vcvtph2ps -485498096(%edx,%eax,4), %ymm4 14 15 // CHECK: vcvtph2ps 485498096(%edx,%eax,4), %ymm4 16 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] 17 vcvtph2ps 485498096(%edx,%eax,4), %ymm4 18 19 // CHECK: vcvtph2ps 485498096(%edx), %xmm1 20 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x8a,0xf0,0x1c,0xf0,0x1c] 21 vcvtph2ps 485498096(%edx), %xmm1 22 23 // CHECK: vcvtph2ps 485498096(%edx), %ymm4 24 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0xa2,0xf0,0x1c,0xf0,0x1c] 25 vcvtph2ps 485498096(%edx), %ymm4 26 27 // CHECK: vcvtph2ps 485498096, %xmm1 28 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x0d,0xf0,0x1c,0xf0,0x1c] 29 vcvtph2ps 485498096, %xmm1 30 31 // CHECK: vcvtph2ps 485498096, %ymm4 32 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0x25,0xf0,0x1c,0xf0,0x1c] 33 vcvtph2ps 485498096, %ymm4 34 35 // CHECK: vcvtph2ps 64(%edx,%eax), %xmm1 36 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x4c,0x02,0x40] 37 vcvtph2ps 64(%edx,%eax), %xmm1 38 39 // CHECK: vcvtph2ps 64(%edx,%eax), %ymm4 40 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0x64,0x02,0x40] 41 vcvtph2ps 64(%edx,%eax), %ymm4 42 43 // CHECK: vcvtph2ps (%edx), %xmm1 44 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0x0a] 45 vcvtph2ps (%edx), %xmm1 46 47 // CHECK: vcvtph2ps (%edx), %ymm4 48 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0x22] 49 vcvtph2ps (%edx), %ymm4 50 51 // CHECK: vcvtph2ps %xmm1, %xmm1 52 // CHECK: encoding: [0xc4,0xe2,0x79,0x13,0xc9] 53 vcvtph2ps %xmm1, %xmm1 54 55 // CHECK: vcvtph2ps %xmm1, %ymm4 56 // CHECK: encoding: [0xc4,0xe2,0x7d,0x13,0xe1] 57 vcvtph2ps %xmm1, %ymm4 58 59 // CHECK: vcvtps2ph $0, %xmm1, -485498096(%edx,%eax,4) 60 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 61 vcvtps2ph $0, %xmm1, -485498096(%edx,%eax,4) 62 63 // CHECK: vcvtps2ph $0, %xmm1, 485498096(%edx,%eax,4) 64 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 65 vcvtps2ph $0, %xmm1, 485498096(%edx,%eax,4) 66 67 // CHECK: vcvtps2ph $0, %xmm1, 485498096(%edx) 68 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] 69 vcvtps2ph $0, %xmm1, 485498096(%edx) 70 71 // CHECK: vcvtps2ph $0, %xmm1, 485498096 72 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] 73 vcvtps2ph $0, %xmm1, 485498096 74 75 // CHECK: vcvtps2ph $0, %xmm1, 64(%edx,%eax) 76 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x4c,0x02,0x40,0x00] 77 vcvtps2ph $0, %xmm1, 64(%edx,%eax) 78 79 // CHECK: vcvtps2ph $0, %xmm1, (%edx) 80 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0x0a,0x00] 81 vcvtps2ph $0, %xmm1, (%edx) 82 83 // CHECK: vcvtps2ph $0, %xmm1, %xmm1 84 // CHECK: encoding: [0xc4,0xe3,0x79,0x1d,0xc9,0x00] 85 vcvtps2ph $0, %xmm1, %xmm1 86 87 // CHECK: vcvtps2ph $0, %ymm4, -485498096(%edx,%eax,4) 88 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] 89 vcvtps2ph $0, %ymm4, -485498096(%edx,%eax,4) 90 91 // CHECK: vcvtps2ph $0, %ymm4, 485498096(%edx,%eax,4) 92 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 93 vcvtps2ph $0, %ymm4, 485498096(%edx,%eax,4) 94 95 // CHECK: vcvtps2ph $0, %ymm4, 485498096(%edx) 96 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] 97 vcvtps2ph $0, %ymm4, 485498096(%edx) 98 99 // CHECK: vcvtps2ph $0, %ymm4, 485498096 100 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 101 vcvtps2ph $0, %ymm4, 485498096 102 103 // CHECK: vcvtps2ph $0, %ymm4, 64(%edx,%eax) 104 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0x64,0x02,0x40,0x00] 105 vcvtps2ph $0, %ymm4, 64(%edx,%eax) 106 107 // CHECK: vcvtps2ph $0, %ymm4, (%edx) 108 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0x22,0x00] 109 vcvtps2ph $0, %ymm4, (%edx) 110 111 // CHECK: vcvtps2ph $0, %ymm4, %xmm1 112 // CHECK: encoding: [0xc4,0xe3,0x7d,0x1d,0xe1,0x00] 113 vcvtps2ph $0, %ymm4, %xmm1 114 115