brintos

brintos / llvm-project-archived public Read only

0
0
Text · 13.2 KiB · 2db5203 Raw
285 lines · plain
1# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s2 3# CHECK: {evex}	shl	bl, 1234# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xc0,0xe3,0x7b]5         {evex}	shl	bl, 1236# CHECK: {nf}	shl	bl, 1237# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xc0,0xe3,0x7b]8         {nf}	shl	bl, 1239# CHECK: shl	bl, bl, 12310# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xc0,0xe3,0x7b]11         shl	bl, bl, 12312# CHECK: {nf}	shl	bl, bl, 12313# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xc0,0xe3,0x7b]14         {nf}	shl	bl, bl, 12315# CHECK: {evex}	shl	dx, 12316# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xc1,0xe2,0x7b]17         {evex}	shl	dx, 12318# CHECK: {nf}	shl	dx, 12319# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xc1,0xe2,0x7b]20         {nf}	shl	dx, 12321# CHECK: shl	dx, dx, 12322# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xc1,0xe2,0x7b]23         shl	dx, dx, 12324# CHECK: {nf}	shl	dx, dx, 12325# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xc1,0xe2,0x7b]26         {nf}	shl	dx, dx, 12327# CHECK: {evex}	shl	ecx, 12328# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xc1,0xe1,0x7b]29         {evex}	shl	ecx, 12330# CHECK: {nf}	shl	ecx, 12331# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xc1,0xe1,0x7b]32         {nf}	shl	ecx, 12333# CHECK: shl	ecx, ecx, 12334# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xc1,0xe1,0x7b]35         shl	ecx, ecx, 12336# CHECK: {nf}	shl	ecx, ecx, 12337# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xc1,0xe1,0x7b]38         {nf}	shl	ecx, ecx, 12339# CHECK: {evex}	shl	r9, 12340# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xc1,0xe1,0x7b]41         {evex}	shl	r9, 12342# CHECK: {nf}	shl	r9, 12343# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xc1,0xe1,0x7b]44         {nf}	shl	r9, 12345# CHECK: shl	r9, r9, 12346# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xc1,0xe1,0x7b]47         shl	r9, r9, 12348# CHECK: {nf}	shl	r9, r9, 12349# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xc1,0xe1,0x7b]50         {nf}	shl	r9, r9, 12351# CHECK: {evex}	shl	byte ptr [r8 + 4*rax + 291], 12352# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xc0,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]53         {evex}	shl	byte ptr [r8 + 4*rax + 291], 12354# CHECK: {nf}	shl	byte ptr [r8 + 4*rax + 291], 12355# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xc0,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]56         {nf}	shl	byte ptr [r8 + 4*rax + 291], 12357# CHECK: shl	bl, byte ptr [r8 + 4*rax + 291], 12358# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xc0,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]59         shl	bl, byte ptr [r8 + 4*rax + 291], 12360# CHECK: {nf}	shl	bl, byte ptr [r8 + 4*rax + 291], 12361# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xc0,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]62         {nf}	shl	bl, byte ptr [r8 + 4*rax + 291], 12363# CHECK: {evex}	shl	word ptr [r8 + 4*rax + 291], 12364# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]65         {evex}	shl	word ptr [r8 + 4*rax + 291], 12366# CHECK: {nf}	shl	word ptr [r8 + 4*rax + 291], 12367# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]68         {nf}	shl	word ptr [r8 + 4*rax + 291], 12369# CHECK: shl	dx, word ptr [r8 + 4*rax + 291], 12370# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]71         shl	dx, word ptr [r8 + 4*rax + 291], 12372# CHECK: {nf}	shl	dx, word ptr [r8 + 4*rax + 291], 12373# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]74         {nf}	shl	dx, word ptr [r8 + 4*rax + 291], 12375# CHECK: {evex}	shl	dword ptr [r8 + 4*rax + 291], 12376# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]77         {evex}	shl	dword ptr [r8 + 4*rax + 291], 12378# CHECK: {nf}	shl	dword ptr [r8 + 4*rax + 291], 12379# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]80         {nf}	shl	dword ptr [r8 + 4*rax + 291], 12381# CHECK: shl	ecx, dword ptr [r8 + 4*rax + 291], 12382# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]83         shl	ecx, dword ptr [r8 + 4*rax + 291], 12384# CHECK: {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291], 12385# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]86         {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291], 12387# CHECK: {evex}	shl	qword ptr [r8 + 4*rax + 291], 12388# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]89         {evex}	shl	qword ptr [r8 + 4*rax + 291], 12390# CHECK: {nf}	shl	qword ptr [r8 + 4*rax + 291], 12391# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]92         {nf}	shl	qword ptr [r8 + 4*rax + 291], 12393# CHECK: shl	r9, qword ptr [r8 + 4*rax + 291], 12394# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]95         shl	r9, qword ptr [r8 + 4*rax + 291], 12396# CHECK: {nf}	shl	r9, qword ptr [r8 + 4*rax + 291], 12397# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xc1,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]98         {nf}	shl	r9, qword ptr [r8 + 4*rax + 291], 12399# CHECK: {evex}	shl	bl100# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd0,0xe3]101         {evex}	shl	bl102# CHECK: {nf}	shl	bl103# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd0,0xe3]104         {nf}	shl	bl105# CHECK: {evex}	shl	bl, cl106# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd2,0xe3]107         {evex}	shl	bl, cl108# CHECK: {nf}	shl	bl, cl109# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd2,0xe3]110         {nf}	shl	bl, cl111# CHECK: shl	bl, bl, cl112# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xd2,0xe3]113         shl	bl, bl, cl114# CHECK: {nf}	shl	bl, bl, cl115# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xd2,0xe3]116         {nf}	shl	bl, bl, cl117# CHECK: {evex}	shl	dx, cl118# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xd3,0xe2]119         {evex}	shl	dx, cl120# CHECK: {nf}	shl	dx, cl121# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xd3,0xe2]122         {nf}	shl	dx, cl123# CHECK: shl	dx, dx, cl124# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xd3,0xe2]125         shl	dx, dx, cl126# CHECK: {nf}	shl	dx, dx, cl127# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xd3,0xe2]128         {nf}	shl	dx, dx, cl129# CHECK: {evex}	shl	ecx, cl130# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd3,0xe1]131         {evex}	shl	ecx, cl132# CHECK: {nf}	shl	ecx, cl133# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd3,0xe1]134         {nf}	shl	ecx, cl135# CHECK: shl	ecx, ecx, cl136# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xd3,0xe1]137         shl	ecx, ecx, cl138# CHECK: {nf}	shl	ecx, ecx, cl139# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xd3,0xe1]140         {nf}	shl	ecx, ecx, cl141# CHECK: {evex}	shl	r9, cl142# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd3,0xe1]143         {evex}	shl	r9, cl144# CHECK: {nf}	shl	r9, cl145# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd3,0xe1]146         {nf}	shl	r9, cl147# CHECK: shl	r9, r9, cl148# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xd3,0xe1]149         shl	r9, r9, cl150# CHECK: {nf}	shl	r9, r9, cl151# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xd3,0xe1]152         {nf}	shl	r9, r9, cl153# CHECK: {evex}	shl	byte ptr [r8 + 4*rax + 291], cl154# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd2,0xa4,0x80,0x23,0x01,0x00,0x00]155         {evex}	shl	byte ptr [r8 + 4*rax + 291], cl156# CHECK: {nf}	shl	byte ptr [r8 + 4*rax + 291], cl157# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd2,0xa4,0x80,0x23,0x01,0x00,0x00]158         {nf}	shl	byte ptr [r8 + 4*rax + 291], cl159# CHECK: shl	bl, byte ptr [r8 + 4*rax + 291], cl160# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd2,0xa4,0x80,0x23,0x01,0x00,0x00]161         shl	bl, byte ptr [r8 + 4*rax + 291], cl162# CHECK: {nf}	shl	bl, byte ptr [r8 + 4*rax + 291], cl163# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd2,0xa4,0x80,0x23,0x01,0x00,0x00]164         {nf}	shl	bl, byte ptr [r8 + 4*rax + 291], cl165# CHECK: {evex}	shl	word ptr [r8 + 4*rax + 291], cl166# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]167         {evex}	shl	word ptr [r8 + 4*rax + 291], cl168# CHECK: {nf}	shl	word ptr [r8 + 4*rax + 291], cl169# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]170         {nf}	shl	word ptr [r8 + 4*rax + 291], cl171# CHECK: shl	dx, word ptr [r8 + 4*rax + 291], cl172# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]173         shl	dx, word ptr [r8 + 4*rax + 291], cl174# CHECK: {nf}	shl	dx, word ptr [r8 + 4*rax + 291], cl175# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]176         {nf}	shl	dx, word ptr [r8 + 4*rax + 291], cl177# CHECK: {evex}	shl	dword ptr [r8 + 4*rax + 291], cl178# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]179         {evex}	shl	dword ptr [r8 + 4*rax + 291], cl180# CHECK: {nf}	shl	dword ptr [r8 + 4*rax + 291], cl181# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]182         {nf}	shl	dword ptr [r8 + 4*rax + 291], cl183# CHECK: shl	ecx, dword ptr [r8 + 4*rax + 291], cl184# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]185         shl	ecx, dword ptr [r8 + 4*rax + 291], cl186# CHECK: {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291], cl187# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]188         {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291], cl189# CHECK: {evex}	shl	qword ptr [r8 + 4*rax + 291], cl190# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]191         {evex}	shl	qword ptr [r8 + 4*rax + 291], cl192# CHECK: {nf}	shl	qword ptr [r8 + 4*rax + 291], cl193# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]194         {nf}	shl	qword ptr [r8 + 4*rax + 291], cl195# CHECK: shl	r9, qword ptr [r8 + 4*rax + 291], cl196# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]197         shl	r9, qword ptr [r8 + 4*rax + 291], cl198# CHECK: {nf}	shl	r9, qword ptr [r8 + 4*rax + 291], cl199# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xd3,0xa4,0x80,0x23,0x01,0x00,0x00]200         {nf}	shl	r9, qword ptr [r8 + 4*rax + 291], cl201# CHECK: {evex}	shl	dx202# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xd1,0xe2]203         {evex}	shl	dx204# CHECK: {nf}	shl	dx205# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xd1,0xe2]206         {nf}	shl	dx207# CHECK: shl	dx, dx208# CHECK: encoding: [0x62,0xf4,0x6d,0x18,0xd1,0xe2]209         shl	dx, dx210# CHECK: {nf}	shl	dx, dx211# CHECK: encoding: [0x62,0xf4,0x6d,0x1c,0xd1,0xe2]212         {nf}	shl	dx, dx213# CHECK: {evex}	shl	ecx214# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd1,0xe1]215         {evex}	shl	ecx216# CHECK: {nf}	shl	ecx217# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd1,0xe1]218         {nf}	shl	ecx219# CHECK: shl	ecx, ecx220# CHECK: encoding: [0x62,0xf4,0x74,0x18,0xd1,0xe1]221         shl	ecx, ecx222# CHECK: {nf}	shl	ecx, ecx223# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0xd1,0xe1]224         {nf}	shl	ecx, ecx225# CHECK: {evex}	shl	r9226# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd1,0xe1]227         {evex}	shl	r9228# CHECK: {nf}	shl	r9229# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd1,0xe1]230         {nf}	shl	r9231# CHECK: shl	r9, r9232# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xd1,0xe1]233         shl	r9, r9234# CHECK: {nf}	shl	r9, r9235# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xd1,0xe1]236         {nf}	shl	r9, r9237# CHECK: {evex}	shl	byte ptr [r8 + 4*rax + 291]238# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd0,0xa4,0x80,0x23,0x01,0x00,0x00]239         {evex}	shl	byte ptr [r8 + 4*rax + 291]240# CHECK: {nf}	shl	byte ptr [r8 + 4*rax + 291]241# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd0,0xa4,0x80,0x23,0x01,0x00,0x00]242         {nf}	shl	byte ptr [r8 + 4*rax + 291]243# CHECK: shl	bl, byte ptr [r8 + 4*rax + 291]244# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd0,0xa4,0x80,0x23,0x01,0x00,0x00]245         shl	bl, byte ptr [r8 + 4*rax + 291]246# CHECK: {nf}	shl	bl, byte ptr [r8 + 4*rax + 291]247# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd0,0xa4,0x80,0x23,0x01,0x00,0x00]248         {nf}	shl	bl, byte ptr [r8 + 4*rax + 291]249# CHECK: {evex}	shl	word ptr [r8 + 4*rax + 291]250# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]251         {evex}	shl	word ptr [r8 + 4*rax + 291]252# CHECK: {nf}	shl	word ptr [r8 + 4*rax + 291]253# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]254         {nf}	shl	word ptr [r8 + 4*rax + 291]255# CHECK: shl	dx, word ptr [r8 + 4*rax + 291]256# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]257         shl	dx, word ptr [r8 + 4*rax + 291]258# CHECK: {nf}	shl	dx, word ptr [r8 + 4*rax + 291]259# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]260         {nf}	shl	dx, word ptr [r8 + 4*rax + 291]261# CHECK: {evex}	shl	dword ptr [r8 + 4*rax + 291]262# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]263         {evex}	shl	dword ptr [r8 + 4*rax + 291]264# CHECK: {nf}	shl	dword ptr [r8 + 4*rax + 291]265# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]266         {nf}	shl	dword ptr [r8 + 4*rax + 291]267# CHECK: shl	ecx, dword ptr [r8 + 4*rax + 291]268# CHECK: encoding: [0x62,0xd4,0x74,0x18,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]269         shl	ecx, dword ptr [r8 + 4*rax + 291]270# CHECK: {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291]271# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]272         {nf}	shl	ecx, dword ptr [r8 + 4*rax + 291]273# CHECK: {evex}	shl	qword ptr [r8 + 4*rax + 291]274# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]275         {evex}	shl	qword ptr [r8 + 4*rax + 291]276# CHECK: {nf}	shl	qword ptr [r8 + 4*rax + 291]277# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]278         {nf}	shl	qword ptr [r8 + 4*rax + 291]279# CHECK: shl	r9, qword ptr [r8 + 4*rax + 291]280# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]281         shl	r9, qword ptr [r8 + 4*rax + 291]282# CHECK: {nf}	shl	r9, qword ptr [r8 + 4*rax + 291]283# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0xd1,0xa4,0x80,0x23,0x01,0x00,0x00]284         {nf}	shl	r9, qword ptr [r8 + 4*rax + 291]285