123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694 |
- // SPDX-License-Identifier: GPL-2.0
- /*
- * This file contains instructions for testing by the test titled:
- *
- * "Test x86 instruction decoder - new instructions"
- *
- * Note that the 'Expecting' comment lines are consumed by the
- * gen-insn-x86-dat.awk script and have the format:
- *
- * Expecting: <op> <branch> <rel>
- *
- * If this file is changed, remember to run the gen-insn-x86-dat.sh
- * script and commit the result.
- *
- * Refer to insn-x86.c for more details.
- */
- int main(void)
- {
- /* Following line is a marker for the awk script - do not change */
- asm volatile("rdtsc"); /* Start here */
- /* Test fix for vcvtph2ps in x86-opcode-map.txt */
- asm volatile("vcvtph2ps %xmm3,%ymm5");
- #ifdef __x86_64__
- /* AVX-512: Instructions with the same op codes as Mask Instructions */
- asm volatile("cmovno %rax,%rbx");
- asm volatile("cmovno 0x12345678(%rax),%rcx");
- asm volatile("cmovno 0x12345678(%rax),%cx");
- asm volatile("cmove %rax,%rbx");
- asm volatile("cmove 0x12345678(%rax),%rcx");
- asm volatile("cmove 0x12345678(%rax),%cx");
- asm volatile("seto 0x12345678(%rax)");
- asm volatile("setno 0x12345678(%rax)");
- asm volatile("setb 0x12345678(%rax)");
- asm volatile("setc 0x12345678(%rax)");
- asm volatile("setnae 0x12345678(%rax)");
- asm volatile("setae 0x12345678(%rax)");
- asm volatile("setnb 0x12345678(%rax)");
- asm volatile("setnc 0x12345678(%rax)");
- asm volatile("sets 0x12345678(%rax)");
- asm volatile("setns 0x12345678(%rax)");
- /* AVX-512: Mask Instructions */
- asm volatile("kandw %k7,%k6,%k5");
- asm volatile("kandq %k7,%k6,%k5");
- asm volatile("kandb %k7,%k6,%k5");
- asm volatile("kandd %k7,%k6,%k5");
- asm volatile("kandnw %k7,%k6,%k5");
- asm volatile("kandnq %k7,%k6,%k5");
- asm volatile("kandnb %k7,%k6,%k5");
- asm volatile("kandnd %k7,%k6,%k5");
- asm volatile("knotw %k7,%k6");
- asm volatile("knotq %k7,%k6");
- asm volatile("knotb %k7,%k6");
- asm volatile("knotd %k7,%k6");
- asm volatile("korw %k7,%k6,%k5");
- asm volatile("korq %k7,%k6,%k5");
- asm volatile("korb %k7,%k6,%k5");
- asm volatile("kord %k7,%k6,%k5");
- asm volatile("kxnorw %k7,%k6,%k5");
- asm volatile("kxnorq %k7,%k6,%k5");
- asm volatile("kxnorb %k7,%k6,%k5");
- asm volatile("kxnord %k7,%k6,%k5");
- asm volatile("kxorw %k7,%k6,%k5");
- asm volatile("kxorq %k7,%k6,%k5");
- asm volatile("kxorb %k7,%k6,%k5");
- asm volatile("kxord %k7,%k6,%k5");
- asm volatile("kaddw %k7,%k6,%k5");
- asm volatile("kaddq %k7,%k6,%k5");
- asm volatile("kaddb %k7,%k6,%k5");
- asm volatile("kaddd %k7,%k6,%k5");
- asm volatile("kunpckbw %k7,%k6,%k5");
- asm volatile("kunpckwd %k7,%k6,%k5");
- asm volatile("kunpckdq %k7,%k6,%k5");
- asm volatile("kmovw %k6,%k5");
- asm volatile("kmovw (%rcx),%k5");
- asm volatile("kmovw 0x123(%rax,%r14,8),%k5");
- asm volatile("kmovw %k5,(%rcx)");
- asm volatile("kmovw %k5,0x123(%rax,%r14,8)");
- asm volatile("kmovw %eax,%k5");
- asm volatile("kmovw %ebp,%k5");
- asm volatile("kmovw %r13d,%k5");
- asm volatile("kmovw %k5,%eax");
- asm volatile("kmovw %k5,%ebp");
- asm volatile("kmovw %k5,%r13d");
- asm volatile("kmovq %k6,%k5");
- asm volatile("kmovq (%rcx),%k5");
- asm volatile("kmovq 0x123(%rax,%r14,8),%k5");
- asm volatile("kmovq %k5,(%rcx)");
- asm volatile("kmovq %k5,0x123(%rax,%r14,8)");
- asm volatile("kmovq %rax,%k5");
- asm volatile("kmovq %rbp,%k5");
- asm volatile("kmovq %r13,%k5");
- asm volatile("kmovq %k5,%rax");
- asm volatile("kmovq %k5,%rbp");
- asm volatile("kmovq %k5,%r13");
- asm volatile("kmovb %k6,%k5");
- asm volatile("kmovb (%rcx),%k5");
- asm volatile("kmovb 0x123(%rax,%r14,8),%k5");
- asm volatile("kmovb %k5,(%rcx)");
- asm volatile("kmovb %k5,0x123(%rax,%r14,8)");
- asm volatile("kmovb %eax,%k5");
- asm volatile("kmovb %ebp,%k5");
- asm volatile("kmovb %r13d,%k5");
- asm volatile("kmovb %k5,%eax");
- asm volatile("kmovb %k5,%ebp");
- asm volatile("kmovb %k5,%r13d");
- asm volatile("kmovd %k6,%k5");
- asm volatile("kmovd (%rcx),%k5");
- asm volatile("kmovd 0x123(%rax,%r14,8),%k5");
- asm volatile("kmovd %k5,(%rcx)");
- asm volatile("kmovd %k5,0x123(%rax,%r14,8)");
- asm volatile("kmovd %eax,%k5");
- asm volatile("kmovd %ebp,%k5");
- asm volatile("kmovd %r13d,%k5");
- asm volatile("kmovd %k5,%eax");
- asm volatile("kmovd %k5,%ebp");
- asm volatile("kmovd %k5,%r13d");
- asm volatile("kortestw %k6,%k5");
- asm volatile("kortestq %k6,%k5");
- asm volatile("kortestb %k6,%k5");
- asm volatile("kortestd %k6,%k5");
- asm volatile("ktestw %k6,%k5");
- asm volatile("ktestq %k6,%k5");
- asm volatile("ktestb %k6,%k5");
- asm volatile("ktestd %k6,%k5");
- asm volatile("kshiftrw $0x12,%k6,%k5");
- asm volatile("kshiftrq $0x5b,%k6,%k5");
- asm volatile("kshiftlw $0x12,%k6,%k5");
- asm volatile("kshiftlq $0x5b,%k6,%k5");
- /* AVX-512: Op code 0f 5b */
- asm volatile("vcvtdq2ps %xmm5,%xmm6");
- asm volatile("vcvtqq2ps %zmm29,%ymm6{%k7}");
- asm volatile("vcvtps2dq %xmm5,%xmm6");
- asm volatile("vcvttps2dq %xmm5,%xmm6");
- /* AVX-512: Op code 0f 6f */
- asm volatile("movq %mm0,%mm4");
- asm volatile("vmovdqa %ymm4,%ymm6");
- asm volatile("vmovdqa32 %zmm25,%zmm26");
- asm volatile("vmovdqa64 %zmm25,%zmm26");
- asm volatile("vmovdqu %ymm4,%ymm6");
- asm volatile("vmovdqu32 %zmm29,%zmm30");
- asm volatile("vmovdqu64 %zmm25,%zmm26");
- asm volatile("vmovdqu8 %zmm29,%zmm30");
- asm volatile("vmovdqu16 %zmm25,%zmm26");
- /* AVX-512: Op code 0f 78 */
- asm volatile("vmread %rax,%rbx");
- asm volatile("vcvttps2udq %zmm25,%zmm26");
- asm volatile("vcvttpd2udq %zmm29,%ymm6{%k7}");
- asm volatile("vcvttsd2usi %xmm6,%rax");
- asm volatile("vcvttss2usi %xmm6,%rax");
- asm volatile("vcvttps2uqq %ymm5,%zmm26{%k7}");
- asm volatile("vcvttpd2uqq %zmm29,%zmm30");
- /* AVX-512: Op code 0f 79 */
- asm volatile("vmwrite %rax,%rbx");
- asm volatile("vcvtps2udq %zmm25,%zmm26");
- asm volatile("vcvtpd2udq %zmm29,%ymm6{%k7}");
- asm volatile("vcvtsd2usi %xmm6,%rax");
- asm volatile("vcvtss2usi %xmm6,%rax");
- asm volatile("vcvtps2uqq %ymm5,%zmm26{%k7}");
- asm volatile("vcvtpd2uqq %zmm29,%zmm30");
- /* AVX-512: Op code 0f 7a */
- asm volatile("vcvtudq2pd %ymm5,%zmm29{%k7}");
- asm volatile("vcvtuqq2pd %zmm25,%zmm26");
- asm volatile("vcvtudq2ps %zmm29,%zmm30");
- asm volatile("vcvtuqq2ps %zmm25,%ymm26{%k7}");
- asm volatile("vcvttps2qq %ymm25,%zmm26{%k7}");
- asm volatile("vcvttpd2qq %zmm29,%zmm30");
- /* AVX-512: Op code 0f 7b */
- asm volatile("vcvtusi2sd %eax,%xmm5,%xmm6");
- asm volatile("vcvtusi2ss %eax,%xmm5,%xmm6");
- asm volatile("vcvtps2qq %ymm5,%zmm26{%k7}");
- asm volatile("vcvtpd2qq %zmm29,%zmm30");
- /* AVX-512: Op code 0f 7f */
- asm volatile("movq.s %mm0,%mm4");
- asm volatile("vmovdqa %ymm8,%ymm6");
- asm volatile("vmovdqa32.s %zmm25,%zmm26");
- asm volatile("vmovdqa64.s %zmm25,%zmm26");
- asm volatile("vmovdqu %ymm8,%ymm6");
- asm volatile("vmovdqu32.s %zmm25,%zmm26");
- asm volatile("vmovdqu64.s %zmm25,%zmm26");
- asm volatile("vmovdqu8.s %zmm30,(%rcx)");
- asm volatile("vmovdqu16.s %zmm25,%zmm26");
- /* AVX-512: Op code 0f db */
- asm volatile("pand %mm1,%mm2");
- asm volatile("pand %xmm1,%xmm2");
- asm volatile("vpand %ymm4,%ymm6,%ymm2");
- asm volatile("vpandd %zmm24,%zmm25,%zmm26");
- asm volatile("vpandq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f df */
- asm volatile("pandn %mm1,%mm2");
- asm volatile("pandn %xmm1,%xmm2");
- asm volatile("vpandn %ymm4,%ymm6,%ymm2");
- asm volatile("vpandnd %zmm24,%zmm25,%zmm26");
- asm volatile("vpandnq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f e6 */
- asm volatile("vcvttpd2dq %xmm1,%xmm2");
- asm volatile("vcvtdq2pd %xmm5,%xmm6");
- asm volatile("vcvtdq2pd %ymm5,%zmm26{%k7}");
- asm volatile("vcvtqq2pd %zmm25,%zmm26");
- asm volatile("vcvtpd2dq %xmm1,%xmm2");
- /* AVX-512: Op code 0f eb */
- asm volatile("por %mm4,%mm6");
- asm volatile("vpor %ymm4,%ymm6,%ymm2");
- asm volatile("vpord %zmm24,%zmm25,%zmm26");
- asm volatile("vporq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f ef */
- asm volatile("pxor %mm4,%mm6");
- asm volatile("vpxor %ymm4,%ymm6,%ymm2");
- asm volatile("vpxord %zmm24,%zmm25,%zmm26");
- asm volatile("vpxorq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 10 */
- asm volatile("pblendvb %xmm1,%xmm0");
- asm volatile("vpsrlvw %zmm27,%zmm28,%zmm29");
- asm volatile("vpmovuswb %zmm28,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 11 */
- asm volatile("vpmovusdb %zmm28,%xmm6{%k7}");
- asm volatile("vpsravw %zmm27,%zmm28,%zmm29");
- /* AVX-512: Op code 0f 38 12 */
- asm volatile("vpmovusqb %zmm27,%xmm6{%k7}");
- asm volatile("vpsllvw %zmm27,%zmm28,%zmm29");
- /* AVX-512: Op code 0f 38 13 */
- asm volatile("vcvtph2ps %xmm3,%ymm5");
- asm volatile("vcvtph2ps %ymm5,%zmm27{%k7}");
- asm volatile("vpmovusdw %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 14 */
- asm volatile("blendvps %xmm1,%xmm0");
- asm volatile("vpmovusqw %zmm27,%xmm6{%k7}");
- asm volatile("vprorvd %zmm27,%zmm28,%zmm29");
- asm volatile("vprorvq %zmm27,%zmm28,%zmm29");
- /* AVX-512: Op code 0f 38 15 */
- asm volatile("blendvpd %xmm1,%xmm0");
- asm volatile("vpmovusqd %zmm27,%ymm6{%k7}");
- asm volatile("vprolvd %zmm27,%zmm28,%zmm29");
- asm volatile("vprolvq %zmm27,%zmm28,%zmm29");
- /* AVX-512: Op code 0f 38 16 */
- asm volatile("vpermps %ymm4,%ymm6,%ymm2");
- asm volatile("vpermps %ymm24,%ymm26,%ymm22{%k7}");
- asm volatile("vpermpd %ymm24,%ymm26,%ymm22{%k7}");
- /* AVX-512: Op code 0f 38 19 */
- asm volatile("vbroadcastsd %xmm4,%ymm6");
- asm volatile("vbroadcastf32x2 %xmm27,%zmm26");
- /* AVX-512: Op code 0f 38 1a */
- asm volatile("vbroadcastf128 (%rcx),%ymm4");
- asm volatile("vbroadcastf32x4 (%rcx),%zmm26");
- asm volatile("vbroadcastf64x2 (%rcx),%zmm26");
- /* AVX-512: Op code 0f 38 1b */
- asm volatile("vbroadcastf32x8 (%rcx),%zmm27");
- asm volatile("vbroadcastf64x4 (%rcx),%zmm26");
- /* AVX-512: Op code 0f 38 1f */
- asm volatile("vpabsq %zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 20 */
- asm volatile("vpmovsxbw %xmm4,%xmm5");
- asm volatile("vpmovswb %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 21 */
- asm volatile("vpmovsxbd %xmm4,%ymm6");
- asm volatile("vpmovsdb %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 22 */
- asm volatile("vpmovsxbq %xmm4,%ymm4");
- asm volatile("vpmovsqb %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 23 */
- asm volatile("vpmovsxwd %xmm4,%ymm4");
- asm volatile("vpmovsdw %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 24 */
- asm volatile("vpmovsxwq %xmm4,%ymm6");
- asm volatile("vpmovsqw %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 25 */
- asm volatile("vpmovsxdq %xmm4,%ymm4");
- asm volatile("vpmovsqd %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 26 */
- asm volatile("vptestmb %zmm27,%zmm28,%k5");
- asm volatile("vptestmw %zmm27,%zmm28,%k5");
- asm volatile("vptestnmb %zmm26,%zmm27,%k5");
- asm volatile("vptestnmw %zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 38 27 */
- asm volatile("vptestmd %zmm27,%zmm28,%k5");
- asm volatile("vptestmq %zmm27,%zmm28,%k5");
- asm volatile("vptestnmd %zmm26,%zmm27,%k5");
- asm volatile("vptestnmq %zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 38 28 */
- asm volatile("vpmuldq %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovm2b %k5,%zmm28");
- asm volatile("vpmovm2w %k5,%zmm28");
- /* AVX-512: Op code 0f 38 29 */
- asm volatile("vpcmpeqq %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovb2m %zmm28,%k5");
- asm volatile("vpmovw2m %zmm28,%k5");
- /* AVX-512: Op code 0f 38 2a */
- asm volatile("vmovntdqa (%rcx),%ymm4");
- asm volatile("vpbroadcastmb2q %k6,%zmm30");
- /* AVX-512: Op code 0f 38 2c */
- asm volatile("vmaskmovps (%rcx),%ymm4,%ymm6");
- asm volatile("vscalefps %zmm24,%zmm25,%zmm26");
- asm volatile("vscalefpd %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 2d */
- asm volatile("vmaskmovpd (%rcx),%ymm4,%ymm6");
- asm volatile("vscalefss %xmm24,%xmm25,%xmm26{%k7}");
- asm volatile("vscalefsd %xmm24,%xmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 38 30 */
- asm volatile("vpmovzxbw %xmm4,%ymm4");
- asm volatile("vpmovwb %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 31 */
- asm volatile("vpmovzxbd %xmm4,%ymm6");
- asm volatile("vpmovdb %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 32 */
- asm volatile("vpmovzxbq %xmm4,%ymm4");
- asm volatile("vpmovqb %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 33 */
- asm volatile("vpmovzxwd %xmm4,%ymm4");
- asm volatile("vpmovdw %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 34 */
- asm volatile("vpmovzxwq %xmm4,%ymm6");
- asm volatile("vpmovqw %zmm27,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 35 */
- asm volatile("vpmovzxdq %xmm4,%ymm4");
- asm volatile("vpmovqd %zmm27,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 38 */
- asm volatile("vpermd %ymm4,%ymm6,%ymm2");
- asm volatile("vpermd %ymm24,%ymm26,%ymm22{%k7}");
- asm volatile("vpermq %ymm24,%ymm26,%ymm22{%k7}");
- /* AVX-512: Op code 0f 38 38 */
- asm volatile("vpminsb %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovm2d %k5,%zmm28");
- asm volatile("vpmovm2q %k5,%zmm28");
- /* AVX-512: Op code 0f 38 39 */
- asm volatile("vpminsd %xmm1,%xmm2,%xmm3");
- asm volatile("vpminsd %zmm24,%zmm25,%zmm26");
- asm volatile("vpminsq %zmm24,%zmm25,%zmm26");
- asm volatile("vpmovd2m %zmm28,%k5");
- asm volatile("vpmovq2m %zmm28,%k5");
- /* AVX-512: Op code 0f 38 3a */
- asm volatile("vpminuw %ymm4,%ymm6,%ymm2");
- asm volatile("vpbroadcastmw2d %k6,%zmm28");
- /* AVX-512: Op code 0f 38 3b */
- asm volatile("vpminud %ymm4,%ymm6,%ymm2");
- asm volatile("vpminud %zmm24,%zmm25,%zmm26");
- asm volatile("vpminuq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 3d */
- asm volatile("vpmaxsd %ymm4,%ymm6,%ymm2");
- asm volatile("vpmaxsd %zmm24,%zmm25,%zmm26");
- asm volatile("vpmaxsq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 3f */
- asm volatile("vpmaxud %ymm4,%ymm6,%ymm2");
- asm volatile("vpmaxud %zmm24,%zmm25,%zmm26");
- asm volatile("vpmaxuq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 42 */
- asm volatile("vpmulld %ymm4,%ymm6,%ymm2");
- asm volatile("vpmulld %zmm24,%zmm25,%zmm26");
- asm volatile("vpmullq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 42 */
- asm volatile("vgetexpps %zmm25,%zmm26");
- asm volatile("vgetexppd %zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 43 */
- asm volatile("vgetexpss %xmm24,%xmm25,%xmm26{%k7}");
- asm volatile("vgetexpsd %xmm28,%xmm29,%xmm30{%k7}");
- /* AVX-512: Op code 0f 38 44 */
- asm volatile("vplzcntd %zmm27,%zmm28");
- asm volatile("vplzcntq %zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 46 */
- asm volatile("vpsravd %ymm4,%ymm6,%ymm2");
- asm volatile("vpsravd %zmm24,%zmm25,%zmm26");
- asm volatile("vpsravq %zmm24,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 38 4c */
- asm volatile("vrcp14ps %zmm25,%zmm26");
- asm volatile("vrcp14pd %zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 4d */
- asm volatile("vrcp14ss %xmm24,%xmm25,%xmm26{%k7}");
- asm volatile("vrcp14sd %xmm24,%xmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 38 4e */
- asm volatile("vrsqrt14ps %zmm25,%zmm26");
- asm volatile("vrsqrt14pd %zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 4f */
- asm volatile("vrsqrt14ss %xmm24,%xmm25,%xmm26{%k7}");
- asm volatile("vrsqrt14sd %xmm24,%xmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 38 59 */
- asm volatile("vpbroadcastq %xmm4,%xmm6");
- asm volatile("vbroadcasti32x2 %xmm27,%zmm26");
- /* AVX-512: Op code 0f 38 5a */
- asm volatile("vbroadcasti128 (%rcx),%ymm4");
- asm volatile("vbroadcasti32x4 (%rcx),%zmm26");
- asm volatile("vbroadcasti64x2 (%rcx),%zmm26");
- /* AVX-512: Op code 0f 38 5b */
- asm volatile("vbroadcasti32x8 (%rcx),%zmm28");
- asm volatile("vbroadcasti64x4 (%rcx),%zmm26");
- /* AVX-512: Op code 0f 38 64 */
- asm volatile("vpblendmd %zmm26,%zmm27,%zmm28");
- asm volatile("vpblendmq %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 65 */
- asm volatile("vblendmps %zmm24,%zmm25,%zmm26");
- asm volatile("vblendmpd %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 66 */
- asm volatile("vpblendmb %zmm26,%zmm27,%zmm28");
- asm volatile("vpblendmw %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 75 */
- asm volatile("vpermi2b %zmm24,%zmm25,%zmm26");
- asm volatile("vpermi2w %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 76 */
- asm volatile("vpermi2d %zmm26,%zmm27,%zmm28");
- asm volatile("vpermi2q %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 77 */
- asm volatile("vpermi2ps %zmm26,%zmm27,%zmm28");
- asm volatile("vpermi2pd %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 7a */
- asm volatile("vpbroadcastb %eax,%xmm30");
- /* AVX-512: Op code 0f 38 7b */
- asm volatile("vpbroadcastw %eax,%xmm30");
- /* AVX-512: Op code 0f 38 7c */
- asm volatile("vpbroadcastd %eax,%xmm30");
- asm volatile("vpbroadcastq %rax,%zmm30");
- /* AVX-512: Op code 0f 38 7d */
- asm volatile("vpermt2b %zmm26,%zmm27,%zmm28");
- asm volatile("vpermt2w %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 7e */
- asm volatile("vpermt2d %zmm26,%zmm27,%zmm28");
- asm volatile("vpermt2q %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 7f */
- asm volatile("vpermt2ps %zmm26,%zmm27,%zmm28");
- asm volatile("vpermt2pd %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 83 */
- asm volatile("vpmultishiftqb %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 88 */
- asm volatile("vexpandps (%rcx),%zmm26");
- asm volatile("vexpandpd (%rcx),%zmm28");
- /* AVX-512: Op code 0f 38 89 */
- asm volatile("vpexpandd (%rcx),%zmm28");
- asm volatile("vpexpandq (%rcx),%zmm26");
- /* AVX-512: Op code 0f 38 8a */
- asm volatile("vcompressps %zmm28,(%rcx)");
- asm volatile("vcompresspd %zmm28,(%rcx)");
- /* AVX-512: Op code 0f 38 8b */
- asm volatile("vpcompressd %zmm28,(%rcx)");
- asm volatile("vpcompressq %zmm26,(%rcx)");
- /* AVX-512: Op code 0f 38 8d */
- asm volatile("vpermb %zmm26,%zmm27,%zmm28");
- asm volatile("vpermw %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 90 */
- asm volatile("vpgatherdd %xmm2,0x02(%rbp,%xmm7,2),%xmm1");
- asm volatile("vpgatherdq %xmm2,0x04(%rbp,%xmm7,2),%xmm1");
- asm volatile("vpgatherdd 0x7b(%rbp,%zmm27,8),%zmm26{%k1}");
- asm volatile("vpgatherdq 0x7b(%rbp,%ymm27,8),%zmm26{%k1}");
- /* AVX-512: Op code 0f 38 91 */
- asm volatile("vpgatherqd %xmm2,0x02(%rbp,%xmm7,2),%xmm1");
- asm volatile("vpgatherqq %xmm2,0x02(%rbp,%xmm7,2),%xmm1");
- asm volatile("vpgatherqd 0x7b(%rbp,%zmm27,8),%ymm26{%k1}");
- asm volatile("vpgatherqq 0x7b(%rbp,%zmm27,8),%zmm26{%k1}");
- /* AVX-512: Op code 0f 38 a0 */
- asm volatile("vpscatterdd %zmm28,0x7b(%rbp,%zmm29,8){%k1}");
- asm volatile("vpscatterdq %zmm26,0x7b(%rbp,%ymm27,8){%k1}");
- /* AVX-512: Op code 0f 38 a1 */
- asm volatile("vpscatterqd %ymm6,0x7b(%rbp,%zmm29,8){%k1}");
- asm volatile("vpscatterqq %ymm6,0x7b(%rbp,%ymm27,8){%k1}");
- /* AVX-512: Op code 0f 38 a2 */
- asm volatile("vscatterdps %zmm28,0x7b(%rbp,%zmm29,8){%k1}");
- asm volatile("vscatterdpd %zmm28,0x7b(%rbp,%ymm27,8){%k1}");
- /* AVX-512: Op code 0f 38 a3 */
- asm volatile("vscatterqps %ymm6,0x7b(%rbp,%zmm29,8){%k1}");
- asm volatile("vscatterqpd %zmm28,0x7b(%rbp,%zmm29,8){%k1}");
- /* AVX-512: Op code 0f 38 b4 */
- asm volatile("vpmadd52luq %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 b5 */
- asm volatile("vpmadd52huq %zmm26,%zmm27,%zmm28");
- /* AVX-512: Op code 0f 38 c4 */
- asm volatile("vpconflictd %zmm26,%zmm27");
- asm volatile("vpconflictq %zmm26,%zmm27");
- /* AVX-512: Op code 0f 38 c8 */
- asm volatile("vexp2ps %zmm29,%zmm30");
- asm volatile("vexp2pd %zmm26,%zmm27");
- /* AVX-512: Op code 0f 38 ca */
- asm volatile("vrcp28ps %zmm29,%zmm30");
- asm volatile("vrcp28pd %zmm26,%zmm27");
- /* AVX-512: Op code 0f 38 cb */
- asm volatile("vrcp28ss %xmm28,%xmm29,%xmm30{%k7}");
- asm volatile("vrcp28sd %xmm25,%xmm26,%xmm27{%k7}");
- /* AVX-512: Op code 0f 38 cc */
- asm volatile("vrsqrt28ps %zmm29,%zmm30");
- asm volatile("vrsqrt28pd %zmm26,%zmm27");
- /* AVX-512: Op code 0f 38 cd */
- asm volatile("vrsqrt28ss %xmm28,%xmm29,%xmm30{%k7}");
- asm volatile("vrsqrt28sd %xmm25,%xmm26,%xmm27{%k7}");
- /* AVX-512: Op code 0f 3a 03 */
- asm volatile("valignd $0x12,%zmm28,%zmm29,%zmm30");
- asm volatile("valignq $0x12,%zmm25,%zmm26,%zmm27");
- /* AVX-512: Op code 0f 3a 08 */
- asm volatile("vroundps $0x5,%ymm6,%ymm2");
- asm volatile("vrndscaleps $0x12,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 3a 09 */
- asm volatile("vroundpd $0x5,%ymm6,%ymm2");
- asm volatile("vrndscalepd $0x12,%zmm25,%zmm26");
- /* AVX-512: Op code 0f 3a 1a */
- asm volatile("vroundss $0x5,%xmm4,%xmm6,%xmm2");
- asm volatile("vrndscaless $0x12,%xmm24,%xmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 3a 0b */
- asm volatile("vroundsd $0x5,%xmm4,%xmm6,%xmm2");
- asm volatile("vrndscalesd $0x12,%xmm24,%xmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 3a 18 */
- asm volatile("vinsertf128 $0x5,%xmm4,%ymm4,%ymm6");
- asm volatile("vinsertf32x4 $0x12,%xmm24,%zmm25,%zmm26{%k7}");
- asm volatile("vinsertf64x2 $0x12,%xmm24,%zmm25,%zmm26{%k7}");
- /* AVX-512: Op code 0f 3a 19 */
- asm volatile("vextractf128 $0x5,%ymm4,%xmm4");
- asm volatile("vextractf32x4 $0x12,%zmm25,%xmm26{%k7}");
- asm volatile("vextractf64x2 $0x12,%zmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 3a 1a */
- asm volatile("vinsertf32x8 $0x12,%ymm25,%zmm26,%zmm27{%k7}");
- asm volatile("vinsertf64x4 $0x12,%ymm28,%zmm29,%zmm30{%k7}");
- /* AVX-512: Op code 0f 3a 1b */
- asm volatile("vextractf32x8 $0x12,%zmm29,%ymm30{%k7}");
- asm volatile("vextractf64x4 $0x12,%zmm26,%ymm27{%k7}");
- /* AVX-512: Op code 0f 3a 1e */
- asm volatile("vpcmpud $0x12,%zmm29,%zmm30,%k5");
- asm volatile("vpcmpuq $0x12,%zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 3a 1f */
- asm volatile("vpcmpd $0x12,%zmm29,%zmm30,%k5");
- asm volatile("vpcmpq $0x12,%zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 3a 23 */
- asm volatile("vshuff32x4 $0x12,%zmm28,%zmm29,%zmm30");
- asm volatile("vshuff64x2 $0x12,%zmm25,%zmm26,%zmm27");
- /* AVX-512: Op code 0f 3a 25 */
- asm volatile("vpternlogd $0x12,%zmm28,%zmm29,%zmm30");
- asm volatile("vpternlogq $0x12,%zmm28,%zmm29,%zmm30");
- /* AVX-512: Op code 0f 3a 26 */
- asm volatile("vgetmantps $0x12,%zmm26,%zmm27");
- asm volatile("vgetmantpd $0x12,%zmm29,%zmm30");
- /* AVX-512: Op code 0f 3a 27 */
- asm volatile("vgetmantss $0x12,%xmm25,%xmm26,%xmm27{%k7}");
- asm volatile("vgetmantsd $0x12,%xmm28,%xmm29,%xmm30{%k7}");
- /* AVX-512: Op code 0f 3a 38 */
- asm volatile("vinserti128 $0x5,%xmm4,%ymm4,%ymm6");
- asm volatile("vinserti32x4 $0x12,%xmm24,%zmm25,%zmm26{%k7}");
- asm volatile("vinserti64x2 $0x12,%xmm24,%zmm25,%zmm26{%k7}");
- /* AVX-512: Op code 0f 3a 39 */
- asm volatile("vextracti128 $0x5,%ymm4,%xmm6");
- asm volatile("vextracti32x4 $0x12,%zmm25,%xmm26{%k7}");
- asm volatile("vextracti64x2 $0x12,%zmm25,%xmm26{%k7}");
- /* AVX-512: Op code 0f 3a 3a */
- asm volatile("vinserti32x8 $0x12,%ymm28,%zmm29,%zmm30{%k7}");
- asm volatile("vinserti64x4 $0x12,%ymm25,%zmm26,%zmm27{%k7}");
- /* AVX-512: Op code 0f 3a 3b */
- asm volatile("vextracti32x8 $0x12,%zmm29,%ymm30{%k7}");
- asm volatile("vextracti64x4 $0x12,%zmm26,%ymm27{%k7}");
- /* AVX-512: Op code 0f 3a 3e */
- asm volatile("vpcmpub $0x12,%zmm29,%zmm30,%k5");
- asm volatile("vpcmpuw $0x12,%zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 3a 3f */
- asm volatile("vpcmpb $0x12,%zmm29,%zmm30,%k5");
- asm volatile("vpcmpw $0x12,%zmm26,%zmm27,%k5");
- /* AVX-512: Op code 0f 3a 43 */
- asm volatile("vmpsadbw $0x5,%ymm4,%ymm6,%ymm2");
- asm volatile("vdbpsadbw $0x12,%zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 3a 43 */
- asm volatile("vshufi32x4 $0x12,%zmm25,%zmm26,%zmm27");
- asm volatile("vshufi64x2 $0x12,%zmm28,%zmm29,%zmm30");
- /* AVX-512: Op code 0f 3a 50 */
- asm volatile("vrangeps $0x12,%zmm25,%zmm26,%zmm27");
- asm volatile("vrangepd $0x12,%zmm28,%zmm29,%zmm30");
- /* AVX-512: Op code 0f 3a 51 */
- asm volatile("vrangess $0x12,%xmm25,%xmm26,%xmm27");
- asm volatile("vrangesd $0x12,%xmm28,%xmm29,%xmm30");
- /* AVX-512: Op code 0f 3a 54 */
- asm volatile("vfixupimmps $0x12,%zmm28,%zmm29,%zmm30");
- asm volatile("vfixupimmpd $0x12,%zmm25,%zmm26,%zmm27");
- /* AVX-512: Op code 0f 3a 55 */
- asm volatile("vfixupimmss $0x12,%xmm28,%xmm29,%xmm30{%k7}");
- asm volatile("vfixupimmsd $0x12,%xmm25,%xmm26,%xmm27{%k7}");
- /* AVX-512: Op code 0f 3a 56 */
- asm volatile("vreduceps $0x12,%zmm26,%zmm27");
- asm volatile("vreducepd $0x12,%zmm29,%zmm30");
- /* AVX-512: Op code 0f 3a 57 */
- asm volatile("vreducess $0x12,%xmm25,%xmm26,%xmm27");
- asm volatile("vreducesd $0x12,%xmm28,%xmm29,%xmm30");
- /* AVX-512: Op code 0f 3a 66 */
- asm volatile("vfpclassps $0x12,%zmm27,%k5");
- asm volatile("vfpclasspd $0x12,%zmm30,%k5");
- /* AVX-512: Op code 0f 3a 67 */
- asm volatile("vfpclassss $0x12,%xmm27,%k5");
- asm volatile("vfpclasssd $0x12,%xmm30,%k5");
- /* AVX-512: Op code 0f 72 (Grp13) */
- asm volatile("vprord $0x12,%zmm25,%zmm26");
- asm volatile("vprorq $0x12,%zmm25,%zmm26");
- asm volatile("vprold $0x12,%zmm29,%zmm30");
- asm volatile("vprolq $0x12,%zmm29,%zmm30");
- asm volatile("psrad $0x2,%mm6");
- asm volatile("vpsrad $0x5,%ymm6,%ymm2");
- asm volatile("vpsrad $0x5,%zmm26,%zmm22");
- asm volatile("vpsraq $0x5,%zmm26,%zmm22");
- /* AVX-512: Op code 0f 38 c6 (Grp18) */
- asm volatile("vgatherpf0dps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vgatherpf0dpd 0x7b(%r14,%ymm31,8){%k1}");
- asm volatile("vgatherpf1dps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vgatherpf1dpd 0x7b(%r14,%ymm31,8){%k1}");
- asm volatile("vscatterpf0dps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf0dpd 0x7b(%r14,%ymm31,8){%k1}");
- asm volatile("vscatterpf1dps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf1dpd 0x7b(%r14,%ymm31,8){%k1}");
- /* AVX-512: Op code 0f 38 c7 (Grp19) */
- asm volatile("vgatherpf0qps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vgatherpf0qpd 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vgatherpf1qps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vgatherpf1qpd 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf0qps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf0qpd 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf1qps 0x7b(%r14,%zmm31,8){%k1}");
- asm volatile("vscatterpf1qpd 0x7b(%r14,%zmm31,8){%k1}");
- /* AVX-512: Examples */
- asm volatile("vaddpd %zmm28,%zmm29,%zmm30");
- asm volatile("vaddpd %zmm28,%zmm29,%zmm30{%k7}");
- asm volatile("vaddpd %zmm28,%zmm29,%zmm30{%k7}{z}");
- asm volatile("vaddpd {rn-sae},%zmm28,%zmm29,%zmm30");
- asm volatile("vaddpd {ru-sae},%zmm28,%zmm29,%zmm30");
- asm volatile("vaddpd {rd-sae},%zmm28,%zmm29,%zmm30");
- asm volatile("vaddpd {rz-sae},%zmm28,%zmm29,%zmm30");
- asm volatile("vaddpd (%rcx),%zmm29,%zmm30");
- asm volatile("vaddpd 0x123(%rax,%r14,8),%zmm29,%zmm30");
- asm volatile("vaddpd (%rcx){1to8},%zmm29,%zmm30");
- asm volatile("vaddpd 0x1fc0(%rdx),%zmm29,%zmm30");
- asm volatile("vaddpd 0x3f8(%rdx){1to8},%zmm29,%zmm30");
- asm volatile("vcmpeq_uqps 0x1fc(%rdx){1to16},%zmm30,%k5");
- asm volatile("vcmpltsd 0x123(%rax,%r14,8),%xmm29,%k5{%k7}");
- asm volatile("vcmplesd {sae},%xmm28,%xmm29,%k5{%k7}");
- asm volatile("vgetmantss $0x5b,0x123(%rax,%r14,8),%xmm29,%xmm30{%k7}");
- /* bndmk m64, bnd */
- asm volatile("bndmk (%rax), %bnd0");
- asm volatile("bndmk (%r8), %bnd0");
- asm volatile("bndmk (0x12345678), %bnd0");
- asm volatile("bndmk (%rax), %bnd3");
- asm volatile("bndmk (%rcx,%rax,1), %bnd0");
- asm volatile("bndmk 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndmk (%rax,%rcx,1), %bnd0");
- asm volatile("bndmk (%rax,%rcx,8), %bnd0");
- asm volatile("bndmk 0x12(%rax), %bnd0");
- asm volatile("bndmk 0x12(%rbp), %bnd0");
- asm volatile("bndmk 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndmk 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndmk 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndmk 0x12(%rax,%rcx,8), %bnd0");
- asm volatile("bndmk 0x12345678(%rax), %bnd0");
- asm volatile("bndmk 0x12345678(%rbp), %bnd0");
- asm volatile("bndmk 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndmk 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndmk 0x12345678(%rax,%rcx,1), %bnd0");
- asm volatile("bndmk 0x12345678(%rax,%rcx,8), %bnd0");
- /* bndcl r/m64, bnd */
- asm volatile("bndcl (%rax), %bnd0");
- asm volatile("bndcl (%r8), %bnd0");
- asm volatile("bndcl (0x12345678), %bnd0");
- asm volatile("bndcl (%rax), %bnd3");
- asm volatile("bndcl (%rcx,%rax,1), %bnd0");
- asm volatile("bndcl 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndcl (%rax,%rcx,1), %bnd0");
- asm volatile("bndcl (%rax,%rcx,8), %bnd0");
- asm volatile("bndcl 0x12(%rax), %bnd0");
- asm volatile("bndcl 0x12(%rbp), %bnd0");
- asm volatile("bndcl 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndcl 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndcl 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndcl 0x12(%rax,%rcx,8), %bnd0");
- asm volatile("bndcl 0x12345678(%rax), %bnd0");
- asm volatile("bndcl 0x12345678(%rbp), %bnd0");
- asm volatile("bndcl 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndcl 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndcl 0x12345678(%rax,%rcx,1), %bnd0");
- asm volatile("bndcl 0x12345678(%rax,%rcx,8), %bnd0");
- asm volatile("bndcl %rax, %bnd0");
- /* bndcu r/m64, bnd */
- asm volatile("bndcu (%rax), %bnd0");
- asm volatile("bndcu (%r8), %bnd0");
- asm volatile("bndcu (0x12345678), %bnd0");
- asm volatile("bndcu (%rax), %bnd3");
- asm volatile("bndcu (%rcx,%rax,1), %bnd0");
- asm volatile("bndcu 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndcu (%rax,%rcx,1), %bnd0");
- asm volatile("bndcu (%rax,%rcx,8), %bnd0");
- asm volatile("bndcu 0x12(%rax), %bnd0");
- asm volatile("bndcu 0x12(%rbp), %bnd0");
- asm volatile("bndcu 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndcu 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndcu 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndcu 0x12(%rax,%rcx,8), %bnd0");
- asm volatile("bndcu 0x12345678(%rax), %bnd0");
- asm volatile("bndcu 0x12345678(%rbp), %bnd0");
- asm volatile("bndcu 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndcu 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndcu 0x12345678(%rax,%rcx,1), %bnd0");
- asm volatile("bndcu 0x12345678(%rax,%rcx,8), %bnd0");
- asm volatile("bndcu %rax, %bnd0");
- /* bndcn r/m64, bnd */
- asm volatile("bndcn (%rax), %bnd0");
- asm volatile("bndcn (%r8), %bnd0");
- asm volatile("bndcn (0x12345678), %bnd0");
- asm volatile("bndcn (%rax), %bnd3");
- asm volatile("bndcn (%rcx,%rax,1), %bnd0");
- asm volatile("bndcn 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndcn (%rax,%rcx,1), %bnd0");
- asm volatile("bndcn (%rax,%rcx,8), %bnd0");
- asm volatile("bndcn 0x12(%rax), %bnd0");
- asm volatile("bndcn 0x12(%rbp), %bnd0");
- asm volatile("bndcn 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndcn 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndcn 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndcn 0x12(%rax,%rcx,8), %bnd0");
- asm volatile("bndcn 0x12345678(%rax), %bnd0");
- asm volatile("bndcn 0x12345678(%rbp), %bnd0");
- asm volatile("bndcn 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndcn 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndcn 0x12345678(%rax,%rcx,1), %bnd0");
- asm volatile("bndcn 0x12345678(%rax,%rcx,8), %bnd0");
- asm volatile("bndcn %rax, %bnd0");
- /* bndmov m128, bnd */
- asm volatile("bndmov (%rax), %bnd0");
- asm volatile("bndmov (%r8), %bnd0");
- asm volatile("bndmov (0x12345678), %bnd0");
- asm volatile("bndmov (%rax), %bnd3");
- asm volatile("bndmov (%rcx,%rax,1), %bnd0");
- asm volatile("bndmov 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndmov (%rax,%rcx,1), %bnd0");
- asm volatile("bndmov (%rax,%rcx,8), %bnd0");
- asm volatile("bndmov 0x12(%rax), %bnd0");
- asm volatile("bndmov 0x12(%rbp), %bnd0");
- asm volatile("bndmov 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndmov 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndmov 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndmov 0x12(%rax,%rcx,8), %bnd0");
- asm volatile("bndmov 0x12345678(%rax), %bnd0");
- asm volatile("bndmov 0x12345678(%rbp), %bnd0");
- asm volatile("bndmov 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndmov 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndmov 0x12345678(%rax,%rcx,1), %bnd0");
- asm volatile("bndmov 0x12345678(%rax,%rcx,8), %bnd0");
- /* bndmov bnd, m128 */
- asm volatile("bndmov %bnd0, (%rax)");
- asm volatile("bndmov %bnd0, (%r8)");
- asm volatile("bndmov %bnd0, (0x12345678)");
- asm volatile("bndmov %bnd3, (%rax)");
- asm volatile("bndmov %bnd0, (%rcx,%rax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(,%rax,1)");
- asm volatile("bndmov %bnd0, (%rax,%rcx,1)");
- asm volatile("bndmov %bnd0, (%rax,%rcx,8)");
- asm volatile("bndmov %bnd0, 0x12(%rax)");
- asm volatile("bndmov %bnd0, 0x12(%rbp)");
- asm volatile("bndmov %bnd0, 0x12(%rcx,%rax,1)");
- asm volatile("bndmov %bnd0, 0x12(%rbp,%rax,1)");
- asm volatile("bndmov %bnd0, 0x12(%rax,%rcx,1)");
- asm volatile("bndmov %bnd0, 0x12(%rax,%rcx,8)");
- asm volatile("bndmov %bnd0, 0x12345678(%rax)");
- asm volatile("bndmov %bnd0, 0x12345678(%rbp)");
- asm volatile("bndmov %bnd0, 0x12345678(%rcx,%rax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%rbp,%rax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%rax,%rcx,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%rax,%rcx,8)");
- /* bndmov bnd2, bnd1 */
- asm volatile("bndmov %bnd0, %bnd1");
- asm volatile("bndmov %bnd1, %bnd0");
- /* bndldx mib, bnd */
- asm volatile("bndldx (%rax), %bnd0");
- asm volatile("bndldx (%r8), %bnd0");
- asm volatile("bndldx (0x12345678), %bnd0");
- asm volatile("bndldx (%rax), %bnd3");
- asm volatile("bndldx (%rcx,%rax,1), %bnd0");
- asm volatile("bndldx 0x12345678(,%rax,1), %bnd0");
- asm volatile("bndldx (%rax,%rcx,1), %bnd0");
- asm volatile("bndldx 0x12(%rax), %bnd0");
- asm volatile("bndldx 0x12(%rbp), %bnd0");
- asm volatile("bndldx 0x12(%rcx,%rax,1), %bnd0");
- asm volatile("bndldx 0x12(%rbp,%rax,1), %bnd0");
- asm volatile("bndldx 0x12(%rax,%rcx,1), %bnd0");
- asm volatile("bndldx 0x12345678(%rax), %bnd0");
- asm volatile("bndldx 0x12345678(%rbp), %bnd0");
- asm volatile("bndldx 0x12345678(%rcx,%rax,1), %bnd0");
- asm volatile("bndldx 0x12345678(%rbp,%rax,1), %bnd0");
- asm volatile("bndldx 0x12345678(%rax,%rcx,1), %bnd0");
- /* bndstx bnd, mib */
- asm volatile("bndstx %bnd0, (%rax)");
- asm volatile("bndstx %bnd0, (%r8)");
- asm volatile("bndstx %bnd0, (0x12345678)");
- asm volatile("bndstx %bnd3, (%rax)");
- asm volatile("bndstx %bnd0, (%rcx,%rax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(,%rax,1)");
- asm volatile("bndstx %bnd0, (%rax,%rcx,1)");
- asm volatile("bndstx %bnd0, 0x12(%rax)");
- asm volatile("bndstx %bnd0, 0x12(%rbp)");
- asm volatile("bndstx %bnd0, 0x12(%rcx,%rax,1)");
- asm volatile("bndstx %bnd0, 0x12(%rbp,%rax,1)");
- asm volatile("bndstx %bnd0, 0x12(%rax,%rcx,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%rax)");
- asm volatile("bndstx %bnd0, 0x12345678(%rbp)");
- asm volatile("bndstx %bnd0, 0x12345678(%rcx,%rax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%rbp,%rax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%rax,%rcx,1)");
- /* bnd prefix on call, ret, jmp and all jcc */
- asm volatile("bnd call label1"); /* Expecting: call unconditional 0 */
- asm volatile("bnd call *(%eax)"); /* Expecting: call indirect 0 */
- asm volatile("bnd ret"); /* Expecting: ret indirect 0 */
- asm volatile("bnd jmp label1"); /* Expecting: jmp unconditional 0 */
- asm volatile("bnd jmp label1"); /* Expecting: jmp unconditional 0 */
- asm volatile("bnd jmp *(%ecx)"); /* Expecting: jmp indirect 0 */
- asm volatile("bnd jne label1"); /* Expecting: jcc conditional 0 */
- /* sha1rnds4 imm8, xmm2/m128, xmm1 */
- asm volatile("sha1rnds4 $0x0, %xmm1, %xmm0");
- asm volatile("sha1rnds4 $0x91, %xmm7, %xmm2");
- asm volatile("sha1rnds4 $0x91, %xmm8, %xmm0");
- asm volatile("sha1rnds4 $0x91, %xmm7, %xmm8");
- asm volatile("sha1rnds4 $0x91, %xmm15, %xmm8");
- asm volatile("sha1rnds4 $0x91, (%rax), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%r8), %xmm0");
- asm volatile("sha1rnds4 $0x91, (0x12345678), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%rax), %xmm3");
- asm volatile("sha1rnds4 $0x91, (%rcx,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%rax,%rcx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%rax,%rcx,8), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rax), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rbp), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rax), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rbp), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha1nexte xmm2/m128, xmm1 */
- asm volatile("sha1nexte %xmm1, %xmm0");
- asm volatile("sha1nexte %xmm7, %xmm2");
- asm volatile("sha1nexte %xmm8, %xmm0");
- asm volatile("sha1nexte %xmm7, %xmm8");
- asm volatile("sha1nexte %xmm15, %xmm8");
- asm volatile("sha1nexte (%rax), %xmm0");
- asm volatile("sha1nexte (%r8), %xmm0");
- asm volatile("sha1nexte (0x12345678), %xmm0");
- asm volatile("sha1nexte (%rax), %xmm3");
- asm volatile("sha1nexte (%rcx,%rax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha1nexte (%rax,%rcx,1), %xmm0");
- asm volatile("sha1nexte (%rax,%rcx,8), %xmm0");
- asm volatile("sha1nexte 0x12(%rax), %xmm0");
- asm volatile("sha1nexte 0x12(%rbp), %xmm0");
- asm volatile("sha1nexte 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha1nexte 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha1nexte 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha1nexte 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rax), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rbp), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha1nexte 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha1msg1 xmm2/m128, xmm1 */
- asm volatile("sha1msg1 %xmm1, %xmm0");
- asm volatile("sha1msg1 %xmm7, %xmm2");
- asm volatile("sha1msg1 %xmm8, %xmm0");
- asm volatile("sha1msg1 %xmm7, %xmm8");
- asm volatile("sha1msg1 %xmm15, %xmm8");
- asm volatile("sha1msg1 (%rax), %xmm0");
- asm volatile("sha1msg1 (%r8), %xmm0");
- asm volatile("sha1msg1 (0x12345678), %xmm0");
- asm volatile("sha1msg1 (%rax), %xmm3");
- asm volatile("sha1msg1 (%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha1msg1 (%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg1 (%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg1 0x12(%rax), %xmm0");
- asm volatile("sha1msg1 0x12(%rbp), %xmm0");
- asm volatile("sha1msg1 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg1 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha1msg1 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg1 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rax), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rbp), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg1 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha1msg2 xmm2/m128, xmm1 */
- asm volatile("sha1msg2 %xmm1, %xmm0");
- asm volatile("sha1msg2 %xmm7, %xmm2");
- asm volatile("sha1msg2 %xmm8, %xmm0");
- asm volatile("sha1msg2 %xmm7, %xmm8");
- asm volatile("sha1msg2 %xmm15, %xmm8");
- asm volatile("sha1msg2 (%rax), %xmm0");
- asm volatile("sha1msg2 (%r8), %xmm0");
- asm volatile("sha1msg2 (0x12345678), %xmm0");
- asm volatile("sha1msg2 (%rax), %xmm3");
- asm volatile("sha1msg2 (%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha1msg2 (%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg2 (%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg2 0x12(%rax), %xmm0");
- asm volatile("sha1msg2 0x12(%rbp), %xmm0");
- asm volatile("sha1msg2 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg2 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha1msg2 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg2 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rax), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rbp), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha1msg2 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha256rnds2 <XMM0>, xmm2/m128, xmm1 */
- /* Note sha256rnds2 has an implicit operand 'xmm0' */
- asm volatile("sha256rnds2 %xmm4, %xmm1");
- asm volatile("sha256rnds2 %xmm7, %xmm2");
- asm volatile("sha256rnds2 %xmm8, %xmm1");
- asm volatile("sha256rnds2 %xmm7, %xmm8");
- asm volatile("sha256rnds2 %xmm15, %xmm8");
- asm volatile("sha256rnds2 (%rax), %xmm1");
- asm volatile("sha256rnds2 (%r8), %xmm1");
- asm volatile("sha256rnds2 (0x12345678), %xmm1");
- asm volatile("sha256rnds2 (%rax), %xmm3");
- asm volatile("sha256rnds2 (%rcx,%rax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(,%rax,1), %xmm1");
- asm volatile("sha256rnds2 (%rax,%rcx,1), %xmm1");
- asm volatile("sha256rnds2 (%rax,%rcx,8), %xmm1");
- asm volatile("sha256rnds2 0x12(%rax), %xmm1");
- asm volatile("sha256rnds2 0x12(%rbp), %xmm1");
- asm volatile("sha256rnds2 0x12(%rcx,%rax,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%rbp,%rax,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%rax,%rcx,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%rax,%rcx,8), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rax), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rbp), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rcx,%rax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rbp,%rax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rax,%rcx,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rax,%rcx,8), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha256msg1 xmm2/m128, xmm1 */
- asm volatile("sha256msg1 %xmm1, %xmm0");
- asm volatile("sha256msg1 %xmm7, %xmm2");
- asm volatile("sha256msg1 %xmm8, %xmm0");
- asm volatile("sha256msg1 %xmm7, %xmm8");
- asm volatile("sha256msg1 %xmm15, %xmm8");
- asm volatile("sha256msg1 (%rax), %xmm0");
- asm volatile("sha256msg1 (%r8), %xmm0");
- asm volatile("sha256msg1 (0x12345678), %xmm0");
- asm volatile("sha256msg1 (%rax), %xmm3");
- asm volatile("sha256msg1 (%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha256msg1 (%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg1 (%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg1 0x12(%rax), %xmm0");
- asm volatile("sha256msg1 0x12(%rbp), %xmm0");
- asm volatile("sha256msg1 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg1 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha256msg1 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg1 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rax), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rbp), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg1 0x12345678(%rax,%rcx,8), %xmm15");
- /* sha256msg2 xmm2/m128, xmm1 */
- asm volatile("sha256msg2 %xmm1, %xmm0");
- asm volatile("sha256msg2 %xmm7, %xmm2");
- asm volatile("sha256msg2 %xmm8, %xmm0");
- asm volatile("sha256msg2 %xmm7, %xmm8");
- asm volatile("sha256msg2 %xmm15, %xmm8");
- asm volatile("sha256msg2 (%rax), %xmm0");
- asm volatile("sha256msg2 (%r8), %xmm0");
- asm volatile("sha256msg2 (0x12345678), %xmm0");
- asm volatile("sha256msg2 (%rax), %xmm3");
- asm volatile("sha256msg2 (%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(,%rax,1), %xmm0");
- asm volatile("sha256msg2 (%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg2 (%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg2 0x12(%rax), %xmm0");
- asm volatile("sha256msg2 0x12(%rbp), %xmm0");
- asm volatile("sha256msg2 0x12(%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg2 0x12(%rbp,%rax,1), %xmm0");
- asm volatile("sha256msg2 0x12(%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg2 0x12(%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rax), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rbp), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rcx,%rax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rbp,%rax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rax,%rcx,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rax,%rcx,8), %xmm0");
- asm volatile("sha256msg2 0x12345678(%rax,%rcx,8), %xmm15");
- /* clflushopt m8 */
- asm volatile("clflushopt (%rax)");
- asm volatile("clflushopt (%r8)");
- asm volatile("clflushopt (0x12345678)");
- asm volatile("clflushopt 0x12345678(%rax,%rcx,8)");
- asm volatile("clflushopt 0x12345678(%r8,%rcx,8)");
- /* Also check instructions in the same group encoding as clflushopt */
- asm volatile("clflush (%rax)");
- asm volatile("clflush (%r8)");
- asm volatile("sfence");
- /* clwb m8 */
- asm volatile("clwb (%rax)");
- asm volatile("clwb (%r8)");
- asm volatile("clwb (0x12345678)");
- asm volatile("clwb 0x12345678(%rax,%rcx,8)");
- asm volatile("clwb 0x12345678(%r8,%rcx,8)");
- /* Also check instructions in the same group encoding as clwb */
- asm volatile("xsaveopt (%rax)");
- asm volatile("xsaveopt (%r8)");
- asm volatile("mfence");
- /* xsavec mem */
- asm volatile("xsavec (%rax)");
- asm volatile("xsavec (%r8)");
- asm volatile("xsavec (0x12345678)");
- asm volatile("xsavec 0x12345678(%rax,%rcx,8)");
- asm volatile("xsavec 0x12345678(%r8,%rcx,8)");
- /* xsaves mem */
- asm volatile("xsaves (%rax)");
- asm volatile("xsaves (%r8)");
- asm volatile("xsaves (0x12345678)");
- asm volatile("xsaves 0x12345678(%rax,%rcx,8)");
- asm volatile("xsaves 0x12345678(%r8,%rcx,8)");
- /* xrstors mem */
- asm volatile("xrstors (%rax)");
- asm volatile("xrstors (%r8)");
- asm volatile("xrstors (0x12345678)");
- asm volatile("xrstors 0x12345678(%rax,%rcx,8)");
- asm volatile("xrstors 0x12345678(%r8,%rcx,8)");
- /* ptwrite */
- asm volatile("ptwrite (%rax)");
- asm volatile("ptwrite (%r8)");
- asm volatile("ptwrite (0x12345678)");
- asm volatile("ptwrite 0x12345678(%rax,%rcx,8)");
- asm volatile("ptwrite 0x12345678(%r8,%rcx,8)");
- asm volatile("ptwritel (%rax)");
- asm volatile("ptwritel (%r8)");
- asm volatile("ptwritel (0x12345678)");
- asm volatile("ptwritel 0x12345678(%rax,%rcx,8)");
- asm volatile("ptwritel 0x12345678(%r8,%rcx,8)");
- asm volatile("ptwriteq (%rax)");
- asm volatile("ptwriteq (%r8)");
- asm volatile("ptwriteq (0x12345678)");
- asm volatile("ptwriteq 0x12345678(%rax,%rcx,8)");
- asm volatile("ptwriteq 0x12345678(%r8,%rcx,8)");
- #else /* #ifdef __x86_64__ */
- /* bound r32, mem (same op code as EVEX prefix) */
- asm volatile("bound %eax, 0x12345678(%ecx)");
- asm volatile("bound %ecx, 0x12345678(%eax)");
- asm volatile("bound %edx, 0x12345678(%eax)");
- asm volatile("bound %ebx, 0x12345678(%eax)");
- asm volatile("bound %esp, 0x12345678(%eax)");
- asm volatile("bound %ebp, 0x12345678(%eax)");
- asm volatile("bound %esi, 0x12345678(%eax)");
- asm volatile("bound %edi, 0x12345678(%eax)");
- asm volatile("bound %ecx, (%eax)");
- asm volatile("bound %eax, (0x12345678)");
- asm volatile("bound %edx, (%ecx,%eax,1)");
- asm volatile("bound %edx, 0x12345678(,%eax,1)");
- asm volatile("bound %edx, (%eax,%ecx,1)");
- asm volatile("bound %edx, (%eax,%ecx,8)");
- asm volatile("bound %edx, 0x12(%eax)");
- asm volatile("bound %edx, 0x12(%ebp)");
- asm volatile("bound %edx, 0x12(%ecx,%eax,1)");
- asm volatile("bound %edx, 0x12(%ebp,%eax,1)");
- asm volatile("bound %edx, 0x12(%eax,%ecx,1)");
- asm volatile("bound %edx, 0x12(%eax,%ecx,8)");
- asm volatile("bound %edx, 0x12345678(%eax)");
- asm volatile("bound %edx, 0x12345678(%ebp)");
- asm volatile("bound %edx, 0x12345678(%ecx,%eax,1)");
- asm volatile("bound %edx, 0x12345678(%ebp,%eax,1)");
- asm volatile("bound %edx, 0x12345678(%eax,%ecx,1)");
- asm volatile("bound %edx, 0x12345678(%eax,%ecx,8)");
- /* bound r16, mem (same op code as EVEX prefix) */
- asm volatile("bound %ax, 0x12345678(%ecx)");
- asm volatile("bound %cx, 0x12345678(%eax)");
- asm volatile("bound %dx, 0x12345678(%eax)");
- asm volatile("bound %bx, 0x12345678(%eax)");
- asm volatile("bound %sp, 0x12345678(%eax)");
- asm volatile("bound %bp, 0x12345678(%eax)");
- asm volatile("bound %si, 0x12345678(%eax)");
- asm volatile("bound %di, 0x12345678(%eax)");
- asm volatile("bound %cx, (%eax)");
- asm volatile("bound %ax, (0x12345678)");
- asm volatile("bound %dx, (%ecx,%eax,1)");
- asm volatile("bound %dx, 0x12345678(,%eax,1)");
- asm volatile("bound %dx, (%eax,%ecx,1)");
- asm volatile("bound %dx, (%eax,%ecx,8)");
- asm volatile("bound %dx, 0x12(%eax)");
- asm volatile("bound %dx, 0x12(%ebp)");
- asm volatile("bound %dx, 0x12(%ecx,%eax,1)");
- asm volatile("bound %dx, 0x12(%ebp,%eax,1)");
- asm volatile("bound %dx, 0x12(%eax,%ecx,1)");
- asm volatile("bound %dx, 0x12(%eax,%ecx,8)");
- asm volatile("bound %dx, 0x12345678(%eax)");
- asm volatile("bound %dx, 0x12345678(%ebp)");
- asm volatile("bound %dx, 0x12345678(%ecx,%eax,1)");
- asm volatile("bound %dx, 0x12345678(%ebp,%eax,1)");
- asm volatile("bound %dx, 0x12345678(%eax,%ecx,1)");
- asm volatile("bound %dx, 0x12345678(%eax,%ecx,8)");
- /* AVX-512: Instructions with the same op codes as Mask Instructions */
- asm volatile("cmovno %eax,%ebx");
- asm volatile("cmovno 0x12345678(%eax),%ecx");
- asm volatile("cmovno 0x12345678(%eax),%cx");
- asm volatile("cmove %eax,%ebx");
- asm volatile("cmove 0x12345678(%eax),%ecx");
- asm volatile("cmove 0x12345678(%eax),%cx");
- asm volatile("seto 0x12345678(%eax)");
- asm volatile("setno 0x12345678(%eax)");
- asm volatile("setb 0x12345678(%eax)");
- asm volatile("setc 0x12345678(%eax)");
- asm volatile("setnae 0x12345678(%eax)");
- asm volatile("setae 0x12345678(%eax)");
- asm volatile("setnb 0x12345678(%eax)");
- asm volatile("setnc 0x12345678(%eax)");
- asm volatile("sets 0x12345678(%eax)");
- asm volatile("setns 0x12345678(%eax)");
- /* AVX-512: Mask Instructions */
- asm volatile("kandw %k7,%k6,%k5");
- asm volatile("kandq %k7,%k6,%k5");
- asm volatile("kandb %k7,%k6,%k5");
- asm volatile("kandd %k7,%k6,%k5");
- asm volatile("kandnw %k7,%k6,%k5");
- asm volatile("kandnq %k7,%k6,%k5");
- asm volatile("kandnb %k7,%k6,%k5");
- asm volatile("kandnd %k7,%k6,%k5");
- asm volatile("knotw %k7,%k6");
- asm volatile("knotq %k7,%k6");
- asm volatile("knotb %k7,%k6");
- asm volatile("knotd %k7,%k6");
- asm volatile("korw %k7,%k6,%k5");
- asm volatile("korq %k7,%k6,%k5");
- asm volatile("korb %k7,%k6,%k5");
- asm volatile("kord %k7,%k6,%k5");
- asm volatile("kxnorw %k7,%k6,%k5");
- asm volatile("kxnorq %k7,%k6,%k5");
- asm volatile("kxnorb %k7,%k6,%k5");
- asm volatile("kxnord %k7,%k6,%k5");
- asm volatile("kxorw %k7,%k6,%k5");
- asm volatile("kxorq %k7,%k6,%k5");
- asm volatile("kxorb %k7,%k6,%k5");
- asm volatile("kxord %k7,%k6,%k5");
- asm volatile("kaddw %k7,%k6,%k5");
- asm volatile("kaddq %k7,%k6,%k5");
- asm volatile("kaddb %k7,%k6,%k5");
- asm volatile("kaddd %k7,%k6,%k5");
- asm volatile("kunpckbw %k7,%k6,%k5");
- asm volatile("kunpckwd %k7,%k6,%k5");
- asm volatile("kunpckdq %k7,%k6,%k5");
- asm volatile("kmovw %k6,%k5");
- asm volatile("kmovw (%ecx),%k5");
- asm volatile("kmovw 0x123(%eax,%ecx,8),%k5");
- asm volatile("kmovw %k5,(%ecx)");
- asm volatile("kmovw %k5,0x123(%eax,%ecx,8)");
- asm volatile("kmovw %eax,%k5");
- asm volatile("kmovw %ebp,%k5");
- asm volatile("kmovw %k5,%eax");
- asm volatile("kmovw %k5,%ebp");
- asm volatile("kmovq %k6,%k5");
- asm volatile("kmovq (%ecx),%k5");
- asm volatile("kmovq 0x123(%eax,%ecx,8),%k5");
- asm volatile("kmovq %k5,(%ecx)");
- asm volatile("kmovq %k5,0x123(%eax,%ecx,8)");
- asm volatile("kmovb %k6,%k5");
- asm volatile("kmovb (%ecx),%k5");
- asm volatile("kmovb 0x123(%eax,%ecx,8),%k5");
- asm volatile("kmovb %k5,(%ecx)");
- asm volatile("kmovb %k5,0x123(%eax,%ecx,8)");
- asm volatile("kmovb %eax,%k5");
- asm volatile("kmovb %ebp,%k5");
- asm volatile("kmovb %k5,%eax");
- asm volatile("kmovb %k5,%ebp");
- asm volatile("kmovd %k6,%k5");
- asm volatile("kmovd (%ecx),%k5");
- asm volatile("kmovd 0x123(%eax,%ecx,8),%k5");
- asm volatile("kmovd %k5,(%ecx)");
- asm volatile("kmovd %k5,0x123(%eax,%ecx,8)");
- asm volatile("kmovd %eax,%k5");
- asm volatile("kmovd %ebp,%k5");
- asm volatile("kmovd %k5,%eax");
- asm volatile("kmovd %k5,%ebp");
- asm volatile("kortestw %k6,%k5");
- asm volatile("kortestq %k6,%k5");
- asm volatile("kortestb %k6,%k5");
- asm volatile("kortestd %k6,%k5");
- asm volatile("ktestw %k6,%k5");
- asm volatile("ktestq %k6,%k5");
- asm volatile("ktestb %k6,%k5");
- asm volatile("ktestd %k6,%k5");
- asm volatile("kshiftrw $0x12,%k6,%k5");
- asm volatile("kshiftrq $0x5b,%k6,%k5");
- asm volatile("kshiftlw $0x12,%k6,%k5");
- asm volatile("kshiftlq $0x5b,%k6,%k5");
- /* AVX-512: Op code 0f 5b */
- asm volatile("vcvtdq2ps %xmm5,%xmm6");
- asm volatile("vcvtqq2ps %zmm5,%ymm6{%k7}");
- asm volatile("vcvtps2dq %xmm5,%xmm6");
- asm volatile("vcvttps2dq %xmm5,%xmm6");
- /* AVX-512: Op code 0f 6f */
- asm volatile("movq %mm0,%mm4");
- asm volatile("vmovdqa %ymm4,%ymm6");
- asm volatile("vmovdqa32 %zmm5,%zmm6");
- asm volatile("vmovdqa64 %zmm5,%zmm6");
- asm volatile("vmovdqu %ymm4,%ymm6");
- asm volatile("vmovdqu32 %zmm5,%zmm6");
- asm volatile("vmovdqu64 %zmm5,%zmm6");
- asm volatile("vmovdqu8 %zmm5,%zmm6");
- asm volatile("vmovdqu16 %zmm5,%zmm6");
- /* AVX-512: Op code 0f 78 */
- asm volatile("vmread %eax,%ebx");
- asm volatile("vcvttps2udq %zmm5,%zmm6");
- asm volatile("vcvttpd2udq %zmm5,%ymm6{%k7}");
- asm volatile("vcvttsd2usi %xmm6,%eax");
- asm volatile("vcvttss2usi %xmm6,%eax");
- asm volatile("vcvttps2uqq %ymm5,%zmm6{%k7}");
- asm volatile("vcvttpd2uqq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 79 */
- asm volatile("vmwrite %eax,%ebx");
- asm volatile("vcvtps2udq %zmm5,%zmm6");
- asm volatile("vcvtpd2udq %zmm5,%ymm6{%k7}");
- asm volatile("vcvtsd2usi %xmm6,%eax");
- asm volatile("vcvtss2usi %xmm6,%eax");
- asm volatile("vcvtps2uqq %ymm5,%zmm6{%k7}");
- asm volatile("vcvtpd2uqq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 7a */
- asm volatile("vcvtudq2pd %ymm5,%zmm6{%k7}");
- asm volatile("vcvtuqq2pd %zmm5,%zmm6");
- asm volatile("vcvtudq2ps %zmm5,%zmm6");
- asm volatile("vcvtuqq2ps %zmm5,%ymm6{%k7}");
- asm volatile("vcvttps2qq %ymm5,%zmm6{%k7}");
- asm volatile("vcvttpd2qq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 7b */
- asm volatile("vcvtusi2sd %eax,%xmm5,%xmm6");
- asm volatile("vcvtusi2ss %eax,%xmm5,%xmm6");
- asm volatile("vcvtps2qq %ymm5,%zmm6{%k7}");
- asm volatile("vcvtpd2qq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 7f */
- asm volatile("movq.s %mm0,%mm4");
- asm volatile("vmovdqa.s %ymm5,%ymm6");
- asm volatile("vmovdqa32.s %zmm5,%zmm6");
- asm volatile("vmovdqa64.s %zmm5,%zmm6");
- asm volatile("vmovdqu.s %ymm5,%ymm6");
- asm volatile("vmovdqu32.s %zmm5,%zmm6");
- asm volatile("vmovdqu64.s %zmm5,%zmm6");
- asm volatile("vmovdqu8.s %zmm5,%zmm6");
- asm volatile("vmovdqu16.s %zmm5,%zmm6");
- /* AVX-512: Op code 0f db */
- asm volatile("pand %mm1,%mm2");
- asm volatile("pand %xmm1,%xmm2");
- asm volatile("vpand %ymm4,%ymm6,%ymm2");
- asm volatile("vpandd %zmm4,%zmm5,%zmm6");
- asm volatile("vpandq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f df */
- asm volatile("pandn %mm1,%mm2");
- asm volatile("pandn %xmm1,%xmm2");
- asm volatile("vpandn %ymm4,%ymm6,%ymm2");
- asm volatile("vpandnd %zmm4,%zmm5,%zmm6");
- asm volatile("vpandnq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f e6 */
- asm volatile("vcvttpd2dq %xmm1,%xmm2");
- asm volatile("vcvtdq2pd %xmm5,%xmm6");
- asm volatile("vcvtdq2pd %ymm5,%zmm6{%k7}");
- asm volatile("vcvtqq2pd %zmm5,%zmm6");
- asm volatile("vcvtpd2dq %xmm1,%xmm2");
- /* AVX-512: Op code 0f eb */
- asm volatile("por %mm4,%mm6");
- asm volatile("vpor %ymm4,%ymm6,%ymm2");
- asm volatile("vpord %zmm4,%zmm5,%zmm6");
- asm volatile("vporq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f ef */
- asm volatile("pxor %mm4,%mm6");
- asm volatile("vpxor %ymm4,%ymm6,%ymm2");
- asm volatile("vpxord %zmm4,%zmm5,%zmm6");
- asm volatile("vpxorq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 10 */
- asm volatile("pblendvb %xmm1,%xmm0");
- asm volatile("vpsrlvw %zmm4,%zmm5,%zmm6");
- asm volatile("vpmovuswb %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 11 */
- asm volatile("vpmovusdb %zmm5,%xmm6{%k7}");
- asm volatile("vpsravw %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 12 */
- asm volatile("vpmovusqb %zmm5,%xmm6{%k7}");
- asm volatile("vpsllvw %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 13 */
- asm volatile("vcvtph2ps %xmm3,%ymm5");
- asm volatile("vcvtph2ps %ymm5,%zmm6{%k7}");
- asm volatile("vpmovusdw %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 14 */
- asm volatile("blendvps %xmm1,%xmm0");
- asm volatile("vpmovusqw %zmm5,%xmm6{%k7}");
- asm volatile("vprorvd %zmm4,%zmm5,%zmm6");
- asm volatile("vprorvq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 15 */
- asm volatile("blendvpd %xmm1,%xmm0");
- asm volatile("vpmovusqd %zmm5,%ymm6{%k7}");
- asm volatile("vprolvd %zmm4,%zmm5,%zmm6");
- asm volatile("vprolvq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 16 */
- asm volatile("vpermps %ymm4,%ymm6,%ymm2");
- asm volatile("vpermps %ymm4,%ymm6,%ymm2{%k7}");
- asm volatile("vpermpd %ymm4,%ymm6,%ymm2{%k7}");
- /* AVX-512: Op code 0f 38 19 */
- asm volatile("vbroadcastsd %xmm4,%ymm6");
- asm volatile("vbroadcastf32x2 %xmm7,%zmm6");
- /* AVX-512: Op code 0f 38 1a */
- asm volatile("vbroadcastf128 (%ecx),%ymm4");
- asm volatile("vbroadcastf32x4 (%ecx),%zmm6");
- asm volatile("vbroadcastf64x2 (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 1b */
- asm volatile("vbroadcastf32x8 (%ecx),%zmm6");
- asm volatile("vbroadcastf64x4 (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 1f */
- asm volatile("vpabsq %zmm4,%zmm6");
- /* AVX-512: Op code 0f 38 20 */
- asm volatile("vpmovsxbw %xmm4,%xmm5");
- asm volatile("vpmovswb %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 21 */
- asm volatile("vpmovsxbd %xmm4,%ymm6");
- asm volatile("vpmovsdb %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 22 */
- asm volatile("vpmovsxbq %xmm4,%ymm4");
- asm volatile("vpmovsqb %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 23 */
- asm volatile("vpmovsxwd %xmm4,%ymm4");
- asm volatile("vpmovsdw %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 24 */
- asm volatile("vpmovsxwq %xmm4,%ymm6");
- asm volatile("vpmovsqw %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 25 */
- asm volatile("vpmovsxdq %xmm4,%ymm4");
- asm volatile("vpmovsqd %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 26 */
- asm volatile("vptestmb %zmm5,%zmm6,%k5");
- asm volatile("vptestmw %zmm5,%zmm6,%k5");
- asm volatile("vptestnmb %zmm4,%zmm5,%k5");
- asm volatile("vptestnmw %zmm4,%zmm5,%k5");
- /* AVX-512: Op code 0f 38 27 */
- asm volatile("vptestmd %zmm5,%zmm6,%k5");
- asm volatile("vptestmq %zmm5,%zmm6,%k5");
- asm volatile("vptestnmd %zmm4,%zmm5,%k5");
- asm volatile("vptestnmq %zmm4,%zmm5,%k5");
- /* AVX-512: Op code 0f 38 28 */
- asm volatile("vpmuldq %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovm2b %k5,%zmm6");
- asm volatile("vpmovm2w %k5,%zmm6");
- /* AVX-512: Op code 0f 38 29 */
- asm volatile("vpcmpeqq %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovb2m %zmm6,%k5");
- asm volatile("vpmovw2m %zmm6,%k5");
- /* AVX-512: Op code 0f 38 2a */
- asm volatile("vmovntdqa (%ecx),%ymm4");
- asm volatile("vpbroadcastmb2q %k6,%zmm1");
- /* AVX-512: Op code 0f 38 2c */
- asm volatile("vmaskmovps (%ecx),%ymm4,%ymm6");
- asm volatile("vscalefps %zmm4,%zmm5,%zmm6");
- asm volatile("vscalefpd %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 2d */
- asm volatile("vmaskmovpd (%ecx),%ymm4,%ymm6");
- asm volatile("vscalefss %xmm4,%xmm5,%xmm6{%k7}");
- asm volatile("vscalefsd %xmm4,%xmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 30 */
- asm volatile("vpmovzxbw %xmm4,%ymm4");
- asm volatile("vpmovwb %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 31 */
- asm volatile("vpmovzxbd %xmm4,%ymm6");
- asm volatile("vpmovdb %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 32 */
- asm volatile("vpmovzxbq %xmm4,%ymm4");
- asm volatile("vpmovqb %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 33 */
- asm volatile("vpmovzxwd %xmm4,%ymm4");
- asm volatile("vpmovdw %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 34 */
- asm volatile("vpmovzxwq %xmm4,%ymm6");
- asm volatile("vpmovqw %zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 35 */
- asm volatile("vpmovzxdq %xmm4,%ymm4");
- asm volatile("vpmovqd %zmm5,%ymm6{%k7}");
- /* AVX-512: Op code 0f 38 36 */
- asm volatile("vpermd %ymm4,%ymm6,%ymm2");
- asm volatile("vpermd %ymm4,%ymm6,%ymm2{%k7}");
- asm volatile("vpermq %ymm4,%ymm6,%ymm2{%k7}");
- /* AVX-512: Op code 0f 38 38 */
- asm volatile("vpminsb %ymm4,%ymm6,%ymm2");
- asm volatile("vpmovm2d %k5,%zmm6");
- asm volatile("vpmovm2q %k5,%zmm6");
- /* AVX-512: Op code 0f 38 39 */
- asm volatile("vpminsd %xmm1,%xmm2,%xmm3");
- asm volatile("vpminsd %zmm4,%zmm5,%zmm6");
- asm volatile("vpminsq %zmm4,%zmm5,%zmm6");
- asm volatile("vpmovd2m %zmm6,%k5");
- asm volatile("vpmovq2m %zmm6,%k5");
- /* AVX-512: Op code 0f 38 3a */
- asm volatile("vpminuw %ymm4,%ymm6,%ymm2");
- asm volatile("vpbroadcastmw2d %k6,%zmm6");
- /* AVX-512: Op code 0f 38 3b */
- asm volatile("vpminud %ymm4,%ymm6,%ymm2");
- asm volatile("vpminud %zmm4,%zmm5,%zmm6");
- asm volatile("vpminuq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 3d */
- asm volatile("vpmaxsd %ymm4,%ymm6,%ymm2");
- asm volatile("vpmaxsd %zmm4,%zmm5,%zmm6");
- asm volatile("vpmaxsq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 3f */
- asm volatile("vpmaxud %ymm4,%ymm6,%ymm2");
- asm volatile("vpmaxud %zmm4,%zmm5,%zmm6");
- asm volatile("vpmaxuq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 40 */
- asm volatile("vpmulld %ymm4,%ymm6,%ymm2");
- asm volatile("vpmulld %zmm4,%zmm5,%zmm6");
- asm volatile("vpmullq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 42 */
- asm volatile("vgetexpps %zmm5,%zmm6");
- asm volatile("vgetexppd %zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 43 */
- asm volatile("vgetexpss %xmm4,%xmm5,%xmm6{%k7}");
- asm volatile("vgetexpsd %xmm2,%xmm3,%xmm4{%k7}");
- /* AVX-512: Op code 0f 38 44 */
- asm volatile("vplzcntd %zmm5,%zmm6");
- asm volatile("vplzcntq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 46 */
- asm volatile("vpsravd %ymm4,%ymm6,%ymm2");
- asm volatile("vpsravd %zmm4,%zmm5,%zmm6");
- asm volatile("vpsravq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 4c */
- asm volatile("vrcp14ps %zmm5,%zmm6");
- asm volatile("vrcp14pd %zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 4d */
- asm volatile("vrcp14ss %xmm4,%xmm5,%xmm6{%k7}");
- asm volatile("vrcp14sd %xmm4,%xmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 4e */
- asm volatile("vrsqrt14ps %zmm5,%zmm6");
- asm volatile("vrsqrt14pd %zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 4f */
- asm volatile("vrsqrt14ss %xmm4,%xmm5,%xmm6{%k7}");
- asm volatile("vrsqrt14sd %xmm4,%xmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 38 59 */
- asm volatile("vpbroadcastq %xmm4,%xmm6");
- asm volatile("vbroadcasti32x2 %xmm7,%zmm6");
- /* AVX-512: Op code 0f 38 5a */
- asm volatile("vbroadcasti128 (%ecx),%ymm4");
- asm volatile("vbroadcasti32x4 (%ecx),%zmm6");
- asm volatile("vbroadcasti64x2 (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 5b */
- asm volatile("vbroadcasti32x8 (%ecx),%zmm6");
- asm volatile("vbroadcasti64x4 (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 64 */
- asm volatile("vpblendmd %zmm4,%zmm5,%zmm6");
- asm volatile("vpblendmq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 65 */
- asm volatile("vblendmps %zmm4,%zmm5,%zmm6");
- asm volatile("vblendmpd %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 66 */
- asm volatile("vpblendmb %zmm4,%zmm5,%zmm6");
- asm volatile("vpblendmw %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 75 */
- asm volatile("vpermi2b %zmm4,%zmm5,%zmm6");
- asm volatile("vpermi2w %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 76 */
- asm volatile("vpermi2d %zmm4,%zmm5,%zmm6");
- asm volatile("vpermi2q %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 77 */
- asm volatile("vpermi2ps %zmm4,%zmm5,%zmm6");
- asm volatile("vpermi2pd %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 7a */
- asm volatile("vpbroadcastb %eax,%xmm3");
- /* AVX-512: Op code 0f 38 7b */
- asm volatile("vpbroadcastw %eax,%xmm3");
- /* AVX-512: Op code 0f 38 7c */
- asm volatile("vpbroadcastd %eax,%xmm3");
- /* AVX-512: Op code 0f 38 7d */
- asm volatile("vpermt2b %zmm4,%zmm5,%zmm6");
- asm volatile("vpermt2w %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 7e */
- asm volatile("vpermt2d %zmm4,%zmm5,%zmm6");
- asm volatile("vpermt2q %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 7f */
- asm volatile("vpermt2ps %zmm4,%zmm5,%zmm6");
- asm volatile("vpermt2pd %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 83 */
- asm volatile("vpmultishiftqb %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 88 */
- asm volatile("vexpandps (%ecx),%zmm6");
- asm volatile("vexpandpd (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 89 */
- asm volatile("vpexpandd (%ecx),%zmm6");
- asm volatile("vpexpandq (%ecx),%zmm6");
- /* AVX-512: Op code 0f 38 8a */
- asm volatile("vcompressps %zmm6,(%ecx)");
- asm volatile("vcompresspd %zmm6,(%ecx)");
- /* AVX-512: Op code 0f 38 8b */
- asm volatile("vpcompressd %zmm6,(%ecx)");
- asm volatile("vpcompressq %zmm6,(%ecx)");
- /* AVX-512: Op code 0f 38 8d */
- asm volatile("vpermb %zmm4,%zmm5,%zmm6");
- asm volatile("vpermw %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 90 */
- asm volatile("vpgatherdd %xmm2,0x02(%ebp,%xmm7,2),%xmm1");
- asm volatile("vpgatherdq %xmm2,0x04(%ebp,%xmm7,2),%xmm1");
- asm volatile("vpgatherdd 0x7b(%ebp,%zmm7,8),%zmm6{%k1}");
- asm volatile("vpgatherdq 0x7b(%ebp,%ymm7,8),%zmm6{%k1}");
- /* AVX-512: Op code 0f 38 91 */
- asm volatile("vpgatherqd %xmm2,0x02(%ebp,%xmm7,2),%xmm1");
- asm volatile("vpgatherqq %xmm2,0x02(%ebp,%xmm7,2),%xmm1");
- asm volatile("vpgatherqd 0x7b(%ebp,%zmm7,8),%ymm6{%k1}");
- asm volatile("vpgatherqq 0x7b(%ebp,%zmm7,8),%zmm6{%k1}");
- /* AVX-512: Op code 0f 38 a0 */
- asm volatile("vpscatterdd %zmm6,0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vpscatterdq %zmm6,0x7b(%ebp,%ymm7,8){%k1}");
- /* AVX-512: Op code 0f 38 a1 */
- asm volatile("vpscatterqd %ymm6,0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vpscatterqq %ymm6,0x7b(%ebp,%ymm7,8){%k1}");
- /* AVX-512: Op code 0f 38 a2 */
- asm volatile("vscatterdps %zmm6,0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterdpd %zmm6,0x7b(%ebp,%ymm7,8){%k1}");
- /* AVX-512: Op code 0f 38 a3 */
- asm volatile("vscatterqps %ymm6,0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterqpd %zmm6,0x7b(%ebp,%zmm7,8){%k1}");
- /* AVX-512: Op code 0f 38 b4 */
- asm volatile("vpmadd52luq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 b5 */
- asm volatile("vpmadd52huq %zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 c4 */
- asm volatile("vpconflictd %zmm5,%zmm6");
- asm volatile("vpconflictq %zmm5,%zmm6");
- /* AVX-512: Op code 0f 38 c8 */
- asm volatile("vexp2ps %zmm6,%zmm7");
- asm volatile("vexp2pd %zmm6,%zmm7");
- /* AVX-512: Op code 0f 38 ca */
- asm volatile("vrcp28ps %zmm6,%zmm7");
- asm volatile("vrcp28pd %zmm6,%zmm7");
- /* AVX-512: Op code 0f 38 cb */
- asm volatile("vrcp28ss %xmm5,%xmm6,%xmm7{%k7}");
- asm volatile("vrcp28sd %xmm5,%xmm6,%xmm7{%k7}");
- /* AVX-512: Op code 0f 38 cc */
- asm volatile("vrsqrt28ps %zmm6,%zmm7");
- asm volatile("vrsqrt28pd %zmm6,%zmm7");
- /* AVX-512: Op code 0f 38 cd */
- asm volatile("vrsqrt28ss %xmm5,%xmm6,%xmm7{%k7}");
- asm volatile("vrsqrt28sd %xmm5,%xmm6,%xmm7{%k7}");
- /* AVX-512: Op code 0f 3a 03 */
- asm volatile("valignd $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("valignq $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 08 */
- asm volatile("vroundps $0x5,%ymm6,%ymm2");
- asm volatile("vrndscaleps $0x12,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 3a 09 */
- asm volatile("vroundpd $0x5,%ymm6,%ymm2");
- asm volatile("vrndscalepd $0x12,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 3a 0a */
- asm volatile("vroundss $0x5,%xmm4,%xmm6,%xmm2");
- asm volatile("vrndscaless $0x12,%xmm4,%xmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 3a 0b */
- asm volatile("vroundsd $0x5,%xmm4,%xmm6,%xmm2");
- asm volatile("vrndscalesd $0x12,%xmm4,%xmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 3a 18 */
- asm volatile("vinsertf128 $0x5,%xmm4,%ymm4,%ymm6");
- asm volatile("vinsertf32x4 $0x12,%xmm4,%zmm5,%zmm6{%k7}");
- asm volatile("vinsertf64x2 $0x12,%xmm4,%zmm5,%zmm6{%k7}");
- /* AVX-512: Op code 0f 3a 19 */
- asm volatile("vextractf128 $0x5,%ymm4,%xmm4");
- asm volatile("vextractf32x4 $0x12,%zmm5,%xmm6{%k7}");
- asm volatile("vextractf64x2 $0x12,%zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 3a 1a */
- asm volatile("vinsertf32x8 $0x12,%ymm5,%zmm6,%zmm7{%k7}");
- asm volatile("vinsertf64x4 $0x12,%ymm5,%zmm6,%zmm7{%k7}");
- /* AVX-512: Op code 0f 3a 1b */
- asm volatile("vextractf32x8 $0x12,%zmm6,%ymm7{%k7}");
- asm volatile("vextractf64x4 $0x12,%zmm6,%ymm7{%k7}");
- /* AVX-512: Op code 0f 3a 1e */
- asm volatile("vpcmpud $0x12,%zmm6,%zmm7,%k5");
- asm volatile("vpcmpuq $0x12,%zmm6,%zmm7,%k5");
- /* AVX-512: Op code 0f 3a 1f */
- asm volatile("vpcmpd $0x12,%zmm6,%zmm7,%k5");
- asm volatile("vpcmpq $0x12,%zmm6,%zmm7,%k5");
- /* AVX-512: Op code 0f 3a 23 */
- asm volatile("vshuff32x4 $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("vshuff64x2 $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 25 */
- asm volatile("vpternlogd $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("vpternlogq $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 26 */
- asm volatile("vgetmantps $0x12,%zmm6,%zmm7");
- asm volatile("vgetmantpd $0x12,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 27 */
- asm volatile("vgetmantss $0x12,%xmm5,%xmm6,%xmm7{%k7}");
- asm volatile("vgetmantsd $0x12,%xmm5,%xmm6,%xmm7{%k7}");
- /* AVX-512: Op code 0f 3a 38 */
- asm volatile("vinserti128 $0x5,%xmm4,%ymm4,%ymm6");
- asm volatile("vinserti32x4 $0x12,%xmm4,%zmm5,%zmm6{%k7}");
- asm volatile("vinserti64x2 $0x12,%xmm4,%zmm5,%zmm6{%k7}");
- /* AVX-512: Op code 0f 3a 39 */
- asm volatile("vextracti128 $0x5,%ymm4,%xmm6");
- asm volatile("vextracti32x4 $0x12,%zmm5,%xmm6{%k7}");
- asm volatile("vextracti64x2 $0x12,%zmm5,%xmm6{%k7}");
- /* AVX-512: Op code 0f 3a 3a */
- asm volatile("vinserti32x8 $0x12,%ymm5,%zmm6,%zmm7{%k7}");
- asm volatile("vinserti64x4 $0x12,%ymm5,%zmm6,%zmm7{%k7}");
- /* AVX-512: Op code 0f 3a 3b */
- asm volatile("vextracti32x8 $0x12,%zmm6,%ymm7{%k7}");
- asm volatile("vextracti64x4 $0x12,%zmm6,%ymm7{%k7}");
- /* AVX-512: Op code 0f 3a 3e */
- asm volatile("vpcmpub $0x12,%zmm6,%zmm7,%k5");
- asm volatile("vpcmpuw $0x12,%zmm6,%zmm7,%k5");
- /* AVX-512: Op code 0f 3a 3f */
- asm volatile("vpcmpb $0x12,%zmm6,%zmm7,%k5");
- asm volatile("vpcmpw $0x12,%zmm6,%zmm7,%k5");
- /* AVX-512: Op code 0f 3a 42 */
- asm volatile("vmpsadbw $0x5,%ymm4,%ymm6,%ymm2");
- asm volatile("vdbpsadbw $0x12,%zmm4,%zmm5,%zmm6");
- /* AVX-512: Op code 0f 3a 43 */
- asm volatile("vshufi32x4 $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("vshufi64x2 $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 50 */
- asm volatile("vrangeps $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("vrangepd $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 51 */
- asm volatile("vrangess $0x12,%xmm5,%xmm6,%xmm7");
- asm volatile("vrangesd $0x12,%xmm5,%xmm6,%xmm7");
- /* AVX-512: Op code 0f 3a 54 */
- asm volatile("vfixupimmps $0x12,%zmm5,%zmm6,%zmm7");
- asm volatile("vfixupimmpd $0x12,%zmm5,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 55 */
- asm volatile("vfixupimmss $0x12,%xmm5,%xmm6,%xmm7{%k7}");
- asm volatile("vfixupimmsd $0x12,%xmm5,%xmm6,%xmm7{%k7}");
- /* AVX-512: Op code 0f 3a 56 */
- asm volatile("vreduceps $0x12,%zmm6,%zmm7");
- asm volatile("vreducepd $0x12,%zmm6,%zmm7");
- /* AVX-512: Op code 0f 3a 57 */
- asm volatile("vreducess $0x12,%xmm5,%xmm6,%xmm7");
- asm volatile("vreducesd $0x12,%xmm5,%xmm6,%xmm7");
- /* AVX-512: Op code 0f 3a 66 */
- asm volatile("vfpclassps $0x12,%zmm7,%k5");
- asm volatile("vfpclasspd $0x12,%zmm7,%k5");
- /* AVX-512: Op code 0f 3a 67 */
- asm volatile("vfpclassss $0x12,%xmm7,%k5");
- asm volatile("vfpclasssd $0x12,%xmm7,%k5");
- /* AVX-512: Op code 0f 72 (Grp13) */
- asm volatile("vprord $0x12,%zmm5,%zmm6");
- asm volatile("vprorq $0x12,%zmm5,%zmm6");
- asm volatile("vprold $0x12,%zmm5,%zmm6");
- asm volatile("vprolq $0x12,%zmm5,%zmm6");
- asm volatile("psrad $0x2,%mm6");
- asm volatile("vpsrad $0x5,%ymm6,%ymm2");
- asm volatile("vpsrad $0x5,%zmm6,%zmm2");
- asm volatile("vpsraq $0x5,%zmm6,%zmm2");
- /* AVX-512: Op code 0f 38 c6 (Grp18) */
- asm volatile("vgatherpf0dps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vgatherpf0dpd 0x7b(%ebp,%ymm7,8){%k1}");
- asm volatile("vgatherpf1dps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vgatherpf1dpd 0x7b(%ebp,%ymm7,8){%k1}");
- asm volatile("vscatterpf0dps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf0dpd 0x7b(%ebp,%ymm7,8){%k1}");
- asm volatile("vscatterpf1dps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf1dpd 0x7b(%ebp,%ymm7,8){%k1}");
- /* AVX-512: Op code 0f 38 c7 (Grp19) */
- asm volatile("vgatherpf0qps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vgatherpf0qpd 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vgatherpf1qps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vgatherpf1qpd 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf0qps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf0qpd 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf1qps 0x7b(%ebp,%zmm7,8){%k1}");
- asm volatile("vscatterpf1qpd 0x7b(%ebp,%zmm7,8){%k1}");
- /* AVX-512: Examples */
- asm volatile("vaddpd %zmm4,%zmm5,%zmm6");
- asm volatile("vaddpd %zmm4,%zmm5,%zmm6{%k7}");
- asm volatile("vaddpd %zmm4,%zmm5,%zmm6{%k7}{z}");
- asm volatile("vaddpd {rn-sae},%zmm4,%zmm5,%zmm6");
- asm volatile("vaddpd {ru-sae},%zmm4,%zmm5,%zmm6");
- asm volatile("vaddpd {rd-sae},%zmm4,%zmm5,%zmm6");
- asm volatile("vaddpd {rz-sae},%zmm4,%zmm5,%zmm6");
- asm volatile("vaddpd (%ecx),%zmm5,%zmm6");
- asm volatile("vaddpd 0x123(%eax,%ecx,8),%zmm5,%zmm6");
- asm volatile("vaddpd (%ecx){1to8},%zmm5,%zmm6");
- asm volatile("vaddpd 0x1fc0(%edx),%zmm5,%zmm6");
- asm volatile("vaddpd 0x3f8(%edx){1to8},%zmm5,%zmm6");
- asm volatile("vcmpeq_uqps 0x1fc(%edx){1to16},%zmm6,%k5");
- asm volatile("vcmpltsd 0x123(%eax,%ecx,8),%xmm3,%k5{%k7}");
- asm volatile("vcmplesd {sae},%xmm4,%xmm5,%k5{%k7}");
- asm volatile("vgetmantss $0x5b,0x123(%eax,%ecx,8),%xmm4,%xmm5{%k7}");
- /* bndmk m32, bnd */
- asm volatile("bndmk (%eax), %bnd0");
- asm volatile("bndmk (0x12345678), %bnd0");
- asm volatile("bndmk (%eax), %bnd3");
- asm volatile("bndmk (%ecx,%eax,1), %bnd0");
- asm volatile("bndmk 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndmk (%eax,%ecx,1), %bnd0");
- asm volatile("bndmk (%eax,%ecx,8), %bnd0");
- asm volatile("bndmk 0x12(%eax), %bnd0");
- asm volatile("bndmk 0x12(%ebp), %bnd0");
- asm volatile("bndmk 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndmk 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndmk 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndmk 0x12(%eax,%ecx,8), %bnd0");
- asm volatile("bndmk 0x12345678(%eax), %bnd0");
- asm volatile("bndmk 0x12345678(%ebp), %bnd0");
- asm volatile("bndmk 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndmk 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndmk 0x12345678(%eax,%ecx,1), %bnd0");
- asm volatile("bndmk 0x12345678(%eax,%ecx,8), %bnd0");
- /* bndcl r/m32, bnd */
- asm volatile("bndcl (%eax), %bnd0");
- asm volatile("bndcl (0x12345678), %bnd0");
- asm volatile("bndcl (%eax), %bnd3");
- asm volatile("bndcl (%ecx,%eax,1), %bnd0");
- asm volatile("bndcl 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndcl (%eax,%ecx,1), %bnd0");
- asm volatile("bndcl (%eax,%ecx,8), %bnd0");
- asm volatile("bndcl 0x12(%eax), %bnd0");
- asm volatile("bndcl 0x12(%ebp), %bnd0");
- asm volatile("bndcl 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndcl 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndcl 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndcl 0x12(%eax,%ecx,8), %bnd0");
- asm volatile("bndcl 0x12345678(%eax), %bnd0");
- asm volatile("bndcl 0x12345678(%ebp), %bnd0");
- asm volatile("bndcl 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndcl 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndcl 0x12345678(%eax,%ecx,1), %bnd0");
- asm volatile("bndcl 0x12345678(%eax,%ecx,8), %bnd0");
- asm volatile("bndcl %eax, %bnd0");
- /* bndcu r/m32, bnd */
- asm volatile("bndcu (%eax), %bnd0");
- asm volatile("bndcu (0x12345678), %bnd0");
- asm volatile("bndcu (%eax), %bnd3");
- asm volatile("bndcu (%ecx,%eax,1), %bnd0");
- asm volatile("bndcu 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndcu (%eax,%ecx,1), %bnd0");
- asm volatile("bndcu (%eax,%ecx,8), %bnd0");
- asm volatile("bndcu 0x12(%eax), %bnd0");
- asm volatile("bndcu 0x12(%ebp), %bnd0");
- asm volatile("bndcu 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndcu 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndcu 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndcu 0x12(%eax,%ecx,8), %bnd0");
- asm volatile("bndcu 0x12345678(%eax), %bnd0");
- asm volatile("bndcu 0x12345678(%ebp), %bnd0");
- asm volatile("bndcu 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndcu 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndcu 0x12345678(%eax,%ecx,1), %bnd0");
- asm volatile("bndcu 0x12345678(%eax,%ecx,8), %bnd0");
- asm volatile("bndcu %eax, %bnd0");
- /* bndcn r/m32, bnd */
- asm volatile("bndcn (%eax), %bnd0");
- asm volatile("bndcn (0x12345678), %bnd0");
- asm volatile("bndcn (%eax), %bnd3");
- asm volatile("bndcn (%ecx,%eax,1), %bnd0");
- asm volatile("bndcn 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndcn (%eax,%ecx,1), %bnd0");
- asm volatile("bndcn (%eax,%ecx,8), %bnd0");
- asm volatile("bndcn 0x12(%eax), %bnd0");
- asm volatile("bndcn 0x12(%ebp), %bnd0");
- asm volatile("bndcn 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndcn 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndcn 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndcn 0x12(%eax,%ecx,8), %bnd0");
- asm volatile("bndcn 0x12345678(%eax), %bnd0");
- asm volatile("bndcn 0x12345678(%ebp), %bnd0");
- asm volatile("bndcn 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndcn 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndcn 0x12345678(%eax,%ecx,1), %bnd0");
- asm volatile("bndcn 0x12345678(%eax,%ecx,8), %bnd0");
- asm volatile("bndcn %eax, %bnd0");
- /* bndmov m64, bnd */
- asm volatile("bndmov (%eax), %bnd0");
- asm volatile("bndmov (0x12345678), %bnd0");
- asm volatile("bndmov (%eax), %bnd3");
- asm volatile("bndmov (%ecx,%eax,1), %bnd0");
- asm volatile("bndmov 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndmov (%eax,%ecx,1), %bnd0");
- asm volatile("bndmov (%eax,%ecx,8), %bnd0");
- asm volatile("bndmov 0x12(%eax), %bnd0");
- asm volatile("bndmov 0x12(%ebp), %bnd0");
- asm volatile("bndmov 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndmov 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndmov 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndmov 0x12(%eax,%ecx,8), %bnd0");
- asm volatile("bndmov 0x12345678(%eax), %bnd0");
- asm volatile("bndmov 0x12345678(%ebp), %bnd0");
- asm volatile("bndmov 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndmov 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndmov 0x12345678(%eax,%ecx,1), %bnd0");
- asm volatile("bndmov 0x12345678(%eax,%ecx,8), %bnd0");
- /* bndmov bnd, m64 */
- asm volatile("bndmov %bnd0, (%eax)");
- asm volatile("bndmov %bnd0, (0x12345678)");
- asm volatile("bndmov %bnd3, (%eax)");
- asm volatile("bndmov %bnd0, (%ecx,%eax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(,%eax,1)");
- asm volatile("bndmov %bnd0, (%eax,%ecx,1)");
- asm volatile("bndmov %bnd0, (%eax,%ecx,8)");
- asm volatile("bndmov %bnd0, 0x12(%eax)");
- asm volatile("bndmov %bnd0, 0x12(%ebp)");
- asm volatile("bndmov %bnd0, 0x12(%ecx,%eax,1)");
- asm volatile("bndmov %bnd0, 0x12(%ebp,%eax,1)");
- asm volatile("bndmov %bnd0, 0x12(%eax,%ecx,1)");
- asm volatile("bndmov %bnd0, 0x12(%eax,%ecx,8)");
- asm volatile("bndmov %bnd0, 0x12345678(%eax)");
- asm volatile("bndmov %bnd0, 0x12345678(%ebp)");
- asm volatile("bndmov %bnd0, 0x12345678(%ecx,%eax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%ebp,%eax,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%eax,%ecx,1)");
- asm volatile("bndmov %bnd0, 0x12345678(%eax,%ecx,8)");
- /* bndmov bnd2, bnd1 */
- asm volatile("bndmov %bnd0, %bnd1");
- asm volatile("bndmov %bnd1, %bnd0");
- /* bndldx mib, bnd */
- asm volatile("bndldx (%eax), %bnd0");
- asm volatile("bndldx (0x12345678), %bnd0");
- asm volatile("bndldx (%eax), %bnd3");
- asm volatile("bndldx (%ecx,%eax,1), %bnd0");
- asm volatile("bndldx 0x12345678(,%eax,1), %bnd0");
- asm volatile("bndldx (%eax,%ecx,1), %bnd0");
- asm volatile("bndldx 0x12(%eax), %bnd0");
- asm volatile("bndldx 0x12(%ebp), %bnd0");
- asm volatile("bndldx 0x12(%ecx,%eax,1), %bnd0");
- asm volatile("bndldx 0x12(%ebp,%eax,1), %bnd0");
- asm volatile("bndldx 0x12(%eax,%ecx,1), %bnd0");
- asm volatile("bndldx 0x12345678(%eax), %bnd0");
- asm volatile("bndldx 0x12345678(%ebp), %bnd0");
- asm volatile("bndldx 0x12345678(%ecx,%eax,1), %bnd0");
- asm volatile("bndldx 0x12345678(%ebp,%eax,1), %bnd0");
- asm volatile("bndldx 0x12345678(%eax,%ecx,1), %bnd0");
- /* bndstx bnd, mib */
- asm volatile("bndstx %bnd0, (%eax)");
- asm volatile("bndstx %bnd0, (0x12345678)");
- asm volatile("bndstx %bnd3, (%eax)");
- asm volatile("bndstx %bnd0, (%ecx,%eax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(,%eax,1)");
- asm volatile("bndstx %bnd0, (%eax,%ecx,1)");
- asm volatile("bndstx %bnd0, 0x12(%eax)");
- asm volatile("bndstx %bnd0, 0x12(%ebp)");
- asm volatile("bndstx %bnd0, 0x12(%ecx,%eax,1)");
- asm volatile("bndstx %bnd0, 0x12(%ebp,%eax,1)");
- asm volatile("bndstx %bnd0, 0x12(%eax,%ecx,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%eax)");
- asm volatile("bndstx %bnd0, 0x12345678(%ebp)");
- asm volatile("bndstx %bnd0, 0x12345678(%ecx,%eax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%ebp,%eax,1)");
- asm volatile("bndstx %bnd0, 0x12345678(%eax,%ecx,1)");
- /* bnd prefix on call, ret, jmp and all jcc */
- asm volatile("bnd call label1"); /* Expecting: call unconditional 0xfffffffc */
- asm volatile("bnd call *(%eax)"); /* Expecting: call indirect 0 */
- asm volatile("bnd ret"); /* Expecting: ret indirect 0 */
- asm volatile("bnd jmp label1"); /* Expecting: jmp unconditional 0xfffffffc */
- asm volatile("bnd jmp label1"); /* Expecting: jmp unconditional 0xfffffffc */
- asm volatile("bnd jmp *(%ecx)"); /* Expecting: jmp indirect 0 */
- asm volatile("bnd jne label1"); /* Expecting: jcc conditional 0xfffffffc */
- /* sha1rnds4 imm8, xmm2/m128, xmm1 */
- asm volatile("sha1rnds4 $0x0, %xmm1, %xmm0");
- asm volatile("sha1rnds4 $0x91, %xmm7, %xmm2");
- asm volatile("sha1rnds4 $0x91, (%eax), %xmm0");
- asm volatile("sha1rnds4 $0x91, (0x12345678), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%eax), %xmm3");
- asm volatile("sha1rnds4 $0x91, (%ecx,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%eax,%ecx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, (%eax,%ecx,8), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%eax), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%ebp), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%eax), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%ebp), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha1rnds4 $0x91, 0x12345678(%eax,%ecx,8), %xmm0");
- /* sha1nexte xmm2/m128, xmm1 */
- asm volatile("sha1nexte %xmm1, %xmm0");
- asm volatile("sha1nexte %xmm7, %xmm2");
- asm volatile("sha1nexte (%eax), %xmm0");
- asm volatile("sha1nexte (0x12345678), %xmm0");
- asm volatile("sha1nexte (%eax), %xmm3");
- asm volatile("sha1nexte (%ecx,%eax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha1nexte (%eax,%ecx,1), %xmm0");
- asm volatile("sha1nexte (%eax,%ecx,8), %xmm0");
- asm volatile("sha1nexte 0x12(%eax), %xmm0");
- asm volatile("sha1nexte 0x12(%ebp), %xmm0");
- asm volatile("sha1nexte 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha1nexte 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha1nexte 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha1nexte 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha1nexte 0x12345678(%eax), %xmm0");
- asm volatile("sha1nexte 0x12345678(%ebp), %xmm0");
- asm volatile("sha1nexte 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha1nexte 0x12345678(%eax,%ecx,8), %xmm0");
- /* sha1msg1 xmm2/m128, xmm1 */
- asm volatile("sha1msg1 %xmm1, %xmm0");
- asm volatile("sha1msg1 %xmm7, %xmm2");
- asm volatile("sha1msg1 (%eax), %xmm0");
- asm volatile("sha1msg1 (0x12345678), %xmm0");
- asm volatile("sha1msg1 (%eax), %xmm3");
- asm volatile("sha1msg1 (%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha1msg1 (%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg1 (%eax,%ecx,8), %xmm0");
- asm volatile("sha1msg1 0x12(%eax), %xmm0");
- asm volatile("sha1msg1 0x12(%ebp), %xmm0");
- asm volatile("sha1msg1 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg1 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha1msg1 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg1 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha1msg1 0x12345678(%eax), %xmm0");
- asm volatile("sha1msg1 0x12345678(%ebp), %xmm0");
- asm volatile("sha1msg1 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg1 0x12345678(%eax,%ecx,8), %xmm0");
- /* sha1msg2 xmm2/m128, xmm1 */
- asm volatile("sha1msg2 %xmm1, %xmm0");
- asm volatile("sha1msg2 %xmm7, %xmm2");
- asm volatile("sha1msg2 (%eax), %xmm0");
- asm volatile("sha1msg2 (0x12345678), %xmm0");
- asm volatile("sha1msg2 (%eax), %xmm3");
- asm volatile("sha1msg2 (%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha1msg2 (%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg2 (%eax,%ecx,8), %xmm0");
- asm volatile("sha1msg2 0x12(%eax), %xmm0");
- asm volatile("sha1msg2 0x12(%ebp), %xmm0");
- asm volatile("sha1msg2 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg2 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha1msg2 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg2 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha1msg2 0x12345678(%eax), %xmm0");
- asm volatile("sha1msg2 0x12345678(%ebp), %xmm0");
- asm volatile("sha1msg2 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha1msg2 0x12345678(%eax,%ecx,8), %xmm0");
- /* sha256rnds2 <XMM0>, xmm2/m128, xmm1 */
- /* Note sha256rnds2 has an implicit operand 'xmm0' */
- asm volatile("sha256rnds2 %xmm4, %xmm1");
- asm volatile("sha256rnds2 %xmm7, %xmm2");
- asm volatile("sha256rnds2 (%eax), %xmm1");
- asm volatile("sha256rnds2 (0x12345678), %xmm1");
- asm volatile("sha256rnds2 (%eax), %xmm3");
- asm volatile("sha256rnds2 (%ecx,%eax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(,%eax,1), %xmm1");
- asm volatile("sha256rnds2 (%eax,%ecx,1), %xmm1");
- asm volatile("sha256rnds2 (%eax,%ecx,8), %xmm1");
- asm volatile("sha256rnds2 0x12(%eax), %xmm1");
- asm volatile("sha256rnds2 0x12(%ebp), %xmm1");
- asm volatile("sha256rnds2 0x12(%ecx,%eax,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%ebp,%eax,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%eax,%ecx,1), %xmm1");
- asm volatile("sha256rnds2 0x12(%eax,%ecx,8), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%eax), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%ebp), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%ecx,%eax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%ebp,%eax,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%eax,%ecx,1), %xmm1");
- asm volatile("sha256rnds2 0x12345678(%eax,%ecx,8), %xmm1");
- /* sha256msg1 xmm2/m128, xmm1 */
- asm volatile("sha256msg1 %xmm1, %xmm0");
- asm volatile("sha256msg1 %xmm7, %xmm2");
- asm volatile("sha256msg1 (%eax), %xmm0");
- asm volatile("sha256msg1 (0x12345678), %xmm0");
- asm volatile("sha256msg1 (%eax), %xmm3");
- asm volatile("sha256msg1 (%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha256msg1 (%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg1 (%eax,%ecx,8), %xmm0");
- asm volatile("sha256msg1 0x12(%eax), %xmm0");
- asm volatile("sha256msg1 0x12(%ebp), %xmm0");
- asm volatile("sha256msg1 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg1 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha256msg1 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg1 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha256msg1 0x12345678(%eax), %xmm0");
- asm volatile("sha256msg1 0x12345678(%ebp), %xmm0");
- asm volatile("sha256msg1 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg1 0x12345678(%eax,%ecx,8), %xmm0");
- /* sha256msg2 xmm2/m128, xmm1 */
- asm volatile("sha256msg2 %xmm1, %xmm0");
- asm volatile("sha256msg2 %xmm7, %xmm2");
- asm volatile("sha256msg2 (%eax), %xmm0");
- asm volatile("sha256msg2 (0x12345678), %xmm0");
- asm volatile("sha256msg2 (%eax), %xmm3");
- asm volatile("sha256msg2 (%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(,%eax,1), %xmm0");
- asm volatile("sha256msg2 (%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg2 (%eax,%ecx,8), %xmm0");
- asm volatile("sha256msg2 0x12(%eax), %xmm0");
- asm volatile("sha256msg2 0x12(%ebp), %xmm0");
- asm volatile("sha256msg2 0x12(%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg2 0x12(%ebp,%eax,1), %xmm0");
- asm volatile("sha256msg2 0x12(%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg2 0x12(%eax,%ecx,8), %xmm0");
- asm volatile("sha256msg2 0x12345678(%eax), %xmm0");
- asm volatile("sha256msg2 0x12345678(%ebp), %xmm0");
- asm volatile("sha256msg2 0x12345678(%ecx,%eax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%ebp,%eax,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%eax,%ecx,1), %xmm0");
- asm volatile("sha256msg2 0x12345678(%eax,%ecx,8), %xmm0");
- /* clflushopt m8 */
- asm volatile("clflushopt (%eax)");
- asm volatile("clflushopt (0x12345678)");
- asm volatile("clflushopt 0x12345678(%eax,%ecx,8)");
- /* Also check instructions in the same group encoding as clflushopt */
- asm volatile("clflush (%eax)");
- asm volatile("sfence");
- /* clwb m8 */
- asm volatile("clwb (%eax)");
- asm volatile("clwb (0x12345678)");
- asm volatile("clwb 0x12345678(%eax,%ecx,8)");
- /* Also check instructions in the same group encoding as clwb */
- asm volatile("xsaveopt (%eax)");
- asm volatile("mfence");
- /* xsavec mem */
- asm volatile("xsavec (%eax)");
- asm volatile("xsavec (0x12345678)");
- asm volatile("xsavec 0x12345678(%eax,%ecx,8)");
- /* xsaves mem */
- asm volatile("xsaves (%eax)");
- asm volatile("xsaves (0x12345678)");
- asm volatile("xsaves 0x12345678(%eax,%ecx,8)");
- /* xrstors mem */
- asm volatile("xrstors (%eax)");
- asm volatile("xrstors (0x12345678)");
- asm volatile("xrstors 0x12345678(%eax,%ecx,8)");
- /* ptwrite */
- asm volatile("ptwrite (%eax)");
- asm volatile("ptwrite (0x12345678)");
- asm volatile("ptwrite 0x12345678(%eax,%ecx,8)");
- asm volatile("ptwritel (%eax)");
- asm volatile("ptwritel (0x12345678)");
- asm volatile("ptwritel 0x12345678(%eax,%ecx,8)");
- #endif /* #ifndef __x86_64__ */
- /* Following line is a marker for the awk script - do not change */
- asm volatile("rdtsc"); /* Stop here */
- return 0;
- }
|