1
0

ge25519_pnielsadd_p1p1.S 98 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791
  1. # qhasm: int64 rp
  2. # qhasm: int64 pp
  3. # qhasm: int64 qp
  4. # qhasm: input rp
  5. # qhasm: input pp
  6. # qhasm: input qp
  7. # qhasm: int64 caller1
  8. # qhasm: int64 caller2
  9. # qhasm: int64 caller3
  10. # qhasm: int64 caller4
  11. # qhasm: int64 caller5
  12. # qhasm: int64 caller6
  13. # qhasm: int64 caller7
  14. # qhasm: caller caller1
  15. # qhasm: caller caller2
  16. # qhasm: caller caller3
  17. # qhasm: caller caller4
  18. # qhasm: caller caller5
  19. # qhasm: caller caller6
  20. # qhasm: caller caller7
  21. # qhasm: stack64 caller1_stack
  22. # qhasm: stack64 caller2_stack
  23. # qhasm: stack64 caller3_stack
  24. # qhasm: stack64 caller4_stack
  25. # qhasm: stack64 caller5_stack
  26. # qhasm: stack64 caller6_stack
  27. # qhasm: stack64 caller7_stack
  28. # qhasm: int64 a0
  29. # qhasm: int64 a1
  30. # qhasm: int64 a2
  31. # qhasm: int64 a3
  32. # qhasm: int64 a4
  33. # qhasm: stack64 a0_stack
  34. # qhasm: stack64 a1_stack
  35. # qhasm: stack64 a2_stack
  36. # qhasm: stack64 a3_stack
  37. # qhasm: stack64 a4_stack
  38. # qhasm: int64 b0
  39. # qhasm: int64 b1
  40. # qhasm: int64 b2
  41. # qhasm: int64 b3
  42. # qhasm: int64 b4
  43. # qhasm: stack64 b0_stack
  44. # qhasm: stack64 b1_stack
  45. # qhasm: stack64 b2_stack
  46. # qhasm: stack64 b3_stack
  47. # qhasm: stack64 b4_stack
  48. # qhasm: int64 c0
  49. # qhasm: int64 c1
  50. # qhasm: int64 c2
  51. # qhasm: int64 c3
  52. # qhasm: int64 c4
  53. # qhasm: stack64 c0_stack
  54. # qhasm: stack64 c1_stack
  55. # qhasm: stack64 c2_stack
  56. # qhasm: stack64 c3_stack
  57. # qhasm: stack64 c4_stack
  58. # qhasm: int64 d0
  59. # qhasm: int64 d1
  60. # qhasm: int64 d2
  61. # qhasm: int64 d3
  62. # qhasm: int64 d4
  63. # qhasm: stack64 d0_stack
  64. # qhasm: stack64 d1_stack
  65. # qhasm: stack64 d2_stack
  66. # qhasm: stack64 d3_stack
  67. # qhasm: stack64 d4_stack
  68. # qhasm: int64 t10
  69. # qhasm: int64 t11
  70. # qhasm: int64 t12
  71. # qhasm: int64 t13
  72. # qhasm: int64 t14
  73. # qhasm: stack64 t10_stack
  74. # qhasm: stack64 t11_stack
  75. # qhasm: stack64 t12_stack
  76. # qhasm: stack64 t13_stack
  77. # qhasm: stack64 t14_stack
  78. # qhasm: int64 t20
  79. # qhasm: int64 t21
  80. # qhasm: int64 t22
  81. # qhasm: int64 t23
  82. # qhasm: int64 t24
  83. # qhasm: stack64 t20_stack
  84. # qhasm: stack64 t21_stack
  85. # qhasm: stack64 t22_stack
  86. # qhasm: stack64 t23_stack
  87. # qhasm: stack64 t24_stack
  88. # qhasm: int64 rx0
  89. # qhasm: int64 rx1
  90. # qhasm: int64 rx2
  91. # qhasm: int64 rx3
  92. # qhasm: int64 rx4
  93. # qhasm: int64 ry0
  94. # qhasm: int64 ry1
  95. # qhasm: int64 ry2
  96. # qhasm: int64 ry3
  97. # qhasm: int64 ry4
  98. # qhasm: int64 rz0
  99. # qhasm: int64 rz1
  100. # qhasm: int64 rz2
  101. # qhasm: int64 rz3
  102. # qhasm: int64 rz4
  103. # qhasm: int64 rt0
  104. # qhasm: int64 rt1
  105. # qhasm: int64 rt2
  106. # qhasm: int64 rt3
  107. # qhasm: int64 rt4
  108. # qhasm: int64 x0
  109. # qhasm: int64 x1
  110. # qhasm: int64 x2
  111. # qhasm: int64 x3
  112. # qhasm: int64 x4
  113. # qhasm: int64 mulr01
  114. # qhasm: int64 mulr11
  115. # qhasm: int64 mulr21
  116. # qhasm: int64 mulr31
  117. # qhasm: int64 mulr41
  118. # qhasm: int64 mulrax
  119. # qhasm: int64 mulrdx
  120. # qhasm: int64 mult
  121. # qhasm: int64 mulredmask
  122. # qhasm: stack64 mulx219_stack
  123. # qhasm: stack64 mulx319_stack
  124. # qhasm: stack64 mulx419_stack
  125. # qhasm: enter CRYPTO_NAMESPACE(batch_ge25519_pnielsadd_p1p1)
  126. .text
  127. .p2align 5
  128. .globl _CRYPTO_NAMESPACE(batch_ge25519_pnielsadd_p1p1)
  129. .globl CRYPTO_NAMESPACE(batch_ge25519_pnielsadd_p1p1)
  130. _CRYPTO_NAMESPACE(batch_ge25519_pnielsadd_p1p1):
  131. CRYPTO_NAMESPACE(batch_ge25519_pnielsadd_p1p1):
  132. mov %rsp,%r11
  133. and $31,%r11
  134. add $160,%r11
  135. sub %r11,%rsp
  136. # qhasm: caller1_stack = caller1
  137. # asm 1: movq <caller1=int64#9,>caller1_stack=stack64#1
  138. # asm 2: movq <caller1=%r11,>caller1_stack=0(%rsp)
  139. movq %r11,0(%rsp)
  140. # qhasm: caller2_stack = caller2
  141. # asm 1: movq <caller2=int64#10,>caller2_stack=stack64#2
  142. # asm 2: movq <caller2=%r12,>caller2_stack=8(%rsp)
  143. movq %r12,8(%rsp)
  144. # qhasm: caller3_stack = caller3
  145. # asm 1: movq <caller3=int64#11,>caller3_stack=stack64#3
  146. # asm 2: movq <caller3=%r13,>caller3_stack=16(%rsp)
  147. movq %r13,16(%rsp)
  148. # qhasm: caller4_stack = caller4
  149. # asm 1: movq <caller4=int64#12,>caller4_stack=stack64#4
  150. # asm 2: movq <caller4=%r14,>caller4_stack=24(%rsp)
  151. movq %r14,24(%rsp)
  152. # qhasm: caller5_stack = caller5
  153. # asm 1: movq <caller5=int64#13,>caller5_stack=stack64#5
  154. # asm 2: movq <caller5=%r15,>caller5_stack=32(%rsp)
  155. movq %r15,32(%rsp)
  156. # qhasm: caller6_stack = caller6
  157. # asm 1: movq <caller6=int64#14,>caller6_stack=stack64#6
  158. # asm 2: movq <caller6=%rbx,>caller6_stack=40(%rsp)
  159. movq %rbx,40(%rsp)
  160. # qhasm: caller7_stack = caller7
  161. # asm 1: movq <caller7=int64#15,>caller7_stack=stack64#7
  162. # asm 2: movq <caller7=%rbp,>caller7_stack=48(%rsp)
  163. movq %rbp,48(%rsp)
  164. # qhasm: qp = qp
  165. # asm 1: mov <qp=int64#3,>qp=int64#4
  166. # asm 2: mov <qp=%rdx,>qp=%rcx
  167. mov %rdx,%rcx
  168. # qhasm: a0 = *(uint64 *)(pp + 40)
  169. # asm 1: movq 40(<pp=int64#2),>a0=int64#3
  170. # asm 2: movq 40(<pp=%rsi),>a0=%rdx
  171. movq 40(%rsi),%rdx
  172. # qhasm: a1 = *(uint64 *)(pp + 48)
  173. # asm 1: movq 48(<pp=int64#2),>a1=int64#5
  174. # asm 2: movq 48(<pp=%rsi),>a1=%r8
  175. movq 48(%rsi),%r8
  176. # qhasm: a2 = *(uint64 *)(pp + 56)
  177. # asm 1: movq 56(<pp=int64#2),>a2=int64#6
  178. # asm 2: movq 56(<pp=%rsi),>a2=%r9
  179. movq 56(%rsi),%r9
  180. # qhasm: a3 = *(uint64 *)(pp + 64)
  181. # asm 1: movq 64(<pp=int64#2),>a3=int64#7
  182. # asm 2: movq 64(<pp=%rsi),>a3=%rax
  183. movq 64(%rsi),%rax
  184. # qhasm: a4 = *(uint64 *)(pp + 72)
  185. # asm 1: movq 72(<pp=int64#2),>a4=int64#8
  186. # asm 2: movq 72(<pp=%rsi),>a4=%r10
  187. movq 72(%rsi),%r10
  188. # qhasm: b0 = a0
  189. # asm 1: mov <a0=int64#3,>b0=int64#9
  190. # asm 2: mov <a0=%rdx,>b0=%r11
  191. mov %rdx,%r11
  192. # qhasm: b1 = a1
  193. # asm 1: mov <a1=int64#5,>b1=int64#10
  194. # asm 2: mov <a1=%r8,>b1=%r12
  195. mov %r8,%r12
  196. # qhasm: b2 = a2
  197. # asm 1: mov <a2=int64#6,>b2=int64#11
  198. # asm 2: mov <a2=%r9,>b2=%r13
  199. mov %r9,%r13
  200. # qhasm: b3 = a3
  201. # asm 1: mov <a3=int64#7,>b3=int64#12
  202. # asm 2: mov <a3=%rax,>b3=%r14
  203. mov %rax,%r14
  204. # qhasm: b4 = a4
  205. # asm 1: mov <a4=int64#8,>b4=int64#13
  206. # asm 2: mov <a4=%r10,>b4=%r15
  207. mov %r10,%r15
  208. # qhasm: a0 += *(uint64 *) &CRYPTO_NAMESPACE(batch_2P0)
  209. # asm 1: add CRYPTO_NAMESPACE(batch_2P0),<a0=int64#3
  210. # asm 2: add CRYPTO_NAMESPACE(batch_2P0),<a0=%rdx
  211. add CRYPTO_NAMESPACE(batch_2P0)(%rip),%rdx
  212. # qhasm: a1 += *(uint64 *) &CRYPTO_NAMESPACE(batch_2P1234)
  213. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<a1=int64#5
  214. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<a1=%r8
  215. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r8
  216. # qhasm: a2 += *(uint64 *) &CRYPTO_NAMESPACE(batch_2P1234)
  217. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<a2=int64#6
  218. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<a2=%r9
  219. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r9
  220. # qhasm: a3 += *(uint64 *) &CRYPTO_NAMESPACE(batch_2P1234)
  221. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<a3=int64#7
  222. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<a3=%rax
  223. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%rax
  224. # qhasm: a4 += *(uint64 *) &CRYPTO_NAMESPACE(batch_2P1234)
  225. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<a4=int64#8
  226. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<a4=%r10
  227. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r10
  228. # qhasm: b0 += *(uint64 *) (pp + 0)
  229. # asm 1: addq 0(<pp=int64#2),<b0=int64#9
  230. # asm 2: addq 0(<pp=%rsi),<b0=%r11
  231. addq 0(%rsi),%r11
  232. # qhasm: b1 += *(uint64 *) (pp + 8)
  233. # asm 1: addq 8(<pp=int64#2),<b1=int64#10
  234. # asm 2: addq 8(<pp=%rsi),<b1=%r12
  235. addq 8(%rsi),%r12
  236. # qhasm: b2 += *(uint64 *) (pp + 16)
  237. # asm 1: addq 16(<pp=int64#2),<b2=int64#11
  238. # asm 2: addq 16(<pp=%rsi),<b2=%r13
  239. addq 16(%rsi),%r13
  240. # qhasm: b3 += *(uint64 *) (pp + 24)
  241. # asm 1: addq 24(<pp=int64#2),<b3=int64#12
  242. # asm 2: addq 24(<pp=%rsi),<b3=%r14
  243. addq 24(%rsi),%r14
  244. # qhasm: b4 += *(uint64 *) (pp + 32)
  245. # asm 1: addq 32(<pp=int64#2),<b4=int64#13
  246. # asm 2: addq 32(<pp=%rsi),<b4=%r15
  247. addq 32(%rsi),%r15
  248. # qhasm: a0 -= *(uint64 *) (pp + 0)
  249. # asm 1: subq 0(<pp=int64#2),<a0=int64#3
  250. # asm 2: subq 0(<pp=%rsi),<a0=%rdx
  251. subq 0(%rsi),%rdx
  252. # qhasm: a1 -= *(uint64 *) (pp + 8)
  253. # asm 1: subq 8(<pp=int64#2),<a1=int64#5
  254. # asm 2: subq 8(<pp=%rsi),<a1=%r8
  255. subq 8(%rsi),%r8
  256. # qhasm: a2 -= *(uint64 *) (pp + 16)
  257. # asm 1: subq 16(<pp=int64#2),<a2=int64#6
  258. # asm 2: subq 16(<pp=%rsi),<a2=%r9
  259. subq 16(%rsi),%r9
  260. # qhasm: a3 -= *(uint64 *) (pp + 24)
  261. # asm 1: subq 24(<pp=int64#2),<a3=int64#7
  262. # asm 2: subq 24(<pp=%rsi),<a3=%rax
  263. subq 24(%rsi),%rax
  264. # qhasm: a4 -= *(uint64 *) (pp + 32)
  265. # asm 1: subq 32(<pp=int64#2),<a4=int64#8
  266. # asm 2: subq 32(<pp=%rsi),<a4=%r10
  267. subq 32(%rsi),%r10
  268. # qhasm: a0_stack = a0
  269. # asm 1: movq <a0=int64#3,>a0_stack=stack64#8
  270. # asm 2: movq <a0=%rdx,>a0_stack=56(%rsp)
  271. movq %rdx,56(%rsp)
  272. # qhasm: a1_stack = a1
  273. # asm 1: movq <a1=int64#5,>a1_stack=stack64#9
  274. # asm 2: movq <a1=%r8,>a1_stack=64(%rsp)
  275. movq %r8,64(%rsp)
  276. # qhasm: a2_stack = a2
  277. # asm 1: movq <a2=int64#6,>a2_stack=stack64#10
  278. # asm 2: movq <a2=%r9,>a2_stack=72(%rsp)
  279. movq %r9,72(%rsp)
  280. # qhasm: a3_stack = a3
  281. # asm 1: movq <a3=int64#7,>a3_stack=stack64#11
  282. # asm 2: movq <a3=%rax,>a3_stack=80(%rsp)
  283. movq %rax,80(%rsp)
  284. # qhasm: a4_stack = a4
  285. # asm 1: movq <a4=int64#8,>a4_stack=stack64#12
  286. # asm 2: movq <a4=%r10,>a4_stack=88(%rsp)
  287. movq %r10,88(%rsp)
  288. # qhasm: b0_stack = b0
  289. # asm 1: movq <b0=int64#9,>b0_stack=stack64#13
  290. # asm 2: movq <b0=%r11,>b0_stack=96(%rsp)
  291. movq %r11,96(%rsp)
  292. # qhasm: b1_stack = b1
  293. # asm 1: movq <b1=int64#10,>b1_stack=stack64#14
  294. # asm 2: movq <b1=%r12,>b1_stack=104(%rsp)
  295. movq %r12,104(%rsp)
  296. # qhasm: b2_stack = b2
  297. # asm 1: movq <b2=int64#11,>b2_stack=stack64#15
  298. # asm 2: movq <b2=%r13,>b2_stack=112(%rsp)
  299. movq %r13,112(%rsp)
  300. # qhasm: b3_stack = b3
  301. # asm 1: movq <b3=int64#12,>b3_stack=stack64#16
  302. # asm 2: movq <b3=%r14,>b3_stack=120(%rsp)
  303. movq %r14,120(%rsp)
  304. # qhasm: b4_stack = b4
  305. # asm 1: movq <b4=int64#13,>b4_stack=stack64#17
  306. # asm 2: movq <b4=%r15,>b4_stack=128(%rsp)
  307. movq %r15,128(%rsp)
  308. # qhasm: mulrax = a3_stack
  309. # asm 1: movq <a3_stack=stack64#11,>mulrax=int64#3
  310. # asm 2: movq <a3_stack=80(%rsp),>mulrax=%rdx
  311. movq 80(%rsp),%rdx
  312. # qhasm: mulrax *= 19
  313. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  314. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  315. imulq $19,%rdx,%rax
  316. # qhasm: mulx319_stack = mulrax
  317. # asm 1: movq <mulrax=int64#7,>mulx319_stack=stack64#18
  318. # asm 2: movq <mulrax=%rax,>mulx319_stack=136(%rsp)
  319. movq %rax,136(%rsp)
  320. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 16)
  321. # asm 1: mulq 16(<qp=int64#4)
  322. # asm 2: mulq 16(<qp=%rcx)
  323. mulq 16(%rcx)
  324. # qhasm: a0 = mulrax
  325. # asm 1: mov <mulrax=int64#7,>a0=int64#5
  326. # asm 2: mov <mulrax=%rax,>a0=%r8
  327. mov %rax,%r8
  328. # qhasm: mulr01 = mulrdx
  329. # asm 1: mov <mulrdx=int64#3,>mulr01=int64#6
  330. # asm 2: mov <mulrdx=%rdx,>mulr01=%r9
  331. mov %rdx,%r9
  332. # qhasm: mulrax = a4_stack
  333. # asm 1: movq <a4_stack=stack64#12,>mulrax=int64#3
  334. # asm 2: movq <a4_stack=88(%rsp),>mulrax=%rdx
  335. movq 88(%rsp),%rdx
  336. # qhasm: mulrax *= 19
  337. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  338. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  339. imulq $19,%rdx,%rax
  340. # qhasm: mulx419_stack = mulrax
  341. # asm 1: movq <mulrax=int64#7,>mulx419_stack=stack64#19
  342. # asm 2: movq <mulrax=%rax,>mulx419_stack=144(%rsp)
  343. movq %rax,144(%rsp)
  344. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 8)
  345. # asm 1: mulq 8(<qp=int64#4)
  346. # asm 2: mulq 8(<qp=%rcx)
  347. mulq 8(%rcx)
  348. # qhasm: carry? a0 += mulrax
  349. # asm 1: add <mulrax=int64#7,<a0=int64#5
  350. # asm 2: add <mulrax=%rax,<a0=%r8
  351. add %rax,%r8
  352. # qhasm: mulr01 += mulrdx + carry
  353. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  354. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  355. adc %rdx,%r9
  356. # qhasm: mulrax = a0_stack
  357. # asm 1: movq <a0_stack=stack64#8,>mulrax=int64#7
  358. # asm 2: movq <a0_stack=56(%rsp),>mulrax=%rax
  359. movq 56(%rsp),%rax
  360. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 0)
  361. # asm 1: mulq 0(<qp=int64#4)
  362. # asm 2: mulq 0(<qp=%rcx)
  363. mulq 0(%rcx)
  364. # qhasm: carry? a0 += mulrax
  365. # asm 1: add <mulrax=int64#7,<a0=int64#5
  366. # asm 2: add <mulrax=%rax,<a0=%r8
  367. add %rax,%r8
  368. # qhasm: mulr01 += mulrdx + carry
  369. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  370. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  371. adc %rdx,%r9
  372. # qhasm: mulrax = a0_stack
  373. # asm 1: movq <a0_stack=stack64#8,>mulrax=int64#7
  374. # asm 2: movq <a0_stack=56(%rsp),>mulrax=%rax
  375. movq 56(%rsp),%rax
  376. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 8)
  377. # asm 1: mulq 8(<qp=int64#4)
  378. # asm 2: mulq 8(<qp=%rcx)
  379. mulq 8(%rcx)
  380. # qhasm: a1 = mulrax
  381. # asm 1: mov <mulrax=int64#7,>a1=int64#8
  382. # asm 2: mov <mulrax=%rax,>a1=%r10
  383. mov %rax,%r10
  384. # qhasm: mulr11 = mulrdx
  385. # asm 1: mov <mulrdx=int64#3,>mulr11=int64#9
  386. # asm 2: mov <mulrdx=%rdx,>mulr11=%r11
  387. mov %rdx,%r11
  388. # qhasm: mulrax = a0_stack
  389. # asm 1: movq <a0_stack=stack64#8,>mulrax=int64#7
  390. # asm 2: movq <a0_stack=56(%rsp),>mulrax=%rax
  391. movq 56(%rsp),%rax
  392. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 16)
  393. # asm 1: mulq 16(<qp=int64#4)
  394. # asm 2: mulq 16(<qp=%rcx)
  395. mulq 16(%rcx)
  396. # qhasm: a2 = mulrax
  397. # asm 1: mov <mulrax=int64#7,>a2=int64#10
  398. # asm 2: mov <mulrax=%rax,>a2=%r12
  399. mov %rax,%r12
  400. # qhasm: mulr21 = mulrdx
  401. # asm 1: mov <mulrdx=int64#3,>mulr21=int64#11
  402. # asm 2: mov <mulrdx=%rdx,>mulr21=%r13
  403. mov %rdx,%r13
  404. # qhasm: mulrax = a0_stack
  405. # asm 1: movq <a0_stack=stack64#8,>mulrax=int64#7
  406. # asm 2: movq <a0_stack=56(%rsp),>mulrax=%rax
  407. movq 56(%rsp),%rax
  408. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 24)
  409. # asm 1: mulq 24(<qp=int64#4)
  410. # asm 2: mulq 24(<qp=%rcx)
  411. mulq 24(%rcx)
  412. # qhasm: a3 = mulrax
  413. # asm 1: mov <mulrax=int64#7,>a3=int64#12
  414. # asm 2: mov <mulrax=%rax,>a3=%r14
  415. mov %rax,%r14
  416. # qhasm: mulr31 = mulrdx
  417. # asm 1: mov <mulrdx=int64#3,>mulr31=int64#13
  418. # asm 2: mov <mulrdx=%rdx,>mulr31=%r15
  419. mov %rdx,%r15
  420. # qhasm: mulrax = a0_stack
  421. # asm 1: movq <a0_stack=stack64#8,>mulrax=int64#7
  422. # asm 2: movq <a0_stack=56(%rsp),>mulrax=%rax
  423. movq 56(%rsp),%rax
  424. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 32)
  425. # asm 1: mulq 32(<qp=int64#4)
  426. # asm 2: mulq 32(<qp=%rcx)
  427. mulq 32(%rcx)
  428. # qhasm: a4 = mulrax
  429. # asm 1: mov <mulrax=int64#7,>a4=int64#14
  430. # asm 2: mov <mulrax=%rax,>a4=%rbx
  431. mov %rax,%rbx
  432. # qhasm: mulr41 = mulrdx
  433. # asm 1: mov <mulrdx=int64#3,>mulr41=int64#15
  434. # asm 2: mov <mulrdx=%rdx,>mulr41=%rbp
  435. mov %rdx,%rbp
  436. # qhasm: mulrax = a1_stack
  437. # asm 1: movq <a1_stack=stack64#9,>mulrax=int64#7
  438. # asm 2: movq <a1_stack=64(%rsp),>mulrax=%rax
  439. movq 64(%rsp),%rax
  440. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 0)
  441. # asm 1: mulq 0(<qp=int64#4)
  442. # asm 2: mulq 0(<qp=%rcx)
  443. mulq 0(%rcx)
  444. # qhasm: carry? a1 += mulrax
  445. # asm 1: add <mulrax=int64#7,<a1=int64#8
  446. # asm 2: add <mulrax=%rax,<a1=%r10
  447. add %rax,%r10
  448. # qhasm: mulr11 += mulrdx + carry
  449. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  450. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  451. adc %rdx,%r11
  452. # qhasm: mulrax = a1_stack
  453. # asm 1: movq <a1_stack=stack64#9,>mulrax=int64#7
  454. # asm 2: movq <a1_stack=64(%rsp),>mulrax=%rax
  455. movq 64(%rsp),%rax
  456. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 8)
  457. # asm 1: mulq 8(<qp=int64#4)
  458. # asm 2: mulq 8(<qp=%rcx)
  459. mulq 8(%rcx)
  460. # qhasm: carry? a2 += mulrax
  461. # asm 1: add <mulrax=int64#7,<a2=int64#10
  462. # asm 2: add <mulrax=%rax,<a2=%r12
  463. add %rax,%r12
  464. # qhasm: mulr21 += mulrdx + carry
  465. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  466. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  467. adc %rdx,%r13
  468. # qhasm: mulrax = a1_stack
  469. # asm 1: movq <a1_stack=stack64#9,>mulrax=int64#7
  470. # asm 2: movq <a1_stack=64(%rsp),>mulrax=%rax
  471. movq 64(%rsp),%rax
  472. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 16)
  473. # asm 1: mulq 16(<qp=int64#4)
  474. # asm 2: mulq 16(<qp=%rcx)
  475. mulq 16(%rcx)
  476. # qhasm: carry? a3 += mulrax
  477. # asm 1: add <mulrax=int64#7,<a3=int64#12
  478. # asm 2: add <mulrax=%rax,<a3=%r14
  479. add %rax,%r14
  480. # qhasm: mulr31 += mulrdx + carry
  481. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  482. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  483. adc %rdx,%r15
  484. # qhasm: mulrax = a1_stack
  485. # asm 1: movq <a1_stack=stack64#9,>mulrax=int64#7
  486. # asm 2: movq <a1_stack=64(%rsp),>mulrax=%rax
  487. movq 64(%rsp),%rax
  488. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 24)
  489. # asm 1: mulq 24(<qp=int64#4)
  490. # asm 2: mulq 24(<qp=%rcx)
  491. mulq 24(%rcx)
  492. # qhasm: carry? a4 += mulrax
  493. # asm 1: add <mulrax=int64#7,<a4=int64#14
  494. # asm 2: add <mulrax=%rax,<a4=%rbx
  495. add %rax,%rbx
  496. # qhasm: mulr41 += mulrdx + carry
  497. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  498. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  499. adc %rdx,%rbp
  500. # qhasm: mulrax = a1_stack
  501. # asm 1: movq <a1_stack=stack64#9,>mulrax=int64#3
  502. # asm 2: movq <a1_stack=64(%rsp),>mulrax=%rdx
  503. movq 64(%rsp),%rdx
  504. # qhasm: mulrax *= 19
  505. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  506. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  507. imulq $19,%rdx,%rax
  508. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 32)
  509. # asm 1: mulq 32(<qp=int64#4)
  510. # asm 2: mulq 32(<qp=%rcx)
  511. mulq 32(%rcx)
  512. # qhasm: carry? a0 += mulrax
  513. # asm 1: add <mulrax=int64#7,<a0=int64#5
  514. # asm 2: add <mulrax=%rax,<a0=%r8
  515. add %rax,%r8
  516. # qhasm: mulr01 += mulrdx + carry
  517. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  518. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  519. adc %rdx,%r9
  520. # qhasm: mulrax = a2_stack
  521. # asm 1: movq <a2_stack=stack64#10,>mulrax=int64#7
  522. # asm 2: movq <a2_stack=72(%rsp),>mulrax=%rax
  523. movq 72(%rsp),%rax
  524. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 0)
  525. # asm 1: mulq 0(<qp=int64#4)
  526. # asm 2: mulq 0(<qp=%rcx)
  527. mulq 0(%rcx)
  528. # qhasm: carry? a2 += mulrax
  529. # asm 1: add <mulrax=int64#7,<a2=int64#10
  530. # asm 2: add <mulrax=%rax,<a2=%r12
  531. add %rax,%r12
  532. # qhasm: mulr21 += mulrdx + carry
  533. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  534. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  535. adc %rdx,%r13
  536. # qhasm: mulrax = a2_stack
  537. # asm 1: movq <a2_stack=stack64#10,>mulrax=int64#7
  538. # asm 2: movq <a2_stack=72(%rsp),>mulrax=%rax
  539. movq 72(%rsp),%rax
  540. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 8)
  541. # asm 1: mulq 8(<qp=int64#4)
  542. # asm 2: mulq 8(<qp=%rcx)
  543. mulq 8(%rcx)
  544. # qhasm: carry? a3 += mulrax
  545. # asm 1: add <mulrax=int64#7,<a3=int64#12
  546. # asm 2: add <mulrax=%rax,<a3=%r14
  547. add %rax,%r14
  548. # qhasm: mulr31 += mulrdx + carry
  549. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  550. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  551. adc %rdx,%r15
  552. # qhasm: mulrax = a2_stack
  553. # asm 1: movq <a2_stack=stack64#10,>mulrax=int64#7
  554. # asm 2: movq <a2_stack=72(%rsp),>mulrax=%rax
  555. movq 72(%rsp),%rax
  556. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 16)
  557. # asm 1: mulq 16(<qp=int64#4)
  558. # asm 2: mulq 16(<qp=%rcx)
  559. mulq 16(%rcx)
  560. # qhasm: carry? a4 += mulrax
  561. # asm 1: add <mulrax=int64#7,<a4=int64#14
  562. # asm 2: add <mulrax=%rax,<a4=%rbx
  563. add %rax,%rbx
  564. # qhasm: mulr41 += mulrdx + carry
  565. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  566. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  567. adc %rdx,%rbp
  568. # qhasm: mulrax = a2_stack
  569. # asm 1: movq <a2_stack=stack64#10,>mulrax=int64#3
  570. # asm 2: movq <a2_stack=72(%rsp),>mulrax=%rdx
  571. movq 72(%rsp),%rdx
  572. # qhasm: mulrax *= 19
  573. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  574. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  575. imulq $19,%rdx,%rax
  576. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 24)
  577. # asm 1: mulq 24(<qp=int64#4)
  578. # asm 2: mulq 24(<qp=%rcx)
  579. mulq 24(%rcx)
  580. # qhasm: carry? a0 += mulrax
  581. # asm 1: add <mulrax=int64#7,<a0=int64#5
  582. # asm 2: add <mulrax=%rax,<a0=%r8
  583. add %rax,%r8
  584. # qhasm: mulr01 += mulrdx + carry
  585. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  586. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  587. adc %rdx,%r9
  588. # qhasm: mulrax = a2_stack
  589. # asm 1: movq <a2_stack=stack64#10,>mulrax=int64#3
  590. # asm 2: movq <a2_stack=72(%rsp),>mulrax=%rdx
  591. movq 72(%rsp),%rdx
  592. # qhasm: mulrax *= 19
  593. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  594. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  595. imulq $19,%rdx,%rax
  596. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 32)
  597. # asm 1: mulq 32(<qp=int64#4)
  598. # asm 2: mulq 32(<qp=%rcx)
  599. mulq 32(%rcx)
  600. # qhasm: carry? a1 += mulrax
  601. # asm 1: add <mulrax=int64#7,<a1=int64#8
  602. # asm 2: add <mulrax=%rax,<a1=%r10
  603. add %rax,%r10
  604. # qhasm: mulr11 += mulrdx + carry
  605. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  606. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  607. adc %rdx,%r11
  608. # qhasm: mulrax = a3_stack
  609. # asm 1: movq <a3_stack=stack64#11,>mulrax=int64#7
  610. # asm 2: movq <a3_stack=80(%rsp),>mulrax=%rax
  611. movq 80(%rsp),%rax
  612. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 0)
  613. # asm 1: mulq 0(<qp=int64#4)
  614. # asm 2: mulq 0(<qp=%rcx)
  615. mulq 0(%rcx)
  616. # qhasm: carry? a3 += mulrax
  617. # asm 1: add <mulrax=int64#7,<a3=int64#12
  618. # asm 2: add <mulrax=%rax,<a3=%r14
  619. add %rax,%r14
  620. # qhasm: mulr31 += mulrdx + carry
  621. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  622. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  623. adc %rdx,%r15
  624. # qhasm: mulrax = a3_stack
  625. # asm 1: movq <a3_stack=stack64#11,>mulrax=int64#7
  626. # asm 2: movq <a3_stack=80(%rsp),>mulrax=%rax
  627. movq 80(%rsp),%rax
  628. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 8)
  629. # asm 1: mulq 8(<qp=int64#4)
  630. # asm 2: mulq 8(<qp=%rcx)
  631. mulq 8(%rcx)
  632. # qhasm: carry? a4 += mulrax
  633. # asm 1: add <mulrax=int64#7,<a4=int64#14
  634. # asm 2: add <mulrax=%rax,<a4=%rbx
  635. add %rax,%rbx
  636. # qhasm: mulr41 += mulrdx + carry
  637. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  638. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  639. adc %rdx,%rbp
  640. # qhasm: mulrax = mulx319_stack
  641. # asm 1: movq <mulx319_stack=stack64#18,>mulrax=int64#7
  642. # asm 2: movq <mulx319_stack=136(%rsp),>mulrax=%rax
  643. movq 136(%rsp),%rax
  644. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 24)
  645. # asm 1: mulq 24(<qp=int64#4)
  646. # asm 2: mulq 24(<qp=%rcx)
  647. mulq 24(%rcx)
  648. # qhasm: carry? a1 += mulrax
  649. # asm 1: add <mulrax=int64#7,<a1=int64#8
  650. # asm 2: add <mulrax=%rax,<a1=%r10
  651. add %rax,%r10
  652. # qhasm: mulr11 += mulrdx + carry
  653. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  654. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  655. adc %rdx,%r11
  656. # qhasm: mulrax = mulx319_stack
  657. # asm 1: movq <mulx319_stack=stack64#18,>mulrax=int64#7
  658. # asm 2: movq <mulx319_stack=136(%rsp),>mulrax=%rax
  659. movq 136(%rsp),%rax
  660. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 32)
  661. # asm 1: mulq 32(<qp=int64#4)
  662. # asm 2: mulq 32(<qp=%rcx)
  663. mulq 32(%rcx)
  664. # qhasm: carry? a2 += mulrax
  665. # asm 1: add <mulrax=int64#7,<a2=int64#10
  666. # asm 2: add <mulrax=%rax,<a2=%r12
  667. add %rax,%r12
  668. # qhasm: mulr21 += mulrdx + carry
  669. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  670. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  671. adc %rdx,%r13
  672. # qhasm: mulrax = a4_stack
  673. # asm 1: movq <a4_stack=stack64#12,>mulrax=int64#7
  674. # asm 2: movq <a4_stack=88(%rsp),>mulrax=%rax
  675. movq 88(%rsp),%rax
  676. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 0)
  677. # asm 1: mulq 0(<qp=int64#4)
  678. # asm 2: mulq 0(<qp=%rcx)
  679. mulq 0(%rcx)
  680. # qhasm: carry? a4 += mulrax
  681. # asm 1: add <mulrax=int64#7,<a4=int64#14
  682. # asm 2: add <mulrax=%rax,<a4=%rbx
  683. add %rax,%rbx
  684. # qhasm: mulr41 += mulrdx + carry
  685. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  686. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  687. adc %rdx,%rbp
  688. # qhasm: mulrax = mulx419_stack
  689. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  690. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  691. movq 144(%rsp),%rax
  692. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 16)
  693. # asm 1: mulq 16(<qp=int64#4)
  694. # asm 2: mulq 16(<qp=%rcx)
  695. mulq 16(%rcx)
  696. # qhasm: carry? a1 += mulrax
  697. # asm 1: add <mulrax=int64#7,<a1=int64#8
  698. # asm 2: add <mulrax=%rax,<a1=%r10
  699. add %rax,%r10
  700. # qhasm: mulr11 += mulrdx + carry
  701. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  702. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  703. adc %rdx,%r11
  704. # qhasm: mulrax = mulx419_stack
  705. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  706. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  707. movq 144(%rsp),%rax
  708. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 24)
  709. # asm 1: mulq 24(<qp=int64#4)
  710. # asm 2: mulq 24(<qp=%rcx)
  711. mulq 24(%rcx)
  712. # qhasm: carry? a2 += mulrax
  713. # asm 1: add <mulrax=int64#7,<a2=int64#10
  714. # asm 2: add <mulrax=%rax,<a2=%r12
  715. add %rax,%r12
  716. # qhasm: mulr21 += mulrdx + carry
  717. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  718. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  719. adc %rdx,%r13
  720. # qhasm: mulrax = mulx419_stack
  721. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  722. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  723. movq 144(%rsp),%rax
  724. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 32)
  725. # asm 1: mulq 32(<qp=int64#4)
  726. # asm 2: mulq 32(<qp=%rcx)
  727. mulq 32(%rcx)
  728. # qhasm: carry? a3 += mulrax
  729. # asm 1: add <mulrax=int64#7,<a3=int64#12
  730. # asm 2: add <mulrax=%rax,<a3=%r14
  731. add %rax,%r14
  732. # qhasm: mulr31 += mulrdx + carry
  733. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  734. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  735. adc %rdx,%r15
  736. # qhasm: mulredmask = *(uint64 *) &CRYPTO_NAMESPACE(batch_REDMASK51)
  737. # asm 1: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=int64#3
  738. # asm 2: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=%rdx
  739. movq CRYPTO_NAMESPACE(batch_REDMASK51)(%rip),%rdx
  740. # qhasm: mulr01 = (mulr01.a0) << 13
  741. # asm 1: shld $13,<a0=int64#5,<mulr01=int64#6
  742. # asm 2: shld $13,<a0=%r8,<mulr01=%r9
  743. shld $13,%r8,%r9
  744. # qhasm: a0 &= mulredmask
  745. # asm 1: and <mulredmask=int64#3,<a0=int64#5
  746. # asm 2: and <mulredmask=%rdx,<a0=%r8
  747. and %rdx,%r8
  748. # qhasm: mulr11 = (mulr11.a1) << 13
  749. # asm 1: shld $13,<a1=int64#8,<mulr11=int64#9
  750. # asm 2: shld $13,<a1=%r10,<mulr11=%r11
  751. shld $13,%r10,%r11
  752. # qhasm: a1 &= mulredmask
  753. # asm 1: and <mulredmask=int64#3,<a1=int64#8
  754. # asm 2: and <mulredmask=%rdx,<a1=%r10
  755. and %rdx,%r10
  756. # qhasm: a1 += mulr01
  757. # asm 1: add <mulr01=int64#6,<a1=int64#8
  758. # asm 2: add <mulr01=%r9,<a1=%r10
  759. add %r9,%r10
  760. # qhasm: mulr21 = (mulr21.a2) << 13
  761. # asm 1: shld $13,<a2=int64#10,<mulr21=int64#11
  762. # asm 2: shld $13,<a2=%r12,<mulr21=%r13
  763. shld $13,%r12,%r13
  764. # qhasm: a2 &= mulredmask
  765. # asm 1: and <mulredmask=int64#3,<a2=int64#10
  766. # asm 2: and <mulredmask=%rdx,<a2=%r12
  767. and %rdx,%r12
  768. # qhasm: a2 += mulr11
  769. # asm 1: add <mulr11=int64#9,<a2=int64#10
  770. # asm 2: add <mulr11=%r11,<a2=%r12
  771. add %r11,%r12
  772. # qhasm: mulr31 = (mulr31.a3) << 13
  773. # asm 1: shld $13,<a3=int64#12,<mulr31=int64#13
  774. # asm 2: shld $13,<a3=%r14,<mulr31=%r15
  775. shld $13,%r14,%r15
  776. # qhasm: a3 &= mulredmask
  777. # asm 1: and <mulredmask=int64#3,<a3=int64#12
  778. # asm 2: and <mulredmask=%rdx,<a3=%r14
  779. and %rdx,%r14
  780. # qhasm: a3 += mulr21
  781. # asm 1: add <mulr21=int64#11,<a3=int64#12
  782. # asm 2: add <mulr21=%r13,<a3=%r14
  783. add %r13,%r14
  784. # qhasm: mulr41 = (mulr41.a4) << 13
  785. # asm 1: shld $13,<a4=int64#14,<mulr41=int64#15
  786. # asm 2: shld $13,<a4=%rbx,<mulr41=%rbp
  787. shld $13,%rbx,%rbp
  788. # qhasm: a4 &= mulredmask
  789. # asm 1: and <mulredmask=int64#3,<a4=int64#14
  790. # asm 2: and <mulredmask=%rdx,<a4=%rbx
  791. and %rdx,%rbx
  792. # qhasm: a4 += mulr31
  793. # asm 1: add <mulr31=int64#13,<a4=int64#14
  794. # asm 2: add <mulr31=%r15,<a4=%rbx
  795. add %r15,%rbx
  796. # qhasm: mulr41 = mulr41 * 19
  797. # asm 1: imulq $19,<mulr41=int64#15,>mulr41=int64#6
  798. # asm 2: imulq $19,<mulr41=%rbp,>mulr41=%r9
  799. imulq $19,%rbp,%r9
  800. # qhasm: a0 += mulr41
  801. # asm 1: add <mulr41=int64#6,<a0=int64#5
  802. # asm 2: add <mulr41=%r9,<a0=%r8
  803. add %r9,%r8
  804. # qhasm: mult = a0
  805. # asm 1: mov <a0=int64#5,>mult=int64#6
  806. # asm 2: mov <a0=%r8,>mult=%r9
  807. mov %r8,%r9
  808. # qhasm: (uint64) mult >>= 51
  809. # asm 1: shr $51,<mult=int64#6
  810. # asm 2: shr $51,<mult=%r9
  811. shr $51,%r9
  812. # qhasm: mult += a1
  813. # asm 1: add <a1=int64#8,<mult=int64#6
  814. # asm 2: add <a1=%r10,<mult=%r9
  815. add %r10,%r9
  816. # qhasm: a1 = mult
  817. # asm 1: mov <mult=int64#6,>a1=int64#7
  818. # asm 2: mov <mult=%r9,>a1=%rax
  819. mov %r9,%rax
  820. # qhasm: (uint64) mult >>= 51
  821. # asm 1: shr $51,<mult=int64#6
  822. # asm 2: shr $51,<mult=%r9
  823. shr $51,%r9
  824. # qhasm: a0 &= mulredmask
  825. # asm 1: and <mulredmask=int64#3,<a0=int64#5
  826. # asm 2: and <mulredmask=%rdx,<a0=%r8
  827. and %rdx,%r8
  828. # qhasm: mult += a2
  829. # asm 1: add <a2=int64#10,<mult=int64#6
  830. # asm 2: add <a2=%r12,<mult=%r9
  831. add %r12,%r9
  832. # qhasm: a2 = mult
  833. # asm 1: mov <mult=int64#6,>a2=int64#8
  834. # asm 2: mov <mult=%r9,>a2=%r10
  835. mov %r9,%r10
  836. # qhasm: (uint64) mult >>= 51
  837. # asm 1: shr $51,<mult=int64#6
  838. # asm 2: shr $51,<mult=%r9
  839. shr $51,%r9
  840. # qhasm: a1 &= mulredmask
  841. # asm 1: and <mulredmask=int64#3,<a1=int64#7
  842. # asm 2: and <mulredmask=%rdx,<a1=%rax
  843. and %rdx,%rax
  844. # qhasm: mult += a3
  845. # asm 1: add <a3=int64#12,<mult=int64#6
  846. # asm 2: add <a3=%r14,<mult=%r9
  847. add %r14,%r9
  848. # qhasm: a3 = mult
  849. # asm 1: mov <mult=int64#6,>a3=int64#9
  850. # asm 2: mov <mult=%r9,>a3=%r11
  851. mov %r9,%r11
  852. # qhasm: (uint64) mult >>= 51
  853. # asm 1: shr $51,<mult=int64#6
  854. # asm 2: shr $51,<mult=%r9
  855. shr $51,%r9
  856. # qhasm: a2 &= mulredmask
  857. # asm 1: and <mulredmask=int64#3,<a2=int64#8
  858. # asm 2: and <mulredmask=%rdx,<a2=%r10
  859. and %rdx,%r10
  860. # qhasm: mult += a4
  861. # asm 1: add <a4=int64#14,<mult=int64#6
  862. # asm 2: add <a4=%rbx,<mult=%r9
  863. add %rbx,%r9
  864. # qhasm: a4 = mult
  865. # asm 1: mov <mult=int64#6,>a4=int64#10
  866. # asm 2: mov <mult=%r9,>a4=%r12
  867. mov %r9,%r12
  868. # qhasm: (uint64) mult >>= 51
  869. # asm 1: shr $51,<mult=int64#6
  870. # asm 2: shr $51,<mult=%r9
  871. shr $51,%r9
  872. # qhasm: a3 &= mulredmask
  873. # asm 1: and <mulredmask=int64#3,<a3=int64#9
  874. # asm 2: and <mulredmask=%rdx,<a3=%r11
  875. and %rdx,%r11
  876. # qhasm: mult *= 19
  877. # asm 1: imulq $19,<mult=int64#6,>mult=int64#6
  878. # asm 2: imulq $19,<mult=%r9,>mult=%r9
  879. imulq $19,%r9,%r9
  880. # qhasm: a0 += mult
  881. # asm 1: add <mult=int64#6,<a0=int64#5
  882. # asm 2: add <mult=%r9,<a0=%r8
  883. add %r9,%r8
  884. # qhasm: a4 &= mulredmask
  885. # asm 1: and <mulredmask=int64#3,<a4=int64#10
  886. # asm 2: and <mulredmask=%rdx,<a4=%r12
  887. and %rdx,%r12
  888. # qhasm: a0_stack = a0
  889. # asm 1: movq <a0=int64#5,>a0_stack=stack64#8
  890. # asm 2: movq <a0=%r8,>a0_stack=56(%rsp)
  891. movq %r8,56(%rsp)
  892. # qhasm: a1_stack = a1
  893. # asm 1: movq <a1=int64#7,>a1_stack=stack64#9
  894. # asm 2: movq <a1=%rax,>a1_stack=64(%rsp)
  895. movq %rax,64(%rsp)
  896. # qhasm: a2_stack = a2
  897. # asm 1: movq <a2=int64#8,>a2_stack=stack64#10
  898. # asm 2: movq <a2=%r10,>a2_stack=72(%rsp)
  899. movq %r10,72(%rsp)
  900. # qhasm: a3_stack = a3
  901. # asm 1: movq <a3=int64#9,>a3_stack=stack64#11
  902. # asm 2: movq <a3=%r11,>a3_stack=80(%rsp)
  903. movq %r11,80(%rsp)
  904. # qhasm: a4_stack = a4
  905. # asm 1: movq <a4=int64#10,>a4_stack=stack64#12
  906. # asm 2: movq <a4=%r12,>a4_stack=88(%rsp)
  907. movq %r12,88(%rsp)
  908. # qhasm: mulrax = b3_stack
  909. # asm 1: movq <b3_stack=stack64#16,>mulrax=int64#3
  910. # asm 2: movq <b3_stack=120(%rsp),>mulrax=%rdx
  911. movq 120(%rsp),%rdx
  912. # qhasm: mulrax *= 19
  913. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  914. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  915. imulq $19,%rdx,%rax
  916. # qhasm: mulx319_stack = mulrax
  917. # asm 1: movq <mulrax=int64#7,>mulx319_stack=stack64#18
  918. # asm 2: movq <mulrax=%rax,>mulx319_stack=136(%rsp)
  919. movq %rax,136(%rsp)
  920. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 56)
  921. # asm 1: mulq 56(<qp=int64#4)
  922. # asm 2: mulq 56(<qp=%rcx)
  923. mulq 56(%rcx)
  924. # qhasm: rx0 = mulrax
  925. # asm 1: mov <mulrax=int64#7,>rx0=int64#5
  926. # asm 2: mov <mulrax=%rax,>rx0=%r8
  927. mov %rax,%r8
  928. # qhasm: mulr01 = mulrdx
  929. # asm 1: mov <mulrdx=int64#3,>mulr01=int64#6
  930. # asm 2: mov <mulrdx=%rdx,>mulr01=%r9
  931. mov %rdx,%r9
  932. # qhasm: mulrax = b4_stack
  933. # asm 1: movq <b4_stack=stack64#17,>mulrax=int64#3
  934. # asm 2: movq <b4_stack=128(%rsp),>mulrax=%rdx
  935. movq 128(%rsp),%rdx
  936. # qhasm: mulrax *= 19
  937. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  938. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  939. imulq $19,%rdx,%rax
  940. # qhasm: mulx419_stack = mulrax
  941. # asm 1: movq <mulrax=int64#7,>mulx419_stack=stack64#19
  942. # asm 2: movq <mulrax=%rax,>mulx419_stack=144(%rsp)
  943. movq %rax,144(%rsp)
  944. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 48)
  945. # asm 1: mulq 48(<qp=int64#4)
  946. # asm 2: mulq 48(<qp=%rcx)
  947. mulq 48(%rcx)
  948. # qhasm: carry? rx0 += mulrax
  949. # asm 1: add <mulrax=int64#7,<rx0=int64#5
  950. # asm 2: add <mulrax=%rax,<rx0=%r8
  951. add %rax,%r8
  952. # qhasm: mulr01 += mulrdx + carry
  953. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  954. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  955. adc %rdx,%r9
  956. # qhasm: mulrax = b0_stack
  957. # asm 1: movq <b0_stack=stack64#13,>mulrax=int64#7
  958. # asm 2: movq <b0_stack=96(%rsp),>mulrax=%rax
  959. movq 96(%rsp),%rax
  960. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 40)
  961. # asm 1: mulq 40(<qp=int64#4)
  962. # asm 2: mulq 40(<qp=%rcx)
  963. mulq 40(%rcx)
  964. # qhasm: carry? rx0 += mulrax
  965. # asm 1: add <mulrax=int64#7,<rx0=int64#5
  966. # asm 2: add <mulrax=%rax,<rx0=%r8
  967. add %rax,%r8
  968. # qhasm: mulr01 += mulrdx + carry
  969. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  970. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  971. adc %rdx,%r9
  972. # qhasm: mulrax = b0_stack
  973. # asm 1: movq <b0_stack=stack64#13,>mulrax=int64#7
  974. # asm 2: movq <b0_stack=96(%rsp),>mulrax=%rax
  975. movq 96(%rsp),%rax
  976. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 48)
  977. # asm 1: mulq 48(<qp=int64#4)
  978. # asm 2: mulq 48(<qp=%rcx)
  979. mulq 48(%rcx)
  980. # qhasm: rx1 = mulrax
  981. # asm 1: mov <mulrax=int64#7,>rx1=int64#8
  982. # asm 2: mov <mulrax=%rax,>rx1=%r10
  983. mov %rax,%r10
  984. # qhasm: mulr11 = mulrdx
  985. # asm 1: mov <mulrdx=int64#3,>mulr11=int64#9
  986. # asm 2: mov <mulrdx=%rdx,>mulr11=%r11
  987. mov %rdx,%r11
  988. # qhasm: mulrax = b0_stack
  989. # asm 1: movq <b0_stack=stack64#13,>mulrax=int64#7
  990. # asm 2: movq <b0_stack=96(%rsp),>mulrax=%rax
  991. movq 96(%rsp),%rax
  992. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 56)
  993. # asm 1: mulq 56(<qp=int64#4)
  994. # asm 2: mulq 56(<qp=%rcx)
  995. mulq 56(%rcx)
  996. # qhasm: rx2 = mulrax
  997. # asm 1: mov <mulrax=int64#7,>rx2=int64#10
  998. # asm 2: mov <mulrax=%rax,>rx2=%r12
  999. mov %rax,%r12
  1000. # qhasm: mulr21 = mulrdx
  1001. # asm 1: mov <mulrdx=int64#3,>mulr21=int64#11
  1002. # asm 2: mov <mulrdx=%rdx,>mulr21=%r13
  1003. mov %rdx,%r13
  1004. # qhasm: mulrax = b0_stack
  1005. # asm 1: movq <b0_stack=stack64#13,>mulrax=int64#7
  1006. # asm 2: movq <b0_stack=96(%rsp),>mulrax=%rax
  1007. movq 96(%rsp),%rax
  1008. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 64)
  1009. # asm 1: mulq 64(<qp=int64#4)
  1010. # asm 2: mulq 64(<qp=%rcx)
  1011. mulq 64(%rcx)
  1012. # qhasm: rx3 = mulrax
  1013. # asm 1: mov <mulrax=int64#7,>rx3=int64#12
  1014. # asm 2: mov <mulrax=%rax,>rx3=%r14
  1015. mov %rax,%r14
  1016. # qhasm: mulr31 = mulrdx
  1017. # asm 1: mov <mulrdx=int64#3,>mulr31=int64#13
  1018. # asm 2: mov <mulrdx=%rdx,>mulr31=%r15
  1019. mov %rdx,%r15
  1020. # qhasm: mulrax = b0_stack
  1021. # asm 1: movq <b0_stack=stack64#13,>mulrax=int64#7
  1022. # asm 2: movq <b0_stack=96(%rsp),>mulrax=%rax
  1023. movq 96(%rsp),%rax
  1024. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 72)
  1025. # asm 1: mulq 72(<qp=int64#4)
  1026. # asm 2: mulq 72(<qp=%rcx)
  1027. mulq 72(%rcx)
  1028. # qhasm: rx4 = mulrax
  1029. # asm 1: mov <mulrax=int64#7,>rx4=int64#14
  1030. # asm 2: mov <mulrax=%rax,>rx4=%rbx
  1031. mov %rax,%rbx
  1032. # qhasm: mulr41 = mulrdx
  1033. # asm 1: mov <mulrdx=int64#3,>mulr41=int64#15
  1034. # asm 2: mov <mulrdx=%rdx,>mulr41=%rbp
  1035. mov %rdx,%rbp
  1036. # qhasm: mulrax = b1_stack
  1037. # asm 1: movq <b1_stack=stack64#14,>mulrax=int64#7
  1038. # asm 2: movq <b1_stack=104(%rsp),>mulrax=%rax
  1039. movq 104(%rsp),%rax
  1040. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 40)
  1041. # asm 1: mulq 40(<qp=int64#4)
  1042. # asm 2: mulq 40(<qp=%rcx)
  1043. mulq 40(%rcx)
  1044. # qhasm: carry? rx1 += mulrax
  1045. # asm 1: add <mulrax=int64#7,<rx1=int64#8
  1046. # asm 2: add <mulrax=%rax,<rx1=%r10
  1047. add %rax,%r10
  1048. # qhasm: mulr11 += mulrdx + carry
  1049. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1050. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1051. adc %rdx,%r11
  1052. # qhasm: mulrax = b1_stack
  1053. # asm 1: movq <b1_stack=stack64#14,>mulrax=int64#7
  1054. # asm 2: movq <b1_stack=104(%rsp),>mulrax=%rax
  1055. movq 104(%rsp),%rax
  1056. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 48)
  1057. # asm 1: mulq 48(<qp=int64#4)
  1058. # asm 2: mulq 48(<qp=%rcx)
  1059. mulq 48(%rcx)
  1060. # qhasm: carry? rx2 += mulrax
  1061. # asm 1: add <mulrax=int64#7,<rx2=int64#10
  1062. # asm 2: add <mulrax=%rax,<rx2=%r12
  1063. add %rax,%r12
  1064. # qhasm: mulr21 += mulrdx + carry
  1065. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1066. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1067. adc %rdx,%r13
  1068. # qhasm: mulrax = b1_stack
  1069. # asm 1: movq <b1_stack=stack64#14,>mulrax=int64#7
  1070. # asm 2: movq <b1_stack=104(%rsp),>mulrax=%rax
  1071. movq 104(%rsp),%rax
  1072. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 56)
  1073. # asm 1: mulq 56(<qp=int64#4)
  1074. # asm 2: mulq 56(<qp=%rcx)
  1075. mulq 56(%rcx)
  1076. # qhasm: carry? rx3 += mulrax
  1077. # asm 1: add <mulrax=int64#7,<rx3=int64#12
  1078. # asm 2: add <mulrax=%rax,<rx3=%r14
  1079. add %rax,%r14
  1080. # qhasm: mulr31 += mulrdx + carry
  1081. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1082. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1083. adc %rdx,%r15
  1084. # qhasm: mulrax = b1_stack
  1085. # asm 1: movq <b1_stack=stack64#14,>mulrax=int64#7
  1086. # asm 2: movq <b1_stack=104(%rsp),>mulrax=%rax
  1087. movq 104(%rsp),%rax
  1088. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 64)
  1089. # asm 1: mulq 64(<qp=int64#4)
  1090. # asm 2: mulq 64(<qp=%rcx)
  1091. mulq 64(%rcx)
  1092. # qhasm: carry? rx4 += mulrax
  1093. # asm 1: add <mulrax=int64#7,<rx4=int64#14
  1094. # asm 2: add <mulrax=%rax,<rx4=%rbx
  1095. add %rax,%rbx
  1096. # qhasm: mulr41 += mulrdx + carry
  1097. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1098. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1099. adc %rdx,%rbp
  1100. # qhasm: mulrax = b1_stack
  1101. # asm 1: movq <b1_stack=stack64#14,>mulrax=int64#3
  1102. # asm 2: movq <b1_stack=104(%rsp),>mulrax=%rdx
  1103. movq 104(%rsp),%rdx
  1104. # qhasm: mulrax *= 19
  1105. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1106. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1107. imulq $19,%rdx,%rax
  1108. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 72)
  1109. # asm 1: mulq 72(<qp=int64#4)
  1110. # asm 2: mulq 72(<qp=%rcx)
  1111. mulq 72(%rcx)
  1112. # qhasm: carry? rx0 += mulrax
  1113. # asm 1: add <mulrax=int64#7,<rx0=int64#5
  1114. # asm 2: add <mulrax=%rax,<rx0=%r8
  1115. add %rax,%r8
  1116. # qhasm: mulr01 += mulrdx + carry
  1117. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1118. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1119. adc %rdx,%r9
  1120. # qhasm: mulrax = b2_stack
  1121. # asm 1: movq <b2_stack=stack64#15,>mulrax=int64#7
  1122. # asm 2: movq <b2_stack=112(%rsp),>mulrax=%rax
  1123. movq 112(%rsp),%rax
  1124. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 40)
  1125. # asm 1: mulq 40(<qp=int64#4)
  1126. # asm 2: mulq 40(<qp=%rcx)
  1127. mulq 40(%rcx)
  1128. # qhasm: carry? rx2 += mulrax
  1129. # asm 1: add <mulrax=int64#7,<rx2=int64#10
  1130. # asm 2: add <mulrax=%rax,<rx2=%r12
  1131. add %rax,%r12
  1132. # qhasm: mulr21 += mulrdx + carry
  1133. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1134. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1135. adc %rdx,%r13
  1136. # qhasm: mulrax = b2_stack
  1137. # asm 1: movq <b2_stack=stack64#15,>mulrax=int64#7
  1138. # asm 2: movq <b2_stack=112(%rsp),>mulrax=%rax
  1139. movq 112(%rsp),%rax
  1140. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 48)
  1141. # asm 1: mulq 48(<qp=int64#4)
  1142. # asm 2: mulq 48(<qp=%rcx)
  1143. mulq 48(%rcx)
  1144. # qhasm: carry? rx3 += mulrax
  1145. # asm 1: add <mulrax=int64#7,<rx3=int64#12
  1146. # asm 2: add <mulrax=%rax,<rx3=%r14
  1147. add %rax,%r14
  1148. # qhasm: mulr31 += mulrdx + carry
  1149. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1150. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1151. adc %rdx,%r15
  1152. # qhasm: mulrax = b2_stack
  1153. # asm 1: movq <b2_stack=stack64#15,>mulrax=int64#7
  1154. # asm 2: movq <b2_stack=112(%rsp),>mulrax=%rax
  1155. movq 112(%rsp),%rax
  1156. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 56)
  1157. # asm 1: mulq 56(<qp=int64#4)
  1158. # asm 2: mulq 56(<qp=%rcx)
  1159. mulq 56(%rcx)
  1160. # qhasm: carry? rx4 += mulrax
  1161. # asm 1: add <mulrax=int64#7,<rx4=int64#14
  1162. # asm 2: add <mulrax=%rax,<rx4=%rbx
  1163. add %rax,%rbx
  1164. # qhasm: mulr41 += mulrdx + carry
  1165. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1166. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1167. adc %rdx,%rbp
  1168. # qhasm: mulrax = b2_stack
  1169. # asm 1: movq <b2_stack=stack64#15,>mulrax=int64#3
  1170. # asm 2: movq <b2_stack=112(%rsp),>mulrax=%rdx
  1171. movq 112(%rsp),%rdx
  1172. # qhasm: mulrax *= 19
  1173. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1174. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1175. imulq $19,%rdx,%rax
  1176. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 64)
  1177. # asm 1: mulq 64(<qp=int64#4)
  1178. # asm 2: mulq 64(<qp=%rcx)
  1179. mulq 64(%rcx)
  1180. # qhasm: carry? rx0 += mulrax
  1181. # asm 1: add <mulrax=int64#7,<rx0=int64#5
  1182. # asm 2: add <mulrax=%rax,<rx0=%r8
  1183. add %rax,%r8
  1184. # qhasm: mulr01 += mulrdx + carry
  1185. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1186. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1187. adc %rdx,%r9
  1188. # qhasm: mulrax = b2_stack
  1189. # asm 1: movq <b2_stack=stack64#15,>mulrax=int64#3
  1190. # asm 2: movq <b2_stack=112(%rsp),>mulrax=%rdx
  1191. movq 112(%rsp),%rdx
  1192. # qhasm: mulrax *= 19
  1193. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1194. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1195. imulq $19,%rdx,%rax
  1196. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 72)
  1197. # asm 1: mulq 72(<qp=int64#4)
  1198. # asm 2: mulq 72(<qp=%rcx)
  1199. mulq 72(%rcx)
  1200. # qhasm: carry? rx1 += mulrax
  1201. # asm 1: add <mulrax=int64#7,<rx1=int64#8
  1202. # asm 2: add <mulrax=%rax,<rx1=%r10
  1203. add %rax,%r10
  1204. # qhasm: mulr11 += mulrdx + carry
  1205. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1206. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1207. adc %rdx,%r11
  1208. # qhasm: mulrax = b3_stack
  1209. # asm 1: movq <b3_stack=stack64#16,>mulrax=int64#7
  1210. # asm 2: movq <b3_stack=120(%rsp),>mulrax=%rax
  1211. movq 120(%rsp),%rax
  1212. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 40)
  1213. # asm 1: mulq 40(<qp=int64#4)
  1214. # asm 2: mulq 40(<qp=%rcx)
  1215. mulq 40(%rcx)
  1216. # qhasm: carry? rx3 += mulrax
  1217. # asm 1: add <mulrax=int64#7,<rx3=int64#12
  1218. # asm 2: add <mulrax=%rax,<rx3=%r14
  1219. add %rax,%r14
  1220. # qhasm: mulr31 += mulrdx + carry
  1221. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1222. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1223. adc %rdx,%r15
  1224. # qhasm: mulrax = b3_stack
  1225. # asm 1: movq <b3_stack=stack64#16,>mulrax=int64#7
  1226. # asm 2: movq <b3_stack=120(%rsp),>mulrax=%rax
  1227. movq 120(%rsp),%rax
  1228. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 48)
  1229. # asm 1: mulq 48(<qp=int64#4)
  1230. # asm 2: mulq 48(<qp=%rcx)
  1231. mulq 48(%rcx)
  1232. # qhasm: carry? rx4 += mulrax
  1233. # asm 1: add <mulrax=int64#7,<rx4=int64#14
  1234. # asm 2: add <mulrax=%rax,<rx4=%rbx
  1235. add %rax,%rbx
  1236. # qhasm: mulr41 += mulrdx + carry
  1237. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1238. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1239. adc %rdx,%rbp
  1240. # qhasm: mulrax = mulx319_stack
  1241. # asm 1: movq <mulx319_stack=stack64#18,>mulrax=int64#7
  1242. # asm 2: movq <mulx319_stack=136(%rsp),>mulrax=%rax
  1243. movq 136(%rsp),%rax
  1244. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 64)
  1245. # asm 1: mulq 64(<qp=int64#4)
  1246. # asm 2: mulq 64(<qp=%rcx)
  1247. mulq 64(%rcx)
  1248. # qhasm: carry? rx1 += mulrax
  1249. # asm 1: add <mulrax=int64#7,<rx1=int64#8
  1250. # asm 2: add <mulrax=%rax,<rx1=%r10
  1251. add %rax,%r10
  1252. # qhasm: mulr11 += mulrdx + carry
  1253. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1254. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1255. adc %rdx,%r11
  1256. # qhasm: mulrax = mulx319_stack
  1257. # asm 1: movq <mulx319_stack=stack64#18,>mulrax=int64#7
  1258. # asm 2: movq <mulx319_stack=136(%rsp),>mulrax=%rax
  1259. movq 136(%rsp),%rax
  1260. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 72)
  1261. # asm 1: mulq 72(<qp=int64#4)
  1262. # asm 2: mulq 72(<qp=%rcx)
  1263. mulq 72(%rcx)
  1264. # qhasm: carry? rx2 += mulrax
  1265. # asm 1: add <mulrax=int64#7,<rx2=int64#10
  1266. # asm 2: add <mulrax=%rax,<rx2=%r12
  1267. add %rax,%r12
  1268. # qhasm: mulr21 += mulrdx + carry
  1269. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1270. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1271. adc %rdx,%r13
  1272. # qhasm: mulrax = b4_stack
  1273. # asm 1: movq <b4_stack=stack64#17,>mulrax=int64#7
  1274. # asm 2: movq <b4_stack=128(%rsp),>mulrax=%rax
  1275. movq 128(%rsp),%rax
  1276. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 40)
  1277. # asm 1: mulq 40(<qp=int64#4)
  1278. # asm 2: mulq 40(<qp=%rcx)
  1279. mulq 40(%rcx)
  1280. # qhasm: carry? rx4 += mulrax
  1281. # asm 1: add <mulrax=int64#7,<rx4=int64#14
  1282. # asm 2: add <mulrax=%rax,<rx4=%rbx
  1283. add %rax,%rbx
  1284. # qhasm: mulr41 += mulrdx + carry
  1285. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1286. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1287. adc %rdx,%rbp
  1288. # qhasm: mulrax = mulx419_stack
  1289. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  1290. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  1291. movq 144(%rsp),%rax
  1292. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 56)
  1293. # asm 1: mulq 56(<qp=int64#4)
  1294. # asm 2: mulq 56(<qp=%rcx)
  1295. mulq 56(%rcx)
  1296. # qhasm: carry? rx1 += mulrax
  1297. # asm 1: add <mulrax=int64#7,<rx1=int64#8
  1298. # asm 2: add <mulrax=%rax,<rx1=%r10
  1299. add %rax,%r10
  1300. # qhasm: mulr11 += mulrdx + carry
  1301. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1302. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1303. adc %rdx,%r11
  1304. # qhasm: mulrax = mulx419_stack
  1305. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  1306. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  1307. movq 144(%rsp),%rax
  1308. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 64)
  1309. # asm 1: mulq 64(<qp=int64#4)
  1310. # asm 2: mulq 64(<qp=%rcx)
  1311. mulq 64(%rcx)
  1312. # qhasm: carry? rx2 += mulrax
  1313. # asm 1: add <mulrax=int64#7,<rx2=int64#10
  1314. # asm 2: add <mulrax=%rax,<rx2=%r12
  1315. add %rax,%r12
  1316. # qhasm: mulr21 += mulrdx + carry
  1317. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1318. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1319. adc %rdx,%r13
  1320. # qhasm: mulrax = mulx419_stack
  1321. # asm 1: movq <mulx419_stack=stack64#19,>mulrax=int64#7
  1322. # asm 2: movq <mulx419_stack=144(%rsp),>mulrax=%rax
  1323. movq 144(%rsp),%rax
  1324. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 72)
  1325. # asm 1: mulq 72(<qp=int64#4)
  1326. # asm 2: mulq 72(<qp=%rcx)
  1327. mulq 72(%rcx)
  1328. # qhasm: carry? rx3 += mulrax
  1329. # asm 1: add <mulrax=int64#7,<rx3=int64#12
  1330. # asm 2: add <mulrax=%rax,<rx3=%r14
  1331. add %rax,%r14
  1332. # qhasm: mulr31 += mulrdx + carry
  1333. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1334. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1335. adc %rdx,%r15
  1336. # qhasm: mulredmask = *(uint64 *) &CRYPTO_NAMESPACE(batch_REDMASK51)
  1337. # asm 1: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=int64#3
  1338. # asm 2: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=%rdx
  1339. movq CRYPTO_NAMESPACE(batch_REDMASK51)(%rip),%rdx
  1340. # qhasm: mulr01 = (mulr01.rx0) << 13
  1341. # asm 1: shld $13,<rx0=int64#5,<mulr01=int64#6
  1342. # asm 2: shld $13,<rx0=%r8,<mulr01=%r9
  1343. shld $13,%r8,%r9
  1344. # qhasm: rx0 &= mulredmask
  1345. # asm 1: and <mulredmask=int64#3,<rx0=int64#5
  1346. # asm 2: and <mulredmask=%rdx,<rx0=%r8
  1347. and %rdx,%r8
  1348. # qhasm: mulr11 = (mulr11.rx1) << 13
  1349. # asm 1: shld $13,<rx1=int64#8,<mulr11=int64#9
  1350. # asm 2: shld $13,<rx1=%r10,<mulr11=%r11
  1351. shld $13,%r10,%r11
  1352. # qhasm: rx1 &= mulredmask
  1353. # asm 1: and <mulredmask=int64#3,<rx1=int64#8
  1354. # asm 2: and <mulredmask=%rdx,<rx1=%r10
  1355. and %rdx,%r10
  1356. # qhasm: rx1 += mulr01
  1357. # asm 1: add <mulr01=int64#6,<rx1=int64#8
  1358. # asm 2: add <mulr01=%r9,<rx1=%r10
  1359. add %r9,%r10
  1360. # qhasm: mulr21 = (mulr21.rx2) << 13
  1361. # asm 1: shld $13,<rx2=int64#10,<mulr21=int64#11
  1362. # asm 2: shld $13,<rx2=%r12,<mulr21=%r13
  1363. shld $13,%r12,%r13
  1364. # qhasm: rx2 &= mulredmask
  1365. # asm 1: and <mulredmask=int64#3,<rx2=int64#10
  1366. # asm 2: and <mulredmask=%rdx,<rx2=%r12
  1367. and %rdx,%r12
  1368. # qhasm: rx2 += mulr11
  1369. # asm 1: add <mulr11=int64#9,<rx2=int64#10
  1370. # asm 2: add <mulr11=%r11,<rx2=%r12
  1371. add %r11,%r12
  1372. # qhasm: mulr31 = (mulr31.rx3) << 13
  1373. # asm 1: shld $13,<rx3=int64#12,<mulr31=int64#13
  1374. # asm 2: shld $13,<rx3=%r14,<mulr31=%r15
  1375. shld $13,%r14,%r15
  1376. # qhasm: rx3 &= mulredmask
  1377. # asm 1: and <mulredmask=int64#3,<rx3=int64#12
  1378. # asm 2: and <mulredmask=%rdx,<rx3=%r14
  1379. and %rdx,%r14
  1380. # qhasm: rx3 += mulr21
  1381. # asm 1: add <mulr21=int64#11,<rx3=int64#12
  1382. # asm 2: add <mulr21=%r13,<rx3=%r14
  1383. add %r13,%r14
  1384. # qhasm: mulr41 = (mulr41.rx4) << 13
  1385. # asm 1: shld $13,<rx4=int64#14,<mulr41=int64#15
  1386. # asm 2: shld $13,<rx4=%rbx,<mulr41=%rbp
  1387. shld $13,%rbx,%rbp
  1388. # qhasm: rx4 &= mulredmask
  1389. # asm 1: and <mulredmask=int64#3,<rx4=int64#14
  1390. # asm 2: and <mulredmask=%rdx,<rx4=%rbx
  1391. and %rdx,%rbx
  1392. # qhasm: rx4 += mulr31
  1393. # asm 1: add <mulr31=int64#13,<rx4=int64#14
  1394. # asm 2: add <mulr31=%r15,<rx4=%rbx
  1395. add %r15,%rbx
  1396. # qhasm: mulr41 = mulr41 * 19
  1397. # asm 1: imulq $19,<mulr41=int64#15,>mulr41=int64#6
  1398. # asm 2: imulq $19,<mulr41=%rbp,>mulr41=%r9
  1399. imulq $19,%rbp,%r9
  1400. # qhasm: rx0 += mulr41
  1401. # asm 1: add <mulr41=int64#6,<rx0=int64#5
  1402. # asm 2: add <mulr41=%r9,<rx0=%r8
  1403. add %r9,%r8
  1404. # qhasm: mult = rx0
  1405. # asm 1: mov <rx0=int64#5,>mult=int64#6
  1406. # asm 2: mov <rx0=%r8,>mult=%r9
  1407. mov %r8,%r9
  1408. # qhasm: (uint64) mult >>= 51
  1409. # asm 1: shr $51,<mult=int64#6
  1410. # asm 2: shr $51,<mult=%r9
  1411. shr $51,%r9
  1412. # qhasm: mult += rx1
  1413. # asm 1: add <rx1=int64#8,<mult=int64#6
  1414. # asm 2: add <rx1=%r10,<mult=%r9
  1415. add %r10,%r9
  1416. # qhasm: rx1 = mult
  1417. # asm 1: mov <mult=int64#6,>rx1=int64#7
  1418. # asm 2: mov <mult=%r9,>rx1=%rax
  1419. mov %r9,%rax
  1420. # qhasm: (uint64) mult >>= 51
  1421. # asm 1: shr $51,<mult=int64#6
  1422. # asm 2: shr $51,<mult=%r9
  1423. shr $51,%r9
  1424. # qhasm: rx0 &= mulredmask
  1425. # asm 1: and <mulredmask=int64#3,<rx0=int64#5
  1426. # asm 2: and <mulredmask=%rdx,<rx0=%r8
  1427. and %rdx,%r8
  1428. # qhasm: mult += rx2
  1429. # asm 1: add <rx2=int64#10,<mult=int64#6
  1430. # asm 2: add <rx2=%r12,<mult=%r9
  1431. add %r12,%r9
  1432. # qhasm: rx2 = mult
  1433. # asm 1: mov <mult=int64#6,>rx2=int64#8
  1434. # asm 2: mov <mult=%r9,>rx2=%r10
  1435. mov %r9,%r10
  1436. # qhasm: (uint64) mult >>= 51
  1437. # asm 1: shr $51,<mult=int64#6
  1438. # asm 2: shr $51,<mult=%r9
  1439. shr $51,%r9
  1440. # qhasm: rx1 &= mulredmask
  1441. # asm 1: and <mulredmask=int64#3,<rx1=int64#7
  1442. # asm 2: and <mulredmask=%rdx,<rx1=%rax
  1443. and %rdx,%rax
  1444. # qhasm: mult += rx3
  1445. # asm 1: add <rx3=int64#12,<mult=int64#6
  1446. # asm 2: add <rx3=%r14,<mult=%r9
  1447. add %r14,%r9
  1448. # qhasm: rx3 = mult
  1449. # asm 1: mov <mult=int64#6,>rx3=int64#9
  1450. # asm 2: mov <mult=%r9,>rx3=%r11
  1451. mov %r9,%r11
  1452. # qhasm: (uint64) mult >>= 51
  1453. # asm 1: shr $51,<mult=int64#6
  1454. # asm 2: shr $51,<mult=%r9
  1455. shr $51,%r9
  1456. # qhasm: rx2 &= mulredmask
  1457. # asm 1: and <mulredmask=int64#3,<rx2=int64#8
  1458. # asm 2: and <mulredmask=%rdx,<rx2=%r10
  1459. and %rdx,%r10
  1460. # qhasm: mult += rx4
  1461. # asm 1: add <rx4=int64#14,<mult=int64#6
  1462. # asm 2: add <rx4=%rbx,<mult=%r9
  1463. add %rbx,%r9
  1464. # qhasm: rx4 = mult
  1465. # asm 1: mov <mult=int64#6,>rx4=int64#10
  1466. # asm 2: mov <mult=%r9,>rx4=%r12
  1467. mov %r9,%r12
  1468. # qhasm: (uint64) mult >>= 51
  1469. # asm 1: shr $51,<mult=int64#6
  1470. # asm 2: shr $51,<mult=%r9
  1471. shr $51,%r9
  1472. # qhasm: rx3 &= mulredmask
  1473. # asm 1: and <mulredmask=int64#3,<rx3=int64#9
  1474. # asm 2: and <mulredmask=%rdx,<rx3=%r11
  1475. and %rdx,%r11
  1476. # qhasm: mult *= 19
  1477. # asm 1: imulq $19,<mult=int64#6,>mult=int64#6
  1478. # asm 2: imulq $19,<mult=%r9,>mult=%r9
  1479. imulq $19,%r9,%r9
  1480. # qhasm: rx0 += mult
  1481. # asm 1: add <mult=int64#6,<rx0=int64#5
  1482. # asm 2: add <mult=%r9,<rx0=%r8
  1483. add %r9,%r8
  1484. # qhasm: rx4 &= mulredmask
  1485. # asm 1: and <mulredmask=int64#3,<rx4=int64#10
  1486. # asm 2: and <mulredmask=%rdx,<rx4=%r12
  1487. and %rdx,%r12
  1488. # qhasm: ry0 = rx0
  1489. # asm 1: mov <rx0=int64#5,>ry0=int64#3
  1490. # asm 2: mov <rx0=%r8,>ry0=%rdx
  1491. mov %r8,%rdx
  1492. # qhasm: ry1 = rx1
  1493. # asm 1: mov <rx1=int64#7,>ry1=int64#6
  1494. # asm 2: mov <rx1=%rax,>ry1=%r9
  1495. mov %rax,%r9
  1496. # qhasm: ry2 = rx2
  1497. # asm 1: mov <rx2=int64#8,>ry2=int64#11
  1498. # asm 2: mov <rx2=%r10,>ry2=%r13
  1499. mov %r10,%r13
  1500. # qhasm: ry3 = rx3
  1501. # asm 1: mov <rx3=int64#9,>ry3=int64#12
  1502. # asm 2: mov <rx3=%r11,>ry3=%r14
  1503. mov %r11,%r14
  1504. # qhasm: ry4 = rx4
  1505. # asm 1: mov <rx4=int64#10,>ry4=int64#13
  1506. # asm 2: mov <rx4=%r12,>ry4=%r15
  1507. mov %r12,%r15
  1508. # qhasm: rx0 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P0)
  1509. # asm 1: add CRYPTO_NAMESPACE(batch_2P0),<rx0=int64#5
  1510. # asm 2: add CRYPTO_NAMESPACE(batch_2P0),<rx0=%r8
  1511. add CRYPTO_NAMESPACE(batch_2P0)(%rip),%r8
  1512. # qhasm: rx1 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  1513. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rx1=int64#7
  1514. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rx1=%rax
  1515. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%rax
  1516. # qhasm: rx2 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  1517. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rx2=int64#8
  1518. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rx2=%r10
  1519. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r10
  1520. # qhasm: rx3 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  1521. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rx3=int64#9
  1522. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rx3=%r11
  1523. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r11
  1524. # qhasm: rx4 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  1525. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rx4=int64#10
  1526. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rx4=%r12
  1527. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r12
  1528. # qhasm: ry0 += a0_stack
  1529. # asm 1: addq <a0_stack=stack64#8,<ry0=int64#3
  1530. # asm 2: addq <a0_stack=56(%rsp),<ry0=%rdx
  1531. addq 56(%rsp),%rdx
  1532. # qhasm: ry1 += a1_stack
  1533. # asm 1: addq <a1_stack=stack64#9,<ry1=int64#6
  1534. # asm 2: addq <a1_stack=64(%rsp),<ry1=%r9
  1535. addq 64(%rsp),%r9
  1536. # qhasm: ry2 += a2_stack
  1537. # asm 1: addq <a2_stack=stack64#10,<ry2=int64#11
  1538. # asm 2: addq <a2_stack=72(%rsp),<ry2=%r13
  1539. addq 72(%rsp),%r13
  1540. # qhasm: ry3 += a3_stack
  1541. # asm 1: addq <a3_stack=stack64#11,<ry3=int64#12
  1542. # asm 2: addq <a3_stack=80(%rsp),<ry3=%r14
  1543. addq 80(%rsp),%r14
  1544. # qhasm: ry4 += a4_stack
  1545. # asm 1: addq <a4_stack=stack64#12,<ry4=int64#13
  1546. # asm 2: addq <a4_stack=88(%rsp),<ry4=%r15
  1547. addq 88(%rsp),%r15
  1548. # qhasm: rx0 -= a0_stack
  1549. # asm 1: subq <a0_stack=stack64#8,<rx0=int64#5
  1550. # asm 2: subq <a0_stack=56(%rsp),<rx0=%r8
  1551. subq 56(%rsp),%r8
  1552. # qhasm: rx1 -= a1_stack
  1553. # asm 1: subq <a1_stack=stack64#9,<rx1=int64#7
  1554. # asm 2: subq <a1_stack=64(%rsp),<rx1=%rax
  1555. subq 64(%rsp),%rax
  1556. # qhasm: rx2 -= a2_stack
  1557. # asm 1: subq <a2_stack=stack64#10,<rx2=int64#8
  1558. # asm 2: subq <a2_stack=72(%rsp),<rx2=%r10
  1559. subq 72(%rsp),%r10
  1560. # qhasm: rx3 -= a3_stack
  1561. # asm 1: subq <a3_stack=stack64#11,<rx3=int64#9
  1562. # asm 2: subq <a3_stack=80(%rsp),<rx3=%r11
  1563. subq 80(%rsp),%r11
  1564. # qhasm: rx4 -= a4_stack
  1565. # asm 1: subq <a4_stack=stack64#12,<rx4=int64#10
  1566. # asm 2: subq <a4_stack=88(%rsp),<rx4=%r12
  1567. subq 88(%rsp),%r12
  1568. # qhasm: *(uint64 *) (rp + 0) = rx0
  1569. # asm 1: movq <rx0=int64#5,0(<rp=int64#1)
  1570. # asm 2: movq <rx0=%r8,0(<rp=%rdi)
  1571. movq %r8,0(%rdi)
  1572. # qhasm: *(uint64 *) (rp + 8) = rx1
  1573. # asm 1: movq <rx1=int64#7,8(<rp=int64#1)
  1574. # asm 2: movq <rx1=%rax,8(<rp=%rdi)
  1575. movq %rax,8(%rdi)
  1576. # qhasm: *(uint64 *) (rp + 16) = rx2
  1577. # asm 1: movq <rx2=int64#8,16(<rp=int64#1)
  1578. # asm 2: movq <rx2=%r10,16(<rp=%rdi)
  1579. movq %r10,16(%rdi)
  1580. # qhasm: *(uint64 *) (rp + 24) = rx3
  1581. # asm 1: movq <rx3=int64#9,24(<rp=int64#1)
  1582. # asm 2: movq <rx3=%r11,24(<rp=%rdi)
  1583. movq %r11,24(%rdi)
  1584. # qhasm: *(uint64 *) (rp + 32) = rx4
  1585. # asm 1: movq <rx4=int64#10,32(<rp=int64#1)
  1586. # asm 2: movq <rx4=%r12,32(<rp=%rdi)
  1587. movq %r12,32(%rdi)
  1588. # qhasm: *(uint64 *) (rp + 80) = ry0
  1589. # asm 1: movq <ry0=int64#3,80(<rp=int64#1)
  1590. # asm 2: movq <ry0=%rdx,80(<rp=%rdi)
  1591. movq %rdx,80(%rdi)
  1592. # qhasm: *(uint64 *) (rp + 88) = ry1
  1593. # asm 1: movq <ry1=int64#6,88(<rp=int64#1)
  1594. # asm 2: movq <ry1=%r9,88(<rp=%rdi)
  1595. movq %r9,88(%rdi)
  1596. # qhasm: *(uint64 *) (rp + 96) = ry2
  1597. # asm 1: movq <ry2=int64#11,96(<rp=int64#1)
  1598. # asm 2: movq <ry2=%r13,96(<rp=%rdi)
  1599. movq %r13,96(%rdi)
  1600. # qhasm: *(uint64 *) (rp + 104) = ry3
  1601. # asm 1: movq <ry3=int64#12,104(<rp=int64#1)
  1602. # asm 2: movq <ry3=%r14,104(<rp=%rdi)
  1603. movq %r14,104(%rdi)
  1604. # qhasm: *(uint64 *) (rp + 112) = ry4
  1605. # asm 1: movq <ry4=int64#13,112(<rp=int64#1)
  1606. # asm 2: movq <ry4=%r15,112(<rp=%rdi)
  1607. movq %r15,112(%rdi)
  1608. # qhasm: mulrax = *(uint64 *)(pp + 144)
  1609. # asm 1: movq 144(<pp=int64#2),>mulrax=int64#3
  1610. # asm 2: movq 144(<pp=%rsi),>mulrax=%rdx
  1611. movq 144(%rsi),%rdx
  1612. # qhasm: mulrax *= 19
  1613. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1614. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1615. imulq $19,%rdx,%rax
  1616. # qhasm: mulx319_stack = mulrax
  1617. # asm 1: movq <mulrax=int64#7,>mulx319_stack=stack64#8
  1618. # asm 2: movq <mulrax=%rax,>mulx319_stack=56(%rsp)
  1619. movq %rax,56(%rsp)
  1620. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 136)
  1621. # asm 1: mulq 136(<qp=int64#4)
  1622. # asm 2: mulq 136(<qp=%rcx)
  1623. mulq 136(%rcx)
  1624. # qhasm: c0 = mulrax
  1625. # asm 1: mov <mulrax=int64#7,>c0=int64#5
  1626. # asm 2: mov <mulrax=%rax,>c0=%r8
  1627. mov %rax,%r8
  1628. # qhasm: mulr01 = mulrdx
  1629. # asm 1: mov <mulrdx=int64#3,>mulr01=int64#6
  1630. # asm 2: mov <mulrdx=%rdx,>mulr01=%r9
  1631. mov %rdx,%r9
  1632. # qhasm: mulrax = *(uint64 *)(pp + 152)
  1633. # asm 1: movq 152(<pp=int64#2),>mulrax=int64#3
  1634. # asm 2: movq 152(<pp=%rsi),>mulrax=%rdx
  1635. movq 152(%rsi),%rdx
  1636. # qhasm: mulrax *= 19
  1637. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1638. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1639. imulq $19,%rdx,%rax
  1640. # qhasm: mulx419_stack = mulrax
  1641. # asm 1: movq <mulrax=int64#7,>mulx419_stack=stack64#9
  1642. # asm 2: movq <mulrax=%rax,>mulx419_stack=64(%rsp)
  1643. movq %rax,64(%rsp)
  1644. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 128)
  1645. # asm 1: mulq 128(<qp=int64#4)
  1646. # asm 2: mulq 128(<qp=%rcx)
  1647. mulq 128(%rcx)
  1648. # qhasm: carry? c0 += mulrax
  1649. # asm 1: add <mulrax=int64#7,<c0=int64#5
  1650. # asm 2: add <mulrax=%rax,<c0=%r8
  1651. add %rax,%r8
  1652. # qhasm: mulr01 += mulrdx + carry
  1653. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1654. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1655. adc %rdx,%r9
  1656. # qhasm: mulrax = *(uint64 *)(pp + 120)
  1657. # asm 1: movq 120(<pp=int64#2),>mulrax=int64#7
  1658. # asm 2: movq 120(<pp=%rsi),>mulrax=%rax
  1659. movq 120(%rsi),%rax
  1660. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 120)
  1661. # asm 1: mulq 120(<qp=int64#4)
  1662. # asm 2: mulq 120(<qp=%rcx)
  1663. mulq 120(%rcx)
  1664. # qhasm: carry? c0 += mulrax
  1665. # asm 1: add <mulrax=int64#7,<c0=int64#5
  1666. # asm 2: add <mulrax=%rax,<c0=%r8
  1667. add %rax,%r8
  1668. # qhasm: mulr01 += mulrdx + carry
  1669. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1670. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1671. adc %rdx,%r9
  1672. # qhasm: mulrax = *(uint64 *)(pp + 120)
  1673. # asm 1: movq 120(<pp=int64#2),>mulrax=int64#7
  1674. # asm 2: movq 120(<pp=%rsi),>mulrax=%rax
  1675. movq 120(%rsi),%rax
  1676. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 128)
  1677. # asm 1: mulq 128(<qp=int64#4)
  1678. # asm 2: mulq 128(<qp=%rcx)
  1679. mulq 128(%rcx)
  1680. # qhasm: c1 = mulrax
  1681. # asm 1: mov <mulrax=int64#7,>c1=int64#8
  1682. # asm 2: mov <mulrax=%rax,>c1=%r10
  1683. mov %rax,%r10
  1684. # qhasm: mulr11 = mulrdx
  1685. # asm 1: mov <mulrdx=int64#3,>mulr11=int64#9
  1686. # asm 2: mov <mulrdx=%rdx,>mulr11=%r11
  1687. mov %rdx,%r11
  1688. # qhasm: mulrax = *(uint64 *)(pp + 120)
  1689. # asm 1: movq 120(<pp=int64#2),>mulrax=int64#7
  1690. # asm 2: movq 120(<pp=%rsi),>mulrax=%rax
  1691. movq 120(%rsi),%rax
  1692. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 136)
  1693. # asm 1: mulq 136(<qp=int64#4)
  1694. # asm 2: mulq 136(<qp=%rcx)
  1695. mulq 136(%rcx)
  1696. # qhasm: c2 = mulrax
  1697. # asm 1: mov <mulrax=int64#7,>c2=int64#10
  1698. # asm 2: mov <mulrax=%rax,>c2=%r12
  1699. mov %rax,%r12
  1700. # qhasm: mulr21 = mulrdx
  1701. # asm 1: mov <mulrdx=int64#3,>mulr21=int64#11
  1702. # asm 2: mov <mulrdx=%rdx,>mulr21=%r13
  1703. mov %rdx,%r13
  1704. # qhasm: mulrax = *(uint64 *)(pp + 120)
  1705. # asm 1: movq 120(<pp=int64#2),>mulrax=int64#7
  1706. # asm 2: movq 120(<pp=%rsi),>mulrax=%rax
  1707. movq 120(%rsi),%rax
  1708. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 144)
  1709. # asm 1: mulq 144(<qp=int64#4)
  1710. # asm 2: mulq 144(<qp=%rcx)
  1711. mulq 144(%rcx)
  1712. # qhasm: c3 = mulrax
  1713. # asm 1: mov <mulrax=int64#7,>c3=int64#12
  1714. # asm 2: mov <mulrax=%rax,>c3=%r14
  1715. mov %rax,%r14
  1716. # qhasm: mulr31 = mulrdx
  1717. # asm 1: mov <mulrdx=int64#3,>mulr31=int64#13
  1718. # asm 2: mov <mulrdx=%rdx,>mulr31=%r15
  1719. mov %rdx,%r15
  1720. # qhasm: mulrax = *(uint64 *)(pp + 120)
  1721. # asm 1: movq 120(<pp=int64#2),>mulrax=int64#7
  1722. # asm 2: movq 120(<pp=%rsi),>mulrax=%rax
  1723. movq 120(%rsi),%rax
  1724. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 152)
  1725. # asm 1: mulq 152(<qp=int64#4)
  1726. # asm 2: mulq 152(<qp=%rcx)
  1727. mulq 152(%rcx)
  1728. # qhasm: c4 = mulrax
  1729. # asm 1: mov <mulrax=int64#7,>c4=int64#14
  1730. # asm 2: mov <mulrax=%rax,>c4=%rbx
  1731. mov %rax,%rbx
  1732. # qhasm: mulr41 = mulrdx
  1733. # asm 1: mov <mulrdx=int64#3,>mulr41=int64#15
  1734. # asm 2: mov <mulrdx=%rdx,>mulr41=%rbp
  1735. mov %rdx,%rbp
  1736. # qhasm: mulrax = *(uint64 *)(pp + 128)
  1737. # asm 1: movq 128(<pp=int64#2),>mulrax=int64#7
  1738. # asm 2: movq 128(<pp=%rsi),>mulrax=%rax
  1739. movq 128(%rsi),%rax
  1740. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 120)
  1741. # asm 1: mulq 120(<qp=int64#4)
  1742. # asm 2: mulq 120(<qp=%rcx)
  1743. mulq 120(%rcx)
  1744. # qhasm: carry? c1 += mulrax
  1745. # asm 1: add <mulrax=int64#7,<c1=int64#8
  1746. # asm 2: add <mulrax=%rax,<c1=%r10
  1747. add %rax,%r10
  1748. # qhasm: mulr11 += mulrdx + carry
  1749. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1750. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1751. adc %rdx,%r11
  1752. # qhasm: mulrax = *(uint64 *)(pp + 128)
  1753. # asm 1: movq 128(<pp=int64#2),>mulrax=int64#7
  1754. # asm 2: movq 128(<pp=%rsi),>mulrax=%rax
  1755. movq 128(%rsi),%rax
  1756. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 128)
  1757. # asm 1: mulq 128(<qp=int64#4)
  1758. # asm 2: mulq 128(<qp=%rcx)
  1759. mulq 128(%rcx)
  1760. # qhasm: carry? c2 += mulrax
  1761. # asm 1: add <mulrax=int64#7,<c2=int64#10
  1762. # asm 2: add <mulrax=%rax,<c2=%r12
  1763. add %rax,%r12
  1764. # qhasm: mulr21 += mulrdx + carry
  1765. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1766. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1767. adc %rdx,%r13
  1768. # qhasm: mulrax = *(uint64 *)(pp + 128)
  1769. # asm 1: movq 128(<pp=int64#2),>mulrax=int64#7
  1770. # asm 2: movq 128(<pp=%rsi),>mulrax=%rax
  1771. movq 128(%rsi),%rax
  1772. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 136)
  1773. # asm 1: mulq 136(<qp=int64#4)
  1774. # asm 2: mulq 136(<qp=%rcx)
  1775. mulq 136(%rcx)
  1776. # qhasm: carry? c3 += mulrax
  1777. # asm 1: add <mulrax=int64#7,<c3=int64#12
  1778. # asm 2: add <mulrax=%rax,<c3=%r14
  1779. add %rax,%r14
  1780. # qhasm: mulr31 += mulrdx + carry
  1781. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1782. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1783. adc %rdx,%r15
  1784. # qhasm: mulrax = *(uint64 *)(pp + 128)
  1785. # asm 1: movq 128(<pp=int64#2),>mulrax=int64#7
  1786. # asm 2: movq 128(<pp=%rsi),>mulrax=%rax
  1787. movq 128(%rsi),%rax
  1788. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 144)
  1789. # asm 1: mulq 144(<qp=int64#4)
  1790. # asm 2: mulq 144(<qp=%rcx)
  1791. mulq 144(%rcx)
  1792. # qhasm: carry? c4 += mulrax
  1793. # asm 1: add <mulrax=int64#7,<c4=int64#14
  1794. # asm 2: add <mulrax=%rax,<c4=%rbx
  1795. add %rax,%rbx
  1796. # qhasm: mulr41 += mulrdx + carry
  1797. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1798. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1799. adc %rdx,%rbp
  1800. # qhasm: mulrax = *(uint64 *)(pp + 128)
  1801. # asm 1: movq 128(<pp=int64#2),>mulrax=int64#3
  1802. # asm 2: movq 128(<pp=%rsi),>mulrax=%rdx
  1803. movq 128(%rsi),%rdx
  1804. # qhasm: mulrax *= 19
  1805. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1806. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1807. imulq $19,%rdx,%rax
  1808. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 152)
  1809. # asm 1: mulq 152(<qp=int64#4)
  1810. # asm 2: mulq 152(<qp=%rcx)
  1811. mulq 152(%rcx)
  1812. # qhasm: carry? c0 += mulrax
  1813. # asm 1: add <mulrax=int64#7,<c0=int64#5
  1814. # asm 2: add <mulrax=%rax,<c0=%r8
  1815. add %rax,%r8
  1816. # qhasm: mulr01 += mulrdx + carry
  1817. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1818. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1819. adc %rdx,%r9
  1820. # qhasm: mulrax = *(uint64 *)(pp + 136)
  1821. # asm 1: movq 136(<pp=int64#2),>mulrax=int64#7
  1822. # asm 2: movq 136(<pp=%rsi),>mulrax=%rax
  1823. movq 136(%rsi),%rax
  1824. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 120)
  1825. # asm 1: mulq 120(<qp=int64#4)
  1826. # asm 2: mulq 120(<qp=%rcx)
  1827. mulq 120(%rcx)
  1828. # qhasm: carry? c2 += mulrax
  1829. # asm 1: add <mulrax=int64#7,<c2=int64#10
  1830. # asm 2: add <mulrax=%rax,<c2=%r12
  1831. add %rax,%r12
  1832. # qhasm: mulr21 += mulrdx + carry
  1833. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1834. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1835. adc %rdx,%r13
  1836. # qhasm: mulrax = *(uint64 *)(pp + 136)
  1837. # asm 1: movq 136(<pp=int64#2),>mulrax=int64#7
  1838. # asm 2: movq 136(<pp=%rsi),>mulrax=%rax
  1839. movq 136(%rsi),%rax
  1840. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 128)
  1841. # asm 1: mulq 128(<qp=int64#4)
  1842. # asm 2: mulq 128(<qp=%rcx)
  1843. mulq 128(%rcx)
  1844. # qhasm: carry? c3 += mulrax
  1845. # asm 1: add <mulrax=int64#7,<c3=int64#12
  1846. # asm 2: add <mulrax=%rax,<c3=%r14
  1847. add %rax,%r14
  1848. # qhasm: mulr31 += mulrdx + carry
  1849. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1850. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1851. adc %rdx,%r15
  1852. # qhasm: mulrax = *(uint64 *)(pp + 136)
  1853. # asm 1: movq 136(<pp=int64#2),>mulrax=int64#7
  1854. # asm 2: movq 136(<pp=%rsi),>mulrax=%rax
  1855. movq 136(%rsi),%rax
  1856. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 136)
  1857. # asm 1: mulq 136(<qp=int64#4)
  1858. # asm 2: mulq 136(<qp=%rcx)
  1859. mulq 136(%rcx)
  1860. # qhasm: carry? c4 += mulrax
  1861. # asm 1: add <mulrax=int64#7,<c4=int64#14
  1862. # asm 2: add <mulrax=%rax,<c4=%rbx
  1863. add %rax,%rbx
  1864. # qhasm: mulr41 += mulrdx + carry
  1865. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1866. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1867. adc %rdx,%rbp
  1868. # qhasm: mulrax = *(uint64 *)(pp + 136)
  1869. # asm 1: movq 136(<pp=int64#2),>mulrax=int64#3
  1870. # asm 2: movq 136(<pp=%rsi),>mulrax=%rdx
  1871. movq 136(%rsi),%rdx
  1872. # qhasm: mulrax *= 19
  1873. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1874. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1875. imulq $19,%rdx,%rax
  1876. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 144)
  1877. # asm 1: mulq 144(<qp=int64#4)
  1878. # asm 2: mulq 144(<qp=%rcx)
  1879. mulq 144(%rcx)
  1880. # qhasm: carry? c0 += mulrax
  1881. # asm 1: add <mulrax=int64#7,<c0=int64#5
  1882. # asm 2: add <mulrax=%rax,<c0=%r8
  1883. add %rax,%r8
  1884. # qhasm: mulr01 += mulrdx + carry
  1885. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  1886. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  1887. adc %rdx,%r9
  1888. # qhasm: mulrax = *(uint64 *)(pp + 136)
  1889. # asm 1: movq 136(<pp=int64#2),>mulrax=int64#3
  1890. # asm 2: movq 136(<pp=%rsi),>mulrax=%rdx
  1891. movq 136(%rsi),%rdx
  1892. # qhasm: mulrax *= 19
  1893. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  1894. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  1895. imulq $19,%rdx,%rax
  1896. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 152)
  1897. # asm 1: mulq 152(<qp=int64#4)
  1898. # asm 2: mulq 152(<qp=%rcx)
  1899. mulq 152(%rcx)
  1900. # qhasm: carry? c1 += mulrax
  1901. # asm 1: add <mulrax=int64#7,<c1=int64#8
  1902. # asm 2: add <mulrax=%rax,<c1=%r10
  1903. add %rax,%r10
  1904. # qhasm: mulr11 += mulrdx + carry
  1905. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1906. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1907. adc %rdx,%r11
  1908. # qhasm: mulrax = *(uint64 *)(pp + 144)
  1909. # asm 1: movq 144(<pp=int64#2),>mulrax=int64#7
  1910. # asm 2: movq 144(<pp=%rsi),>mulrax=%rax
  1911. movq 144(%rsi),%rax
  1912. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 120)
  1913. # asm 1: mulq 120(<qp=int64#4)
  1914. # asm 2: mulq 120(<qp=%rcx)
  1915. mulq 120(%rcx)
  1916. # qhasm: carry? c3 += mulrax
  1917. # asm 1: add <mulrax=int64#7,<c3=int64#12
  1918. # asm 2: add <mulrax=%rax,<c3=%r14
  1919. add %rax,%r14
  1920. # qhasm: mulr31 += mulrdx + carry
  1921. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  1922. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  1923. adc %rdx,%r15
  1924. # qhasm: mulrax = *(uint64 *)(pp + 144)
  1925. # asm 1: movq 144(<pp=int64#2),>mulrax=int64#7
  1926. # asm 2: movq 144(<pp=%rsi),>mulrax=%rax
  1927. movq 144(%rsi),%rax
  1928. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 128)
  1929. # asm 1: mulq 128(<qp=int64#4)
  1930. # asm 2: mulq 128(<qp=%rcx)
  1931. mulq 128(%rcx)
  1932. # qhasm: carry? c4 += mulrax
  1933. # asm 1: add <mulrax=int64#7,<c4=int64#14
  1934. # asm 2: add <mulrax=%rax,<c4=%rbx
  1935. add %rax,%rbx
  1936. # qhasm: mulr41 += mulrdx + carry
  1937. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1938. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1939. adc %rdx,%rbp
  1940. # qhasm: mulrax = mulx319_stack
  1941. # asm 1: movq <mulx319_stack=stack64#8,>mulrax=int64#7
  1942. # asm 2: movq <mulx319_stack=56(%rsp),>mulrax=%rax
  1943. movq 56(%rsp),%rax
  1944. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 144)
  1945. # asm 1: mulq 144(<qp=int64#4)
  1946. # asm 2: mulq 144(<qp=%rcx)
  1947. mulq 144(%rcx)
  1948. # qhasm: carry? c1 += mulrax
  1949. # asm 1: add <mulrax=int64#7,<c1=int64#8
  1950. # asm 2: add <mulrax=%rax,<c1=%r10
  1951. add %rax,%r10
  1952. # qhasm: mulr11 += mulrdx + carry
  1953. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  1954. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  1955. adc %rdx,%r11
  1956. # qhasm: mulrax = mulx319_stack
  1957. # asm 1: movq <mulx319_stack=stack64#8,>mulrax=int64#7
  1958. # asm 2: movq <mulx319_stack=56(%rsp),>mulrax=%rax
  1959. movq 56(%rsp),%rax
  1960. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 152)
  1961. # asm 1: mulq 152(<qp=int64#4)
  1962. # asm 2: mulq 152(<qp=%rcx)
  1963. mulq 152(%rcx)
  1964. # qhasm: carry? c2 += mulrax
  1965. # asm 1: add <mulrax=int64#7,<c2=int64#10
  1966. # asm 2: add <mulrax=%rax,<c2=%r12
  1967. add %rax,%r12
  1968. # qhasm: mulr21 += mulrdx + carry
  1969. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  1970. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  1971. adc %rdx,%r13
  1972. # qhasm: mulrax = *(uint64 *)(pp + 152)
  1973. # asm 1: movq 152(<pp=int64#2),>mulrax=int64#7
  1974. # asm 2: movq 152(<pp=%rsi),>mulrax=%rax
  1975. movq 152(%rsi),%rax
  1976. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 120)
  1977. # asm 1: mulq 120(<qp=int64#4)
  1978. # asm 2: mulq 120(<qp=%rcx)
  1979. mulq 120(%rcx)
  1980. # qhasm: carry? c4 += mulrax
  1981. # asm 1: add <mulrax=int64#7,<c4=int64#14
  1982. # asm 2: add <mulrax=%rax,<c4=%rbx
  1983. add %rax,%rbx
  1984. # qhasm: mulr41 += mulrdx + carry
  1985. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  1986. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  1987. adc %rdx,%rbp
  1988. # qhasm: mulrax = mulx419_stack
  1989. # asm 1: movq <mulx419_stack=stack64#9,>mulrax=int64#7
  1990. # asm 2: movq <mulx419_stack=64(%rsp),>mulrax=%rax
  1991. movq 64(%rsp),%rax
  1992. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 136)
  1993. # asm 1: mulq 136(<qp=int64#4)
  1994. # asm 2: mulq 136(<qp=%rcx)
  1995. mulq 136(%rcx)
  1996. # qhasm: carry? c1 += mulrax
  1997. # asm 1: add <mulrax=int64#7,<c1=int64#8
  1998. # asm 2: add <mulrax=%rax,<c1=%r10
  1999. add %rax,%r10
  2000. # qhasm: mulr11 += mulrdx + carry
  2001. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  2002. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  2003. adc %rdx,%r11
  2004. # qhasm: mulrax = mulx419_stack
  2005. # asm 1: movq <mulx419_stack=stack64#9,>mulrax=int64#7
  2006. # asm 2: movq <mulx419_stack=64(%rsp),>mulrax=%rax
  2007. movq 64(%rsp),%rax
  2008. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 144)
  2009. # asm 1: mulq 144(<qp=int64#4)
  2010. # asm 2: mulq 144(<qp=%rcx)
  2011. mulq 144(%rcx)
  2012. # qhasm: carry? c2 += mulrax
  2013. # asm 1: add <mulrax=int64#7,<c2=int64#10
  2014. # asm 2: add <mulrax=%rax,<c2=%r12
  2015. add %rax,%r12
  2016. # qhasm: mulr21 += mulrdx + carry
  2017. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  2018. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  2019. adc %rdx,%r13
  2020. # qhasm: mulrax = mulx419_stack
  2021. # asm 1: movq <mulx419_stack=stack64#9,>mulrax=int64#7
  2022. # asm 2: movq <mulx419_stack=64(%rsp),>mulrax=%rax
  2023. movq 64(%rsp),%rax
  2024. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 152)
  2025. # asm 1: mulq 152(<qp=int64#4)
  2026. # asm 2: mulq 152(<qp=%rcx)
  2027. mulq 152(%rcx)
  2028. # qhasm: carry? c3 += mulrax
  2029. # asm 1: add <mulrax=int64#7,<c3=int64#12
  2030. # asm 2: add <mulrax=%rax,<c3=%r14
  2031. add %rax,%r14
  2032. # qhasm: mulr31 += mulrdx + carry
  2033. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  2034. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  2035. adc %rdx,%r15
  2036. # qhasm: mulredmask = *(uint64 *) &CRYPTO_NAMESPACE(batch_REDMASK51)
  2037. # asm 1: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=int64#3
  2038. # asm 2: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=%rdx
  2039. movq CRYPTO_NAMESPACE(batch_REDMASK51)(%rip),%rdx
  2040. # qhasm: mulr01 = (mulr01.c0) << 13
  2041. # asm 1: shld $13,<c0=int64#5,<mulr01=int64#6
  2042. # asm 2: shld $13,<c0=%r8,<mulr01=%r9
  2043. shld $13,%r8,%r9
  2044. # qhasm: c0 &= mulredmask
  2045. # asm 1: and <mulredmask=int64#3,<c0=int64#5
  2046. # asm 2: and <mulredmask=%rdx,<c0=%r8
  2047. and %rdx,%r8
  2048. # qhasm: mulr11 = (mulr11.c1) << 13
  2049. # asm 1: shld $13,<c1=int64#8,<mulr11=int64#9
  2050. # asm 2: shld $13,<c1=%r10,<mulr11=%r11
  2051. shld $13,%r10,%r11
  2052. # qhasm: c1 &= mulredmask
  2053. # asm 1: and <mulredmask=int64#3,<c1=int64#8
  2054. # asm 2: and <mulredmask=%rdx,<c1=%r10
  2055. and %rdx,%r10
  2056. # qhasm: c1 += mulr01
  2057. # asm 1: add <mulr01=int64#6,<c1=int64#8
  2058. # asm 2: add <mulr01=%r9,<c1=%r10
  2059. add %r9,%r10
  2060. # qhasm: mulr21 = (mulr21.c2) << 13
  2061. # asm 1: shld $13,<c2=int64#10,<mulr21=int64#11
  2062. # asm 2: shld $13,<c2=%r12,<mulr21=%r13
  2063. shld $13,%r12,%r13
  2064. # qhasm: c2 &= mulredmask
  2065. # asm 1: and <mulredmask=int64#3,<c2=int64#10
  2066. # asm 2: and <mulredmask=%rdx,<c2=%r12
  2067. and %rdx,%r12
  2068. # qhasm: c2 += mulr11
  2069. # asm 1: add <mulr11=int64#9,<c2=int64#10
  2070. # asm 2: add <mulr11=%r11,<c2=%r12
  2071. add %r11,%r12
  2072. # qhasm: mulr31 = (mulr31.c3) << 13
  2073. # asm 1: shld $13,<c3=int64#12,<mulr31=int64#13
  2074. # asm 2: shld $13,<c3=%r14,<mulr31=%r15
  2075. shld $13,%r14,%r15
  2076. # qhasm: c3 &= mulredmask
  2077. # asm 1: and <mulredmask=int64#3,<c3=int64#12
  2078. # asm 2: and <mulredmask=%rdx,<c3=%r14
  2079. and %rdx,%r14
  2080. # qhasm: c3 += mulr21
  2081. # asm 1: add <mulr21=int64#11,<c3=int64#12
  2082. # asm 2: add <mulr21=%r13,<c3=%r14
  2083. add %r13,%r14
  2084. # qhasm: mulr41 = (mulr41.c4) << 13
  2085. # asm 1: shld $13,<c4=int64#14,<mulr41=int64#15
  2086. # asm 2: shld $13,<c4=%rbx,<mulr41=%rbp
  2087. shld $13,%rbx,%rbp
  2088. # qhasm: c4 &= mulredmask
  2089. # asm 1: and <mulredmask=int64#3,<c4=int64#14
  2090. # asm 2: and <mulredmask=%rdx,<c4=%rbx
  2091. and %rdx,%rbx
  2092. # qhasm: c4 += mulr31
  2093. # asm 1: add <mulr31=int64#13,<c4=int64#14
  2094. # asm 2: add <mulr31=%r15,<c4=%rbx
  2095. add %r15,%rbx
  2096. # qhasm: mulr41 = mulr41 * 19
  2097. # asm 1: imulq $19,<mulr41=int64#15,>mulr41=int64#6
  2098. # asm 2: imulq $19,<mulr41=%rbp,>mulr41=%r9
  2099. imulq $19,%rbp,%r9
  2100. # qhasm: c0 += mulr41
  2101. # asm 1: add <mulr41=int64#6,<c0=int64#5
  2102. # asm 2: add <mulr41=%r9,<c0=%r8
  2103. add %r9,%r8
  2104. # qhasm: mult = c0
  2105. # asm 1: mov <c0=int64#5,>mult=int64#6
  2106. # asm 2: mov <c0=%r8,>mult=%r9
  2107. mov %r8,%r9
  2108. # qhasm: (uint64) mult >>= 51
  2109. # asm 1: shr $51,<mult=int64#6
  2110. # asm 2: shr $51,<mult=%r9
  2111. shr $51,%r9
  2112. # qhasm: mult += c1
  2113. # asm 1: add <c1=int64#8,<mult=int64#6
  2114. # asm 2: add <c1=%r10,<mult=%r9
  2115. add %r10,%r9
  2116. # qhasm: c1 = mult
  2117. # asm 1: mov <mult=int64#6,>c1=int64#7
  2118. # asm 2: mov <mult=%r9,>c1=%rax
  2119. mov %r9,%rax
  2120. # qhasm: (uint64) mult >>= 51
  2121. # asm 1: shr $51,<mult=int64#6
  2122. # asm 2: shr $51,<mult=%r9
  2123. shr $51,%r9
  2124. # qhasm: c0 &= mulredmask
  2125. # asm 1: and <mulredmask=int64#3,<c0=int64#5
  2126. # asm 2: and <mulredmask=%rdx,<c0=%r8
  2127. and %rdx,%r8
  2128. # qhasm: mult += c2
  2129. # asm 1: add <c2=int64#10,<mult=int64#6
  2130. # asm 2: add <c2=%r12,<mult=%r9
  2131. add %r12,%r9
  2132. # qhasm: c2 = mult
  2133. # asm 1: mov <mult=int64#6,>c2=int64#8
  2134. # asm 2: mov <mult=%r9,>c2=%r10
  2135. mov %r9,%r10
  2136. # qhasm: (uint64) mult >>= 51
  2137. # asm 1: shr $51,<mult=int64#6
  2138. # asm 2: shr $51,<mult=%r9
  2139. shr $51,%r9
  2140. # qhasm: c1 &= mulredmask
  2141. # asm 1: and <mulredmask=int64#3,<c1=int64#7
  2142. # asm 2: and <mulredmask=%rdx,<c1=%rax
  2143. and %rdx,%rax
  2144. # qhasm: mult += c3
  2145. # asm 1: add <c3=int64#12,<mult=int64#6
  2146. # asm 2: add <c3=%r14,<mult=%r9
  2147. add %r14,%r9
  2148. # qhasm: c3 = mult
  2149. # asm 1: mov <mult=int64#6,>c3=int64#9
  2150. # asm 2: mov <mult=%r9,>c3=%r11
  2151. mov %r9,%r11
  2152. # qhasm: (uint64) mult >>= 51
  2153. # asm 1: shr $51,<mult=int64#6
  2154. # asm 2: shr $51,<mult=%r9
  2155. shr $51,%r9
  2156. # qhasm: c2 &= mulredmask
  2157. # asm 1: and <mulredmask=int64#3,<c2=int64#8
  2158. # asm 2: and <mulredmask=%rdx,<c2=%r10
  2159. and %rdx,%r10
  2160. # qhasm: mult += c4
  2161. # asm 1: add <c4=int64#14,<mult=int64#6
  2162. # asm 2: add <c4=%rbx,<mult=%r9
  2163. add %rbx,%r9
  2164. # qhasm: c4 = mult
  2165. # asm 1: mov <mult=int64#6,>c4=int64#10
  2166. # asm 2: mov <mult=%r9,>c4=%r12
  2167. mov %r9,%r12
  2168. # qhasm: (uint64) mult >>= 51
  2169. # asm 1: shr $51,<mult=int64#6
  2170. # asm 2: shr $51,<mult=%r9
  2171. shr $51,%r9
  2172. # qhasm: c3 &= mulredmask
  2173. # asm 1: and <mulredmask=int64#3,<c3=int64#9
  2174. # asm 2: and <mulredmask=%rdx,<c3=%r11
  2175. and %rdx,%r11
  2176. # qhasm: mult *= 19
  2177. # asm 1: imulq $19,<mult=int64#6,>mult=int64#6
  2178. # asm 2: imulq $19,<mult=%r9,>mult=%r9
  2179. imulq $19,%r9,%r9
  2180. # qhasm: c0 += mult
  2181. # asm 1: add <mult=int64#6,<c0=int64#5
  2182. # asm 2: add <mult=%r9,<c0=%r8
  2183. add %r9,%r8
  2184. # qhasm: c4 &= mulredmask
  2185. # asm 1: and <mulredmask=int64#3,<c4=int64#10
  2186. # asm 2: and <mulredmask=%rdx,<c4=%r12
  2187. and %rdx,%r12
  2188. # qhasm: c0_stack = c0
  2189. # asm 1: movq <c0=int64#5,>c0_stack=stack64#8
  2190. # asm 2: movq <c0=%r8,>c0_stack=56(%rsp)
  2191. movq %r8,56(%rsp)
  2192. # qhasm: c1_stack = c1
  2193. # asm 1: movq <c1=int64#7,>c1_stack=stack64#9
  2194. # asm 2: movq <c1=%rax,>c1_stack=64(%rsp)
  2195. movq %rax,64(%rsp)
  2196. # qhasm: c2_stack = c2
  2197. # asm 1: movq <c2=int64#8,>c2_stack=stack64#10
  2198. # asm 2: movq <c2=%r10,>c2_stack=72(%rsp)
  2199. movq %r10,72(%rsp)
  2200. # qhasm: c3_stack = c3
  2201. # asm 1: movq <c3=int64#9,>c3_stack=stack64#11
  2202. # asm 2: movq <c3=%r11,>c3_stack=80(%rsp)
  2203. movq %r11,80(%rsp)
  2204. # qhasm: c4_stack = c4
  2205. # asm 1: movq <c4=int64#10,>c4_stack=stack64#12
  2206. # asm 2: movq <c4=%r12,>c4_stack=88(%rsp)
  2207. movq %r12,88(%rsp)
  2208. # qhasm: mulrax = *(uint64 *)(pp + 104)
  2209. # asm 1: movq 104(<pp=int64#2),>mulrax=int64#3
  2210. # asm 2: movq 104(<pp=%rsi),>mulrax=%rdx
  2211. movq 104(%rsi),%rdx
  2212. # qhasm: mulrax *= 19
  2213. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  2214. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  2215. imulq $19,%rdx,%rax
  2216. # qhasm: mulx319_stack = mulrax
  2217. # asm 1: movq <mulrax=int64#7,>mulx319_stack=stack64#13
  2218. # asm 2: movq <mulrax=%rax,>mulx319_stack=96(%rsp)
  2219. movq %rax,96(%rsp)
  2220. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 96)
  2221. # asm 1: mulq 96(<qp=int64#4)
  2222. # asm 2: mulq 96(<qp=%rcx)
  2223. mulq 96(%rcx)
  2224. # qhasm: rt0 = mulrax
  2225. # asm 1: mov <mulrax=int64#7,>rt0=int64#5
  2226. # asm 2: mov <mulrax=%rax,>rt0=%r8
  2227. mov %rax,%r8
  2228. # qhasm: mulr01 = mulrdx
  2229. # asm 1: mov <mulrdx=int64#3,>mulr01=int64#6
  2230. # asm 2: mov <mulrdx=%rdx,>mulr01=%r9
  2231. mov %rdx,%r9
  2232. # qhasm: mulrax = *(uint64 *)(pp + 112)
  2233. # asm 1: movq 112(<pp=int64#2),>mulrax=int64#3
  2234. # asm 2: movq 112(<pp=%rsi),>mulrax=%rdx
  2235. movq 112(%rsi),%rdx
  2236. # qhasm: mulrax *= 19
  2237. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  2238. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  2239. imulq $19,%rdx,%rax
  2240. # qhasm: mulx419_stack = mulrax
  2241. # asm 1: movq <mulrax=int64#7,>mulx419_stack=stack64#14
  2242. # asm 2: movq <mulrax=%rax,>mulx419_stack=104(%rsp)
  2243. movq %rax,104(%rsp)
  2244. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 88)
  2245. # asm 1: mulq 88(<qp=int64#4)
  2246. # asm 2: mulq 88(<qp=%rcx)
  2247. mulq 88(%rcx)
  2248. # qhasm: carry? rt0 += mulrax
  2249. # asm 1: add <mulrax=int64#7,<rt0=int64#5
  2250. # asm 2: add <mulrax=%rax,<rt0=%r8
  2251. add %rax,%r8
  2252. # qhasm: mulr01 += mulrdx + carry
  2253. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  2254. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  2255. adc %rdx,%r9
  2256. # qhasm: mulrax = *(uint64 *)(pp + 80)
  2257. # asm 1: movq 80(<pp=int64#2),>mulrax=int64#7
  2258. # asm 2: movq 80(<pp=%rsi),>mulrax=%rax
  2259. movq 80(%rsi),%rax
  2260. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 80)
  2261. # asm 1: mulq 80(<qp=int64#4)
  2262. # asm 2: mulq 80(<qp=%rcx)
  2263. mulq 80(%rcx)
  2264. # qhasm: carry? rt0 += mulrax
  2265. # asm 1: add <mulrax=int64#7,<rt0=int64#5
  2266. # asm 2: add <mulrax=%rax,<rt0=%r8
  2267. add %rax,%r8
  2268. # qhasm: mulr01 += mulrdx + carry
  2269. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  2270. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  2271. adc %rdx,%r9
  2272. # qhasm: mulrax = *(uint64 *)(pp + 80)
  2273. # asm 1: movq 80(<pp=int64#2),>mulrax=int64#7
  2274. # asm 2: movq 80(<pp=%rsi),>mulrax=%rax
  2275. movq 80(%rsi),%rax
  2276. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 88)
  2277. # asm 1: mulq 88(<qp=int64#4)
  2278. # asm 2: mulq 88(<qp=%rcx)
  2279. mulq 88(%rcx)
  2280. # qhasm: rt1 = mulrax
  2281. # asm 1: mov <mulrax=int64#7,>rt1=int64#8
  2282. # asm 2: mov <mulrax=%rax,>rt1=%r10
  2283. mov %rax,%r10
  2284. # qhasm: mulr11 = mulrdx
  2285. # asm 1: mov <mulrdx=int64#3,>mulr11=int64#9
  2286. # asm 2: mov <mulrdx=%rdx,>mulr11=%r11
  2287. mov %rdx,%r11
  2288. # qhasm: mulrax = *(uint64 *)(pp + 80)
  2289. # asm 1: movq 80(<pp=int64#2),>mulrax=int64#7
  2290. # asm 2: movq 80(<pp=%rsi),>mulrax=%rax
  2291. movq 80(%rsi),%rax
  2292. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 96)
  2293. # asm 1: mulq 96(<qp=int64#4)
  2294. # asm 2: mulq 96(<qp=%rcx)
  2295. mulq 96(%rcx)
  2296. # qhasm: rt2 = mulrax
  2297. # asm 1: mov <mulrax=int64#7,>rt2=int64#10
  2298. # asm 2: mov <mulrax=%rax,>rt2=%r12
  2299. mov %rax,%r12
  2300. # qhasm: mulr21 = mulrdx
  2301. # asm 1: mov <mulrdx=int64#3,>mulr21=int64#11
  2302. # asm 2: mov <mulrdx=%rdx,>mulr21=%r13
  2303. mov %rdx,%r13
  2304. # qhasm: mulrax = *(uint64 *)(pp + 80)
  2305. # asm 1: movq 80(<pp=int64#2),>mulrax=int64#7
  2306. # asm 2: movq 80(<pp=%rsi),>mulrax=%rax
  2307. movq 80(%rsi),%rax
  2308. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 104)
  2309. # asm 1: mulq 104(<qp=int64#4)
  2310. # asm 2: mulq 104(<qp=%rcx)
  2311. mulq 104(%rcx)
  2312. # qhasm: rt3 = mulrax
  2313. # asm 1: mov <mulrax=int64#7,>rt3=int64#12
  2314. # asm 2: mov <mulrax=%rax,>rt3=%r14
  2315. mov %rax,%r14
  2316. # qhasm: mulr31 = mulrdx
  2317. # asm 1: mov <mulrdx=int64#3,>mulr31=int64#13
  2318. # asm 2: mov <mulrdx=%rdx,>mulr31=%r15
  2319. mov %rdx,%r15
  2320. # qhasm: mulrax = *(uint64 *)(pp + 80)
  2321. # asm 1: movq 80(<pp=int64#2),>mulrax=int64#7
  2322. # asm 2: movq 80(<pp=%rsi),>mulrax=%rax
  2323. movq 80(%rsi),%rax
  2324. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 112)
  2325. # asm 1: mulq 112(<qp=int64#4)
  2326. # asm 2: mulq 112(<qp=%rcx)
  2327. mulq 112(%rcx)
  2328. # qhasm: rt4 = mulrax
  2329. # asm 1: mov <mulrax=int64#7,>rt4=int64#14
  2330. # asm 2: mov <mulrax=%rax,>rt4=%rbx
  2331. mov %rax,%rbx
  2332. # qhasm: mulr41 = mulrdx
  2333. # asm 1: mov <mulrdx=int64#3,>mulr41=int64#15
  2334. # asm 2: mov <mulrdx=%rdx,>mulr41=%rbp
  2335. mov %rdx,%rbp
  2336. # qhasm: mulrax = *(uint64 *)(pp + 88)
  2337. # asm 1: movq 88(<pp=int64#2),>mulrax=int64#7
  2338. # asm 2: movq 88(<pp=%rsi),>mulrax=%rax
  2339. movq 88(%rsi),%rax
  2340. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 80)
  2341. # asm 1: mulq 80(<qp=int64#4)
  2342. # asm 2: mulq 80(<qp=%rcx)
  2343. mulq 80(%rcx)
  2344. # qhasm: carry? rt1 += mulrax
  2345. # asm 1: add <mulrax=int64#7,<rt1=int64#8
  2346. # asm 2: add <mulrax=%rax,<rt1=%r10
  2347. add %rax,%r10
  2348. # qhasm: mulr11 += mulrdx + carry
  2349. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  2350. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  2351. adc %rdx,%r11
  2352. # qhasm: mulrax = *(uint64 *)(pp + 88)
  2353. # asm 1: movq 88(<pp=int64#2),>mulrax=int64#7
  2354. # asm 2: movq 88(<pp=%rsi),>mulrax=%rax
  2355. movq 88(%rsi),%rax
  2356. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 88)
  2357. # asm 1: mulq 88(<qp=int64#4)
  2358. # asm 2: mulq 88(<qp=%rcx)
  2359. mulq 88(%rcx)
  2360. # qhasm: carry? rt2 += mulrax
  2361. # asm 1: add <mulrax=int64#7,<rt2=int64#10
  2362. # asm 2: add <mulrax=%rax,<rt2=%r12
  2363. add %rax,%r12
  2364. # qhasm: mulr21 += mulrdx + carry
  2365. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  2366. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  2367. adc %rdx,%r13
  2368. # qhasm: mulrax = *(uint64 *)(pp + 88)
  2369. # asm 1: movq 88(<pp=int64#2),>mulrax=int64#7
  2370. # asm 2: movq 88(<pp=%rsi),>mulrax=%rax
  2371. movq 88(%rsi),%rax
  2372. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 96)
  2373. # asm 1: mulq 96(<qp=int64#4)
  2374. # asm 2: mulq 96(<qp=%rcx)
  2375. mulq 96(%rcx)
  2376. # qhasm: carry? rt3 += mulrax
  2377. # asm 1: add <mulrax=int64#7,<rt3=int64#12
  2378. # asm 2: add <mulrax=%rax,<rt3=%r14
  2379. add %rax,%r14
  2380. # qhasm: mulr31 += mulrdx + carry
  2381. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  2382. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  2383. adc %rdx,%r15
  2384. # qhasm: mulrax = *(uint64 *)(pp + 88)
  2385. # asm 1: movq 88(<pp=int64#2),>mulrax=int64#7
  2386. # asm 2: movq 88(<pp=%rsi),>mulrax=%rax
  2387. movq 88(%rsi),%rax
  2388. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 104)
  2389. # asm 1: mulq 104(<qp=int64#4)
  2390. # asm 2: mulq 104(<qp=%rcx)
  2391. mulq 104(%rcx)
  2392. # qhasm: carry? rt4 += mulrax
  2393. # asm 1: add <mulrax=int64#7,<rt4=int64#14
  2394. # asm 2: add <mulrax=%rax,<rt4=%rbx
  2395. add %rax,%rbx
  2396. # qhasm: mulr41 += mulrdx + carry
  2397. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  2398. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  2399. adc %rdx,%rbp
  2400. # qhasm: mulrax = *(uint64 *)(pp + 88)
  2401. # asm 1: movq 88(<pp=int64#2),>mulrax=int64#3
  2402. # asm 2: movq 88(<pp=%rsi),>mulrax=%rdx
  2403. movq 88(%rsi),%rdx
  2404. # qhasm: mulrax *= 19
  2405. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  2406. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  2407. imulq $19,%rdx,%rax
  2408. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 112)
  2409. # asm 1: mulq 112(<qp=int64#4)
  2410. # asm 2: mulq 112(<qp=%rcx)
  2411. mulq 112(%rcx)
  2412. # qhasm: carry? rt0 += mulrax
  2413. # asm 1: add <mulrax=int64#7,<rt0=int64#5
  2414. # asm 2: add <mulrax=%rax,<rt0=%r8
  2415. add %rax,%r8
  2416. # qhasm: mulr01 += mulrdx + carry
  2417. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  2418. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  2419. adc %rdx,%r9
  2420. # qhasm: mulrax = *(uint64 *)(pp + 96)
  2421. # asm 1: movq 96(<pp=int64#2),>mulrax=int64#7
  2422. # asm 2: movq 96(<pp=%rsi),>mulrax=%rax
  2423. movq 96(%rsi),%rax
  2424. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 80)
  2425. # asm 1: mulq 80(<qp=int64#4)
  2426. # asm 2: mulq 80(<qp=%rcx)
  2427. mulq 80(%rcx)
  2428. # qhasm: carry? rt2 += mulrax
  2429. # asm 1: add <mulrax=int64#7,<rt2=int64#10
  2430. # asm 2: add <mulrax=%rax,<rt2=%r12
  2431. add %rax,%r12
  2432. # qhasm: mulr21 += mulrdx + carry
  2433. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  2434. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  2435. adc %rdx,%r13
  2436. # qhasm: mulrax = *(uint64 *)(pp + 96)
  2437. # asm 1: movq 96(<pp=int64#2),>mulrax=int64#7
  2438. # asm 2: movq 96(<pp=%rsi),>mulrax=%rax
  2439. movq 96(%rsi),%rax
  2440. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 88)
  2441. # asm 1: mulq 88(<qp=int64#4)
  2442. # asm 2: mulq 88(<qp=%rcx)
  2443. mulq 88(%rcx)
  2444. # qhasm: carry? rt3 += mulrax
  2445. # asm 1: add <mulrax=int64#7,<rt3=int64#12
  2446. # asm 2: add <mulrax=%rax,<rt3=%r14
  2447. add %rax,%r14
  2448. # qhasm: mulr31 += mulrdx + carry
  2449. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  2450. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  2451. adc %rdx,%r15
  2452. # qhasm: mulrax = *(uint64 *)(pp + 96)
  2453. # asm 1: movq 96(<pp=int64#2),>mulrax=int64#7
  2454. # asm 2: movq 96(<pp=%rsi),>mulrax=%rax
  2455. movq 96(%rsi),%rax
  2456. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 96)
  2457. # asm 1: mulq 96(<qp=int64#4)
  2458. # asm 2: mulq 96(<qp=%rcx)
  2459. mulq 96(%rcx)
  2460. # qhasm: carry? rt4 += mulrax
  2461. # asm 1: add <mulrax=int64#7,<rt4=int64#14
  2462. # asm 2: add <mulrax=%rax,<rt4=%rbx
  2463. add %rax,%rbx
  2464. # qhasm: mulr41 += mulrdx + carry
  2465. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  2466. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  2467. adc %rdx,%rbp
  2468. # qhasm: mulrax = *(uint64 *)(pp + 96)
  2469. # asm 1: movq 96(<pp=int64#2),>mulrax=int64#3
  2470. # asm 2: movq 96(<pp=%rsi),>mulrax=%rdx
  2471. movq 96(%rsi),%rdx
  2472. # qhasm: mulrax *= 19
  2473. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  2474. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  2475. imulq $19,%rdx,%rax
  2476. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 104)
  2477. # asm 1: mulq 104(<qp=int64#4)
  2478. # asm 2: mulq 104(<qp=%rcx)
  2479. mulq 104(%rcx)
  2480. # qhasm: carry? rt0 += mulrax
  2481. # asm 1: add <mulrax=int64#7,<rt0=int64#5
  2482. # asm 2: add <mulrax=%rax,<rt0=%r8
  2483. add %rax,%r8
  2484. # qhasm: mulr01 += mulrdx + carry
  2485. # asm 1: adc <mulrdx=int64#3,<mulr01=int64#6
  2486. # asm 2: adc <mulrdx=%rdx,<mulr01=%r9
  2487. adc %rdx,%r9
  2488. # qhasm: mulrax = *(uint64 *)(pp + 96)
  2489. # asm 1: movq 96(<pp=int64#2),>mulrax=int64#3
  2490. # asm 2: movq 96(<pp=%rsi),>mulrax=%rdx
  2491. movq 96(%rsi),%rdx
  2492. # qhasm: mulrax *= 19
  2493. # asm 1: imulq $19,<mulrax=int64#3,>mulrax=int64#7
  2494. # asm 2: imulq $19,<mulrax=%rdx,>mulrax=%rax
  2495. imulq $19,%rdx,%rax
  2496. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 112)
  2497. # asm 1: mulq 112(<qp=int64#4)
  2498. # asm 2: mulq 112(<qp=%rcx)
  2499. mulq 112(%rcx)
  2500. # qhasm: carry? rt1 += mulrax
  2501. # asm 1: add <mulrax=int64#7,<rt1=int64#8
  2502. # asm 2: add <mulrax=%rax,<rt1=%r10
  2503. add %rax,%r10
  2504. # qhasm: mulr11 += mulrdx + carry
  2505. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  2506. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  2507. adc %rdx,%r11
  2508. # qhasm: mulrax = *(uint64 *)(pp + 104)
  2509. # asm 1: movq 104(<pp=int64#2),>mulrax=int64#7
  2510. # asm 2: movq 104(<pp=%rsi),>mulrax=%rax
  2511. movq 104(%rsi),%rax
  2512. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 80)
  2513. # asm 1: mulq 80(<qp=int64#4)
  2514. # asm 2: mulq 80(<qp=%rcx)
  2515. mulq 80(%rcx)
  2516. # qhasm: carry? rt3 += mulrax
  2517. # asm 1: add <mulrax=int64#7,<rt3=int64#12
  2518. # asm 2: add <mulrax=%rax,<rt3=%r14
  2519. add %rax,%r14
  2520. # qhasm: mulr31 += mulrdx + carry
  2521. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  2522. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  2523. adc %rdx,%r15
  2524. # qhasm: mulrax = *(uint64 *)(pp + 104)
  2525. # asm 1: movq 104(<pp=int64#2),>mulrax=int64#7
  2526. # asm 2: movq 104(<pp=%rsi),>mulrax=%rax
  2527. movq 104(%rsi),%rax
  2528. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 88)
  2529. # asm 1: mulq 88(<qp=int64#4)
  2530. # asm 2: mulq 88(<qp=%rcx)
  2531. mulq 88(%rcx)
  2532. # qhasm: carry? rt4 += mulrax
  2533. # asm 1: add <mulrax=int64#7,<rt4=int64#14
  2534. # asm 2: add <mulrax=%rax,<rt4=%rbx
  2535. add %rax,%rbx
  2536. # qhasm: mulr41 += mulrdx + carry
  2537. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  2538. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  2539. adc %rdx,%rbp
  2540. # qhasm: mulrax = mulx319_stack
  2541. # asm 1: movq <mulx319_stack=stack64#13,>mulrax=int64#7
  2542. # asm 2: movq <mulx319_stack=96(%rsp),>mulrax=%rax
  2543. movq 96(%rsp),%rax
  2544. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 104)
  2545. # asm 1: mulq 104(<qp=int64#4)
  2546. # asm 2: mulq 104(<qp=%rcx)
  2547. mulq 104(%rcx)
  2548. # qhasm: carry? rt1 += mulrax
  2549. # asm 1: add <mulrax=int64#7,<rt1=int64#8
  2550. # asm 2: add <mulrax=%rax,<rt1=%r10
  2551. add %rax,%r10
  2552. # qhasm: mulr11 += mulrdx + carry
  2553. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  2554. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  2555. adc %rdx,%r11
  2556. # qhasm: mulrax = mulx319_stack
  2557. # asm 1: movq <mulx319_stack=stack64#13,>mulrax=int64#7
  2558. # asm 2: movq <mulx319_stack=96(%rsp),>mulrax=%rax
  2559. movq 96(%rsp),%rax
  2560. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 112)
  2561. # asm 1: mulq 112(<qp=int64#4)
  2562. # asm 2: mulq 112(<qp=%rcx)
  2563. mulq 112(%rcx)
  2564. # qhasm: carry? rt2 += mulrax
  2565. # asm 1: add <mulrax=int64#7,<rt2=int64#10
  2566. # asm 2: add <mulrax=%rax,<rt2=%r12
  2567. add %rax,%r12
  2568. # qhasm: mulr21 += mulrdx + carry
  2569. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  2570. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  2571. adc %rdx,%r13
  2572. # qhasm: mulrax = *(uint64 *)(pp + 112)
  2573. # asm 1: movq 112(<pp=int64#2),>mulrax=int64#7
  2574. # asm 2: movq 112(<pp=%rsi),>mulrax=%rax
  2575. movq 112(%rsi),%rax
  2576. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 80)
  2577. # asm 1: mulq 80(<qp=int64#4)
  2578. # asm 2: mulq 80(<qp=%rcx)
  2579. mulq 80(%rcx)
  2580. # qhasm: carry? rt4 += mulrax
  2581. # asm 1: add <mulrax=int64#7,<rt4=int64#14
  2582. # asm 2: add <mulrax=%rax,<rt4=%rbx
  2583. add %rax,%rbx
  2584. # qhasm: mulr41 += mulrdx + carry
  2585. # asm 1: adc <mulrdx=int64#3,<mulr41=int64#15
  2586. # asm 2: adc <mulrdx=%rdx,<mulr41=%rbp
  2587. adc %rdx,%rbp
  2588. # qhasm: mulrax = mulx419_stack
  2589. # asm 1: movq <mulx419_stack=stack64#14,>mulrax=int64#7
  2590. # asm 2: movq <mulx419_stack=104(%rsp),>mulrax=%rax
  2591. movq 104(%rsp),%rax
  2592. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 96)
  2593. # asm 1: mulq 96(<qp=int64#4)
  2594. # asm 2: mulq 96(<qp=%rcx)
  2595. mulq 96(%rcx)
  2596. # qhasm: carry? rt1 += mulrax
  2597. # asm 1: add <mulrax=int64#7,<rt1=int64#8
  2598. # asm 2: add <mulrax=%rax,<rt1=%r10
  2599. add %rax,%r10
  2600. # qhasm: mulr11 += mulrdx + carry
  2601. # asm 1: adc <mulrdx=int64#3,<mulr11=int64#9
  2602. # asm 2: adc <mulrdx=%rdx,<mulr11=%r11
  2603. adc %rdx,%r11
  2604. # qhasm: mulrax = mulx419_stack
  2605. # asm 1: movq <mulx419_stack=stack64#14,>mulrax=int64#7
  2606. # asm 2: movq <mulx419_stack=104(%rsp),>mulrax=%rax
  2607. movq 104(%rsp),%rax
  2608. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 104)
  2609. # asm 1: mulq 104(<qp=int64#4)
  2610. # asm 2: mulq 104(<qp=%rcx)
  2611. mulq 104(%rcx)
  2612. # qhasm: carry? rt2 += mulrax
  2613. # asm 1: add <mulrax=int64#7,<rt2=int64#10
  2614. # asm 2: add <mulrax=%rax,<rt2=%r12
  2615. add %rax,%r12
  2616. # qhasm: mulr21 += mulrdx + carry
  2617. # asm 1: adc <mulrdx=int64#3,<mulr21=int64#11
  2618. # asm 2: adc <mulrdx=%rdx,<mulr21=%r13
  2619. adc %rdx,%r13
  2620. # qhasm: mulrax = mulx419_stack
  2621. # asm 1: movq <mulx419_stack=stack64#14,>mulrax=int64#7
  2622. # asm 2: movq <mulx419_stack=104(%rsp),>mulrax=%rax
  2623. movq 104(%rsp),%rax
  2624. # qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)(qp + 112)
  2625. # asm 1: mulq 112(<qp=int64#4)
  2626. # asm 2: mulq 112(<qp=%rcx)
  2627. mulq 112(%rcx)
  2628. # qhasm: carry? rt3 += mulrax
  2629. # asm 1: add <mulrax=int64#7,<rt3=int64#12
  2630. # asm 2: add <mulrax=%rax,<rt3=%r14
  2631. add %rax,%r14
  2632. # qhasm: mulr31 += mulrdx + carry
  2633. # asm 1: adc <mulrdx=int64#3,<mulr31=int64#13
  2634. # asm 2: adc <mulrdx=%rdx,<mulr31=%r15
  2635. adc %rdx,%r15
  2636. # qhasm: mulredmask = *(uint64 *) &CRYPTO_NAMESPACE(batch_REDMASK51)
  2637. # asm 1: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=int64#2
  2638. # asm 2: movq CRYPTO_NAMESPACE(batch_REDMASK51),>mulredmask=%rsi
  2639. movq CRYPTO_NAMESPACE(batch_REDMASK51)(%rip),%rsi
  2640. # qhasm: mulr01 = (mulr01.rt0) << 13
  2641. # asm 1: shld $13,<rt0=int64#5,<mulr01=int64#6
  2642. # asm 2: shld $13,<rt0=%r8,<mulr01=%r9
  2643. shld $13,%r8,%r9
  2644. # qhasm: rt0 &= mulredmask
  2645. # asm 1: and <mulredmask=int64#2,<rt0=int64#5
  2646. # asm 2: and <mulredmask=%rsi,<rt0=%r8
  2647. and %rsi,%r8
  2648. # qhasm: mulr11 = (mulr11.rt1) << 13
  2649. # asm 1: shld $13,<rt1=int64#8,<mulr11=int64#9
  2650. # asm 2: shld $13,<rt1=%r10,<mulr11=%r11
  2651. shld $13,%r10,%r11
  2652. # qhasm: rt1 &= mulredmask
  2653. # asm 1: and <mulredmask=int64#2,<rt1=int64#8
  2654. # asm 2: and <mulredmask=%rsi,<rt1=%r10
  2655. and %rsi,%r10
  2656. # qhasm: rt1 += mulr01
  2657. # asm 1: add <mulr01=int64#6,<rt1=int64#8
  2658. # asm 2: add <mulr01=%r9,<rt1=%r10
  2659. add %r9,%r10
  2660. # qhasm: mulr21 = (mulr21.rt2) << 13
  2661. # asm 1: shld $13,<rt2=int64#10,<mulr21=int64#11
  2662. # asm 2: shld $13,<rt2=%r12,<mulr21=%r13
  2663. shld $13,%r12,%r13
  2664. # qhasm: rt2 &= mulredmask
  2665. # asm 1: and <mulredmask=int64#2,<rt2=int64#10
  2666. # asm 2: and <mulredmask=%rsi,<rt2=%r12
  2667. and %rsi,%r12
  2668. # qhasm: rt2 += mulr11
  2669. # asm 1: add <mulr11=int64#9,<rt2=int64#10
  2670. # asm 2: add <mulr11=%r11,<rt2=%r12
  2671. add %r11,%r12
  2672. # qhasm: mulr31 = (mulr31.rt3) << 13
  2673. # asm 1: shld $13,<rt3=int64#12,<mulr31=int64#13
  2674. # asm 2: shld $13,<rt3=%r14,<mulr31=%r15
  2675. shld $13,%r14,%r15
  2676. # qhasm: rt3 &= mulredmask
  2677. # asm 1: and <mulredmask=int64#2,<rt3=int64#12
  2678. # asm 2: and <mulredmask=%rsi,<rt3=%r14
  2679. and %rsi,%r14
  2680. # qhasm: rt3 += mulr21
  2681. # asm 1: add <mulr21=int64#11,<rt3=int64#12
  2682. # asm 2: add <mulr21=%r13,<rt3=%r14
  2683. add %r13,%r14
  2684. # qhasm: mulr41 = (mulr41.rt4) << 13
  2685. # asm 1: shld $13,<rt4=int64#14,<mulr41=int64#15
  2686. # asm 2: shld $13,<rt4=%rbx,<mulr41=%rbp
  2687. shld $13,%rbx,%rbp
  2688. # qhasm: rt4 &= mulredmask
  2689. # asm 1: and <mulredmask=int64#2,<rt4=int64#14
  2690. # asm 2: and <mulredmask=%rsi,<rt4=%rbx
  2691. and %rsi,%rbx
  2692. # qhasm: rt4 += mulr31
  2693. # asm 1: add <mulr31=int64#13,<rt4=int64#14
  2694. # asm 2: add <mulr31=%r15,<rt4=%rbx
  2695. add %r15,%rbx
  2696. # qhasm: mulr41 = mulr41 * 19
  2697. # asm 1: imulq $19,<mulr41=int64#15,>mulr41=int64#3
  2698. # asm 2: imulq $19,<mulr41=%rbp,>mulr41=%rdx
  2699. imulq $19,%rbp,%rdx
  2700. # qhasm: rt0 += mulr41
  2701. # asm 1: add <mulr41=int64#3,<rt0=int64#5
  2702. # asm 2: add <mulr41=%rdx,<rt0=%r8
  2703. add %rdx,%r8
  2704. # qhasm: mult = rt0
  2705. # asm 1: mov <rt0=int64#5,>mult=int64#3
  2706. # asm 2: mov <rt0=%r8,>mult=%rdx
  2707. mov %r8,%rdx
  2708. # qhasm: (uint64) mult >>= 51
  2709. # asm 1: shr $51,<mult=int64#3
  2710. # asm 2: shr $51,<mult=%rdx
  2711. shr $51,%rdx
  2712. # qhasm: mult += rt1
  2713. # asm 1: add <rt1=int64#8,<mult=int64#3
  2714. # asm 2: add <rt1=%r10,<mult=%rdx
  2715. add %r10,%rdx
  2716. # qhasm: rt1 = mult
  2717. # asm 1: mov <mult=int64#3,>rt1=int64#4
  2718. # asm 2: mov <mult=%rdx,>rt1=%rcx
  2719. mov %rdx,%rcx
  2720. # qhasm: (uint64) mult >>= 51
  2721. # asm 1: shr $51,<mult=int64#3
  2722. # asm 2: shr $51,<mult=%rdx
  2723. shr $51,%rdx
  2724. # qhasm: rt0 &= mulredmask
  2725. # asm 1: and <mulredmask=int64#2,<rt0=int64#5
  2726. # asm 2: and <mulredmask=%rsi,<rt0=%r8
  2727. and %rsi,%r8
  2728. # qhasm: mult += rt2
  2729. # asm 1: add <rt2=int64#10,<mult=int64#3
  2730. # asm 2: add <rt2=%r12,<mult=%rdx
  2731. add %r12,%rdx
  2732. # qhasm: rt2 = mult
  2733. # asm 1: mov <mult=int64#3,>rt2=int64#6
  2734. # asm 2: mov <mult=%rdx,>rt2=%r9
  2735. mov %rdx,%r9
  2736. # qhasm: (uint64) mult >>= 51
  2737. # asm 1: shr $51,<mult=int64#3
  2738. # asm 2: shr $51,<mult=%rdx
  2739. shr $51,%rdx
  2740. # qhasm: rt1 &= mulredmask
  2741. # asm 1: and <mulredmask=int64#2,<rt1=int64#4
  2742. # asm 2: and <mulredmask=%rsi,<rt1=%rcx
  2743. and %rsi,%rcx
  2744. # qhasm: mult += rt3
  2745. # asm 1: add <rt3=int64#12,<mult=int64#3
  2746. # asm 2: add <rt3=%r14,<mult=%rdx
  2747. add %r14,%rdx
  2748. # qhasm: rt3 = mult
  2749. # asm 1: mov <mult=int64#3,>rt3=int64#7
  2750. # asm 2: mov <mult=%rdx,>rt3=%rax
  2751. mov %rdx,%rax
  2752. # qhasm: (uint64) mult >>= 51
  2753. # asm 1: shr $51,<mult=int64#3
  2754. # asm 2: shr $51,<mult=%rdx
  2755. shr $51,%rdx
  2756. # qhasm: rt2 &= mulredmask
  2757. # asm 1: and <mulredmask=int64#2,<rt2=int64#6
  2758. # asm 2: and <mulredmask=%rsi,<rt2=%r9
  2759. and %rsi,%r9
  2760. # qhasm: mult += rt4
  2761. # asm 1: add <rt4=int64#14,<mult=int64#3
  2762. # asm 2: add <rt4=%rbx,<mult=%rdx
  2763. add %rbx,%rdx
  2764. # qhasm: rt4 = mult
  2765. # asm 1: mov <mult=int64#3,>rt4=int64#8
  2766. # asm 2: mov <mult=%rdx,>rt4=%r10
  2767. mov %rdx,%r10
  2768. # qhasm: (uint64) mult >>= 51
  2769. # asm 1: shr $51,<mult=int64#3
  2770. # asm 2: shr $51,<mult=%rdx
  2771. shr $51,%rdx
  2772. # qhasm: rt3 &= mulredmask
  2773. # asm 1: and <mulredmask=int64#2,<rt3=int64#7
  2774. # asm 2: and <mulredmask=%rsi,<rt3=%rax
  2775. and %rsi,%rax
  2776. # qhasm: mult *= 19
  2777. # asm 1: imulq $19,<mult=int64#3,>mult=int64#3
  2778. # asm 2: imulq $19,<mult=%rdx,>mult=%rdx
  2779. imulq $19,%rdx,%rdx
  2780. # qhasm: rt0 += mult
  2781. # asm 1: add <mult=int64#3,<rt0=int64#5
  2782. # asm 2: add <mult=%rdx,<rt0=%r8
  2783. add %rdx,%r8
  2784. # qhasm: rt4 &= mulredmask
  2785. # asm 1: and <mulredmask=int64#2,<rt4=int64#8
  2786. # asm 2: and <mulredmask=%rsi,<rt4=%r10
  2787. and %rsi,%r10
  2788. # qhasm: rt0 += rt0
  2789. # asm 1: add <rt0=int64#5,<rt0=int64#5
  2790. # asm 2: add <rt0=%r8,<rt0=%r8
  2791. add %r8,%r8
  2792. # qhasm: rt1 += rt1
  2793. # asm 1: add <rt1=int64#4,<rt1=int64#4
  2794. # asm 2: add <rt1=%rcx,<rt1=%rcx
  2795. add %rcx,%rcx
  2796. # qhasm: rt2 += rt2
  2797. # asm 1: add <rt2=int64#6,<rt2=int64#6
  2798. # asm 2: add <rt2=%r9,<rt2=%r9
  2799. add %r9,%r9
  2800. # qhasm: rt3 += rt3
  2801. # asm 1: add <rt3=int64#7,<rt3=int64#7
  2802. # asm 2: add <rt3=%rax,<rt3=%rax
  2803. add %rax,%rax
  2804. # qhasm: rt4 += rt4
  2805. # asm 1: add <rt4=int64#8,<rt4=int64#8
  2806. # asm 2: add <rt4=%r10,<rt4=%r10
  2807. add %r10,%r10
  2808. # qhasm: rz0 = rt0
  2809. # asm 1: mov <rt0=int64#5,>rz0=int64#2
  2810. # asm 2: mov <rt0=%r8,>rz0=%rsi
  2811. mov %r8,%rsi
  2812. # qhasm: rz1 = rt1
  2813. # asm 1: mov <rt1=int64#4,>rz1=int64#3
  2814. # asm 2: mov <rt1=%rcx,>rz1=%rdx
  2815. mov %rcx,%rdx
  2816. # qhasm: rz2 = rt2
  2817. # asm 1: mov <rt2=int64#6,>rz2=int64#9
  2818. # asm 2: mov <rt2=%r9,>rz2=%r11
  2819. mov %r9,%r11
  2820. # qhasm: rz3 = rt3
  2821. # asm 1: mov <rt3=int64#7,>rz3=int64#10
  2822. # asm 2: mov <rt3=%rax,>rz3=%r12
  2823. mov %rax,%r12
  2824. # qhasm: rz4 = rt4
  2825. # asm 1: mov <rt4=int64#8,>rz4=int64#11
  2826. # asm 2: mov <rt4=%r10,>rz4=%r13
  2827. mov %r10,%r13
  2828. # qhasm: rt0 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P0)
  2829. # asm 1: add CRYPTO_NAMESPACE(batch_2P0),<rt0=int64#5
  2830. # asm 2: add CRYPTO_NAMESPACE(batch_2P0),<rt0=%r8
  2831. add CRYPTO_NAMESPACE(batch_2P0)(%rip),%r8
  2832. # qhasm: rt1 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  2833. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rt1=int64#4
  2834. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rt1=%rcx
  2835. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%rcx
  2836. # qhasm: rt2 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  2837. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rt2=int64#6
  2838. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rt2=%r9
  2839. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r9
  2840. # qhasm: rt3 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  2841. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rt3=int64#7
  2842. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rt3=%rax
  2843. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%rax
  2844. # qhasm: rt4 += *(uint64 *)&CRYPTO_NAMESPACE(batch_2P1234)
  2845. # asm 1: add CRYPTO_NAMESPACE(batch_2P1234),<rt4=int64#8
  2846. # asm 2: add CRYPTO_NAMESPACE(batch_2P1234),<rt4=%r10
  2847. add CRYPTO_NAMESPACE(batch_2P1234)(%rip),%r10
  2848. # qhasm: rz0 += c0_stack
  2849. # asm 1: addq <c0_stack=stack64#8,<rz0=int64#2
  2850. # asm 2: addq <c0_stack=56(%rsp),<rz0=%rsi
  2851. addq 56(%rsp),%rsi
  2852. # qhasm: rz1 += c1_stack
  2853. # asm 1: addq <c1_stack=stack64#9,<rz1=int64#3
  2854. # asm 2: addq <c1_stack=64(%rsp),<rz1=%rdx
  2855. addq 64(%rsp),%rdx
  2856. # qhasm: rz2 += c2_stack
  2857. # asm 1: addq <c2_stack=stack64#10,<rz2=int64#9
  2858. # asm 2: addq <c2_stack=72(%rsp),<rz2=%r11
  2859. addq 72(%rsp),%r11
  2860. # qhasm: rz3 += c3_stack
  2861. # asm 1: addq <c3_stack=stack64#11,<rz3=int64#10
  2862. # asm 2: addq <c3_stack=80(%rsp),<rz3=%r12
  2863. addq 80(%rsp),%r12
  2864. # qhasm: rz4 += c4_stack
  2865. # asm 1: addq <c4_stack=stack64#12,<rz4=int64#11
  2866. # asm 2: addq <c4_stack=88(%rsp),<rz4=%r13
  2867. addq 88(%rsp),%r13
  2868. # qhasm: rt0 -= c0_stack
  2869. # asm 1: subq <c0_stack=stack64#8,<rt0=int64#5
  2870. # asm 2: subq <c0_stack=56(%rsp),<rt0=%r8
  2871. subq 56(%rsp),%r8
  2872. # qhasm: rt1 -= c1_stack
  2873. # asm 1: subq <c1_stack=stack64#9,<rt1=int64#4
  2874. # asm 2: subq <c1_stack=64(%rsp),<rt1=%rcx
  2875. subq 64(%rsp),%rcx
  2876. # qhasm: rt2 -= c2_stack
  2877. # asm 1: subq <c2_stack=stack64#10,<rt2=int64#6
  2878. # asm 2: subq <c2_stack=72(%rsp),<rt2=%r9
  2879. subq 72(%rsp),%r9
  2880. # qhasm: rt3 -= c3_stack
  2881. # asm 1: subq <c3_stack=stack64#11,<rt3=int64#7
  2882. # asm 2: subq <c3_stack=80(%rsp),<rt3=%rax
  2883. subq 80(%rsp),%rax
  2884. # qhasm: rt4 -= c4_stack
  2885. # asm 1: subq <c4_stack=stack64#12,<rt4=int64#8
  2886. # asm 2: subq <c4_stack=88(%rsp),<rt4=%r10
  2887. subq 88(%rsp),%r10
  2888. # qhasm: *(uint64 *)(rp + 40) = rz0
  2889. # asm 1: movq <rz0=int64#2,40(<rp=int64#1)
  2890. # asm 2: movq <rz0=%rsi,40(<rp=%rdi)
  2891. movq %rsi,40(%rdi)
  2892. # qhasm: *(uint64 *)(rp + 48) = rz1
  2893. # asm 1: movq <rz1=int64#3,48(<rp=int64#1)
  2894. # asm 2: movq <rz1=%rdx,48(<rp=%rdi)
  2895. movq %rdx,48(%rdi)
  2896. # qhasm: *(uint64 *)(rp + 56) = rz2
  2897. # asm 1: movq <rz2=int64#9,56(<rp=int64#1)
  2898. # asm 2: movq <rz2=%r11,56(<rp=%rdi)
  2899. movq %r11,56(%rdi)
  2900. # qhasm: *(uint64 *)(rp + 64) = rz3
  2901. # asm 1: movq <rz3=int64#10,64(<rp=int64#1)
  2902. # asm 2: movq <rz3=%r12,64(<rp=%rdi)
  2903. movq %r12,64(%rdi)
  2904. # qhasm: *(uint64 *)(rp + 72) = rz4
  2905. # asm 1: movq <rz4=int64#11,72(<rp=int64#1)
  2906. # asm 2: movq <rz4=%r13,72(<rp=%rdi)
  2907. movq %r13,72(%rdi)
  2908. # qhasm: *(uint64 *)(rp + 120) = rt0
  2909. # asm 1: movq <rt0=int64#5,120(<rp=int64#1)
  2910. # asm 2: movq <rt0=%r8,120(<rp=%rdi)
  2911. movq %r8,120(%rdi)
  2912. # qhasm: *(uint64 *)(rp + 128) = rt1
  2913. # asm 1: movq <rt1=int64#4,128(<rp=int64#1)
  2914. # asm 2: movq <rt1=%rcx,128(<rp=%rdi)
  2915. movq %rcx,128(%rdi)
  2916. # qhasm: *(uint64 *)(rp + 136) = rt2
  2917. # asm 1: movq <rt2=int64#6,136(<rp=int64#1)
  2918. # asm 2: movq <rt2=%r9,136(<rp=%rdi)
  2919. movq %r9,136(%rdi)
  2920. # qhasm: *(uint64 *)(rp + 144) = rt3
  2921. # asm 1: movq <rt3=int64#7,144(<rp=int64#1)
  2922. # asm 2: movq <rt3=%rax,144(<rp=%rdi)
  2923. movq %rax,144(%rdi)
  2924. # qhasm: *(uint64 *)(rp + 152) = rt4
  2925. # asm 1: movq <rt4=int64#8,152(<rp=int64#1)
  2926. # asm 2: movq <rt4=%r10,152(<rp=%rdi)
  2927. movq %r10,152(%rdi)
  2928. # qhasm: caller1 = caller1_stack
  2929. # asm 1: movq <caller1_stack=stack64#1,>caller1=int64#9
  2930. # asm 2: movq <caller1_stack=0(%rsp),>caller1=%r11
  2931. movq 0(%rsp),%r11
  2932. # qhasm: caller2 = caller2_stack
  2933. # asm 1: movq <caller2_stack=stack64#2,>caller2=int64#10
  2934. # asm 2: movq <caller2_stack=8(%rsp),>caller2=%r12
  2935. movq 8(%rsp),%r12
  2936. # qhasm: caller3 = caller3_stack
  2937. # asm 1: movq <caller3_stack=stack64#3,>caller3=int64#11
  2938. # asm 2: movq <caller3_stack=16(%rsp),>caller3=%r13
  2939. movq 16(%rsp),%r13
  2940. # qhasm: caller4 = caller4_stack
  2941. # asm 1: movq <caller4_stack=stack64#4,>caller4=int64#12
  2942. # asm 2: movq <caller4_stack=24(%rsp),>caller4=%r14
  2943. movq 24(%rsp),%r14
  2944. # qhasm: caller5 = caller5_stack
  2945. # asm 1: movq <caller5_stack=stack64#5,>caller5=int64#13
  2946. # asm 2: movq <caller5_stack=32(%rsp),>caller5=%r15
  2947. movq 32(%rsp),%r15
  2948. # qhasm: caller6 = caller6_stack
  2949. # asm 1: movq <caller6_stack=stack64#6,>caller6=int64#14
  2950. # asm 2: movq <caller6_stack=40(%rsp),>caller6=%rbx
  2951. movq 40(%rsp),%rbx
  2952. # qhasm: caller7 = caller7_stack
  2953. # asm 1: movq <caller7_stack=stack64#7,>caller7=int64#15
  2954. # asm 2: movq <caller7_stack=48(%rsp),>caller7=%rbp
  2955. movq 48(%rsp),%rbp
  2956. # qhasm: leave
  2957. add %r11,%rsp
  2958. mov %rdi,%rax
  2959. mov %rsi,%rdx
  2960. ret