12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975 |
- # qhasm: int64 rp
- # qhasm: int64 pp
- # qhasm: input rp
- # qhasm: input pp
- # qhasm: int64 a0
- # qhasm: int64 a1
- # qhasm: int64 a2
- # qhasm: int64 a3
- # qhasm: stack64 a0_stack
- # qhasm: stack64 a1_stack
- # qhasm: stack64 a2_stack
- # qhasm: stack64 a3_stack
- # qhasm: int64 b0
- # qhasm: int64 b1
- # qhasm: int64 b2
- # qhasm: int64 b3
- # qhasm: stack64 b0_stack
- # qhasm: stack64 b1_stack
- # qhasm: stack64 b2_stack
- # qhasm: stack64 b3_stack
- # qhasm: int64 c0
- # qhasm: int64 c1
- # qhasm: int64 c2
- # qhasm: int64 c3
- # qhasm: stack64 c0_stack
- # qhasm: stack64 c1_stack
- # qhasm: stack64 c2_stack
- # qhasm: stack64 c3_stack
- # qhasm: int64 d0
- # qhasm: int64 d1
- # qhasm: int64 d2
- # qhasm: int64 d3
- # qhasm: stack64 d0_stack
- # qhasm: stack64 d1_stack
- # qhasm: stack64 d2_stack
- # qhasm: stack64 d3_stack
- # qhasm: int64 e0
- # qhasm: int64 e1
- # qhasm: int64 e2
- # qhasm: int64 e3
- # qhasm: stack64 e0_stack
- # qhasm: stack64 e1_stack
- # qhasm: stack64 e2_stack
- # qhasm: stack64 e3_stack
- # qhasm: int64 rx0
- # qhasm: int64 rx1
- # qhasm: int64 rx2
- # qhasm: int64 rx3
- # qhasm: stack64 rx0_stack
- # qhasm: stack64 rx1_stack
- # qhasm: stack64 rx2_stack
- # qhasm: stack64 rx3_stack
- # qhasm: int64 ry0
- # qhasm: int64 ry1
- # qhasm: int64 ry2
- # qhasm: int64 ry3
- # qhasm: int64 ry4
- # qhasm: int64 rz0
- # qhasm: int64 rz1
- # qhasm: int64 rz2
- # qhasm: int64 rz3
- # qhasm: int64 rt0
- # qhasm: int64 rt1
- # qhasm: int64 rt2
- # qhasm: int64 rt3
- # qhasm: int64 mulr4
- # qhasm: int64 mulr5
- # qhasm: int64 mulr6
- # qhasm: int64 mulr7
- # qhasm: int64 mulr8
- # qhasm: int64 mulrax
- # qhasm: int64 mulrdx
- # qhasm: int64 mulx0
- # qhasm: int64 mulx1
- # qhasm: int64 mulx2
- # qhasm: int64 mulx3
- # qhasm: int64 mulc
- # qhasm: int64 mulzero
- # qhasm: int64 muli38
- # qhasm: int64 squarer4
- # qhasm: int64 squarer5
- # qhasm: int64 squarer6
- # qhasm: int64 squarer7
- # qhasm: int64 squarer8
- # qhasm: int64 squarerax
- # qhasm: int64 squarerdx
- # qhasm: int64 squaret1
- # qhasm: int64 squaret2
- # qhasm: int64 squaret3
- # qhasm: int64 squarec
- # qhasm: int64 squarezero
- # qhasm: int64 squarei38
- # qhasm: int64 addt0
- # qhasm: int64 addt1
- # qhasm: int64 subt0
- # qhasm: int64 subt1
- # qhasm: int64 caller1
- # qhasm: int64 caller2
- # qhasm: int64 caller3
- # qhasm: int64 caller4
- # qhasm: int64 caller5
- # qhasm: int64 caller6
- # qhasm: int64 caller7
- # qhasm: caller caller1
- # qhasm: caller caller2
- # qhasm: caller caller3
- # qhasm: caller caller4
- # qhasm: caller caller5
- # qhasm: caller caller6
- # qhasm: caller caller7
- # qhasm: stack64 caller1_stack
- # qhasm: stack64 caller2_stack
- # qhasm: stack64 caller3_stack
- # qhasm: stack64 caller4_stack
- # qhasm: stack64 caller5_stack
- # qhasm: stack64 caller6_stack
- # qhasm: stack64 caller7_stack
- # qhasm: enter CRYPTO_NAMESPACE(ge25519_dbl_p1p1)
- .text
- .p2align 5
- .globl _CRYPTO_NAMESPACE(ge25519_dbl_p1p1)
- .globl CRYPTO_NAMESPACE(ge25519_dbl_p1p1)
- _CRYPTO_NAMESPACE(ge25519_dbl_p1p1):
- CRYPTO_NAMESPACE(ge25519_dbl_p1p1):
- mov %rsp,%r11
- and $31,%r11
- add $192,%r11
- sub %r11,%rsp
- # qhasm: caller1_stack = caller1
- # asm 1: movq <caller1=int64#9,>caller1_stack=stack64#1
- # asm 2: movq <caller1=%r11,>caller1_stack=0(%rsp)
- movq %r11,0(%rsp)
- # qhasm: caller2_stack = caller2
- # asm 1: movq <caller2=int64#10,>caller2_stack=stack64#2
- # asm 2: movq <caller2=%r12,>caller2_stack=8(%rsp)
- movq %r12,8(%rsp)
- # qhasm: caller3_stack = caller3
- # asm 1: movq <caller3=int64#11,>caller3_stack=stack64#3
- # asm 2: movq <caller3=%r13,>caller3_stack=16(%rsp)
- movq %r13,16(%rsp)
- # qhasm: caller4_stack = caller4
- # asm 1: movq <caller4=int64#12,>caller4_stack=stack64#4
- # asm 2: movq <caller4=%r14,>caller4_stack=24(%rsp)
- movq %r14,24(%rsp)
- # qhasm: caller5_stack = caller5
- # asm 1: movq <caller5=int64#13,>caller5_stack=stack64#5
- # asm 2: movq <caller5=%r15,>caller5_stack=32(%rsp)
- movq %r15,32(%rsp)
- # qhasm: caller6_stack = caller6
- # asm 1: movq <caller6=int64#14,>caller6_stack=stack64#6
- # asm 2: movq <caller6=%rbx,>caller6_stack=40(%rsp)
- movq %rbx,40(%rsp)
- # qhasm: caller7_stack = caller7
- # asm 1: movq <caller7=int64#15,>caller7_stack=stack64#7
- # asm 2: movq <caller7=%rbp,>caller7_stack=48(%rsp)
- movq %rbp,48(%rsp)
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 8)
- # asm 1: movq 8(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 8(<pp=%rsi),>squarerax=%rax
- movq 8(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0)
- # asm 1: mulq 0(<pp=int64#2)
- # asm 2: mulq 0(<pp=%rsi)
- mulq 0(%rsi)
- # qhasm: a1 = squarerax
- # asm 1: mov <squarerax=int64#7,>a1=int64#5
- # asm 2: mov <squarerax=%rax,>a1=%r8
- mov %rax,%r8
- # qhasm: a2 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>a2=int64#6
- # asm 2: mov <squarerdx=%rdx,>a2=%r9
- mov %rdx,%r9
- # qhasm: squarerax = *(uint64 *)(pp + 16)
- # asm 1: movq 16(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 16(<pp=%rsi),>squarerax=%rax
- movq 16(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8)
- # asm 1: mulq 8(<pp=int64#2)
- # asm 2: mulq 8(<pp=%rsi)
- mulq 8(%rsi)
- # qhasm: a3 = squarerax
- # asm 1: mov <squarerax=int64#7,>a3=int64#8
- # asm 2: mov <squarerax=%rax,>a3=%r10
- mov %rax,%r10
- # qhasm: squarer4 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer4=int64#9
- # asm 2: mov <squarerdx=%rdx,>squarer4=%r11
- mov %rdx,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 24)
- # asm 1: movq 24(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 24(<pp=%rsi),>squarerax=%rax
- movq 24(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 16)
- # asm 1: mulq 16(<pp=int64#2)
- # asm 2: mulq 16(<pp=%rsi)
- mulq 16(%rsi)
- # qhasm: squarer5 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer5=int64#10
- # asm 2: mov <squarerax=%rax,>squarer5=%r12
- mov %rax,%r12
- # qhasm: squarer6 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer6=int64#11
- # asm 2: mov <squarerdx=%rdx,>squarer6=%r13
- mov %rdx,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 16)
- # asm 1: movq 16(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 16(<pp=%rsi),>squarerax=%rax
- movq 16(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0)
- # asm 1: mulq 0(<pp=int64#2)
- # asm 2: mulq 0(<pp=%rsi)
- mulq 0(%rsi)
- # qhasm: carry? a2 += squarerax
- # asm 1: add <squarerax=int64#7,<a2=int64#6
- # asm 2: add <squarerax=%rax,<a2=%r9
- add %rax,%r9
- # qhasm: carry? a3 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<a3=int64#8
- # asm 2: adc <squarerdx=%rdx,<a3=%r10
- adc %rdx,%r10
- # qhasm: squarer4 += 0 + carry
- # asm 1: adc $0,<squarer4=int64#9
- # asm 2: adc $0,<squarer4=%r11
- adc $0,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 24)
- # asm 1: movq 24(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 24(<pp=%rsi),>squarerax=%rax
- movq 24(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8)
- # asm 1: mulq 8(<pp=int64#2)
- # asm 2: mulq 8(<pp=%rsi)
- mulq 8(%rsi)
- # qhasm: carry? squarer4 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer4=int64#9
- # asm 2: add <squarerax=%rax,<squarer4=%r11
- add %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 24)
- # asm 1: movq 24(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 24(<pp=%rsi),>squarerax=%rax
- movq 24(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0)
- # asm 1: mulq 0(<pp=int64#2)
- # asm 2: mulq 0(<pp=%rsi)
- mulq 0(%rsi)
- # qhasm: carry? a3 += squarerax
- # asm 1: add <squarerax=int64#7,<a3=int64#8
- # asm 2: add <squarerax=%rax,<a3=%r10
- add %rax,%r10
- # qhasm: carry? squarer4 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer4=int64#9
- # asm 2: adc <squarerdx=%rdx,<squarer4=%r11
- adc %rdx,%r11
- # qhasm: carry? squarer5 += 0 + carry
- # asm 1: adc $0,<squarer5=int64#10
- # asm 2: adc $0,<squarer5=%r12
- adc $0,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: carry? a1 += a1
- # asm 1: add <a1=int64#5,<a1=int64#5
- # asm 2: add <a1=%r8,<a1=%r8
- add %r8,%r8
- # qhasm: carry? a2 += a2 + carry
- # asm 1: adc <a2=int64#6,<a2=int64#6
- # asm 2: adc <a2=%r9,<a2=%r9
- adc %r9,%r9
- # qhasm: carry? a3 += a3 + carry
- # asm 1: adc <a3=int64#8,<a3=int64#8
- # asm 2: adc <a3=%r10,<a3=%r10
- adc %r10,%r10
- # qhasm: carry? squarer4 += squarer4 + carry
- # asm 1: adc <squarer4=int64#9,<squarer4=int64#9
- # asm 2: adc <squarer4=%r11,<squarer4=%r11
- adc %r11,%r11
- # qhasm: carry? squarer5 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<squarer5=int64#10
- # asm 2: adc <squarer5=%r12,<squarer5=%r12
- adc %r12,%r12
- # qhasm: carry? squarer6 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<squarer6=int64#11
- # asm 2: adc <squarer6=%r13,<squarer6=%r13
- adc %r13,%r13
- # qhasm: squarer7 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<squarer7=int64#4
- # asm 2: adc <squarer7=%rcx,<squarer7=%rcx
- adc %rcx,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 0)
- # asm 1: movq 0(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 0(<pp=%rsi),>squarerax=%rax
- movq 0(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0)
- # asm 1: mulq 0(<pp=int64#2)
- # asm 2: mulq 0(<pp=%rsi)
- mulq 0(%rsi)
- # qhasm: a0 = squarerax
- # asm 1: mov <squarerax=int64#7,>a0=int64#12
- # asm 2: mov <squarerax=%rax,>a0=%r14
- mov %rax,%r14
- # qhasm: squaret1 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret1=int64#13
- # asm 2: mov <squarerdx=%rdx,>squaret1=%r15
- mov %rdx,%r15
- # qhasm: squarerax = *(uint64 *)(pp + 8)
- # asm 1: movq 8(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 8(<pp=%rsi),>squarerax=%rax
- movq 8(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8)
- # asm 1: mulq 8(<pp=int64#2)
- # asm 2: mulq 8(<pp=%rsi)
- mulq 8(%rsi)
- # qhasm: squaret2 = squarerax
- # asm 1: mov <squarerax=int64#7,>squaret2=int64#14
- # asm 2: mov <squarerax=%rax,>squaret2=%rbx
- mov %rax,%rbx
- # qhasm: squaret3 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret3=int64#15
- # asm 2: mov <squarerdx=%rdx,>squaret3=%rbp
- mov %rdx,%rbp
- # qhasm: squarerax = *(uint64 *)(pp + 16)
- # asm 1: movq 16(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 16(<pp=%rsi),>squarerax=%rax
- movq 16(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 16)
- # asm 1: mulq 16(<pp=int64#2)
- # asm 2: mulq 16(<pp=%rsi)
- mulq 16(%rsi)
- # qhasm: carry? a1 += squaret1
- # asm 1: add <squaret1=int64#13,<a1=int64#5
- # asm 2: add <squaret1=%r15,<a1=%r8
- add %r15,%r8
- # qhasm: carry? a2 += squaret2 + carry
- # asm 1: adc <squaret2=int64#14,<a2=int64#6
- # asm 2: adc <squaret2=%rbx,<a2=%r9
- adc %rbx,%r9
- # qhasm: carry? a3 += squaret3 + carry
- # asm 1: adc <squaret3=int64#15,<a3=int64#8
- # asm 2: adc <squaret3=%rbp,<a3=%r10
- adc %rbp,%r10
- # qhasm: carry? squarer4 += squarerax + carry
- # asm 1: adc <squarerax=int64#7,<squarer4=int64#9
- # asm 2: adc <squarerax=%rax,<squarer4=%r11
- adc %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 24)
- # asm 1: movq 24(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 24(<pp=%rsi),>squarerax=%rax
- movq 24(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 24)
- # asm 1: mulq 24(<pp=int64#2)
- # asm 2: mulq 24(<pp=%rsi)
- mulq 24(%rsi)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: squarerax = squarer4
- # asm 1: mov <squarer4=int64#9,>squarerax=int64#7
- # asm 2: mov <squarer4=%r11,>squarerax=%rax
- mov %r11,%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: squarer4 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer4=int64#9
- # asm 2: mov <squarerax=%rax,>squarer4=%r11
- mov %rax,%r11
- # qhasm: squarerax = squarer5
- # asm 1: mov <squarer5=int64#10,>squarerax=int64#7
- # asm 2: mov <squarer5=%r12,>squarerax=%rax
- mov %r12,%rax
- # qhasm: squarer5 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer5=int64#10
- # asm 2: mov <squarerdx=%rdx,>squarer5=%r12
- mov %rdx,%r12
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer5 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer5=int64#10
- # asm 2: add <squarerax=%rax,<squarer5=%r12
- add %rax,%r12
- # qhasm: squarerax = squarer6
- # asm 1: mov <squarer6=int64#11,>squarerax=int64#7
- # asm 2: mov <squarer6=%r13,>squarerax=%rax
- mov %r13,%rax
- # qhasm: squarer6 = 0
- # asm 1: mov $0,>squarer6=int64#11
- # asm 2: mov $0,>squarer6=%r13
- mov $0,%r13
- # qhasm: squarer6 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer6=int64#11
- # asm 2: adc <squarerdx=%rdx,<squarer6=%r13
- adc %rdx,%r13
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarerax = squarer7
- # asm 1: mov <squarer7=int64#4,>squarerax=int64#7
- # asm 2: mov <squarer7=%rcx,>squarerax=%rax
- mov %rcx,%rax
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer7 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer7=int64#4
- # asm 2: add <squarerax=%rax,<squarer7=%rcx
- add %rax,%rcx
- # qhasm: squarer8 = 0
- # asm 1: mov $0,>squarer8=int64#7
- # asm 2: mov $0,>squarer8=%rax
- mov $0,%rax
- # qhasm: squarer8 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer8=int64#7
- # asm 2: adc <squarerdx=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: carry? a0 += squarer4
- # asm 1: add <squarer4=int64#9,<a0=int64#12
- # asm 2: add <squarer4=%r11,<a0=%r14
- add %r11,%r14
- # qhasm: carry? a1 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<a1=int64#5
- # asm 2: adc <squarer5=%r12,<a1=%r8
- adc %r12,%r8
- # qhasm: carry? a2 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<a2=int64#6
- # asm 2: adc <squarer6=%r13,<a2=%r9
- adc %r13,%r9
- # qhasm: carry? a3 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<a3=int64#8
- # asm 2: adc <squarer7=%rcx,<a3=%r10
- adc %rcx,%r10
- # qhasm: squarezero = 0
- # asm 1: mov $0,>squarezero=int64#3
- # asm 2: mov $0,>squarezero=%rdx
- mov $0,%rdx
- # qhasm: squarer8 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarer8=int64#7
- # asm 2: adc <squarezero=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: squarer8 *= 38
- # asm 1: imulq $38,<squarer8=int64#7,>squarer8=int64#4
- # asm 2: imulq $38,<squarer8=%rax,>squarer8=%rcx
- imulq $38,%rax,%rcx
- # qhasm: carry? a0 += squarer8
- # asm 1: add <squarer8=int64#4,<a0=int64#12
- # asm 2: add <squarer8=%rcx,<a0=%r14
- add %rcx,%r14
- # qhasm: carry? a1 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<a1=int64#5
- # asm 2: adc <squarezero=%rdx,<a1=%r8
- adc %rdx,%r8
- # qhasm: carry? a2 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<a2=int64#6
- # asm 2: adc <squarezero=%rdx,<a2=%r9
- adc %rdx,%r9
- # qhasm: carry? a3 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<a3=int64#8
- # asm 2: adc <squarezero=%rdx,<a3=%r10
- adc %rdx,%r10
- # qhasm: squarezero += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarezero=int64#3
- # asm 2: adc <squarezero=%rdx,<squarezero=%rdx
- adc %rdx,%rdx
- # qhasm: squarezero *= 38
- # asm 1: imulq $38,<squarezero=int64#3,>squarezero=int64#3
- # asm 2: imulq $38,<squarezero=%rdx,>squarezero=%rdx
- imulq $38,%rdx,%rdx
- # qhasm: a0 += squarezero
- # asm 1: add <squarezero=int64#3,<a0=int64#12
- # asm 2: add <squarezero=%rdx,<a0=%r14
- add %rdx,%r14
- # qhasm: a0_stack = a0
- # asm 1: movq <a0=int64#12,>a0_stack=stack64#8
- # asm 2: movq <a0=%r14,>a0_stack=56(%rsp)
- movq %r14,56(%rsp)
- # qhasm: a1_stack = a1
- # asm 1: movq <a1=int64#5,>a1_stack=stack64#9
- # asm 2: movq <a1=%r8,>a1_stack=64(%rsp)
- movq %r8,64(%rsp)
- # qhasm: a2_stack = a2
- # asm 1: movq <a2=int64#6,>a2_stack=stack64#10
- # asm 2: movq <a2=%r9,>a2_stack=72(%rsp)
- movq %r9,72(%rsp)
- # qhasm: a3_stack = a3
- # asm 1: movq <a3=int64#8,>a3_stack=stack64#11
- # asm 2: movq <a3=%r10,>a3_stack=80(%rsp)
- movq %r10,80(%rsp)
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 40)
- # asm 1: movq 40(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 40(<pp=%rsi),>squarerax=%rax
- movq 40(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32)
- # asm 1: mulq 32(<pp=int64#2)
- # asm 2: mulq 32(<pp=%rsi)
- mulq 32(%rsi)
- # qhasm: b1 = squarerax
- # asm 1: mov <squarerax=int64#7,>b1=int64#5
- # asm 2: mov <squarerax=%rax,>b1=%r8
- mov %rax,%r8
- # qhasm: b2 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>b2=int64#6
- # asm 2: mov <squarerdx=%rdx,>b2=%r9
- mov %rdx,%r9
- # qhasm: squarerax = *(uint64 *)(pp + 48)
- # asm 1: movq 48(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 48(<pp=%rsi),>squarerax=%rax
- movq 48(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 40)
- # asm 1: mulq 40(<pp=int64#2)
- # asm 2: mulq 40(<pp=%rsi)
- mulq 40(%rsi)
- # qhasm: b3 = squarerax
- # asm 1: mov <squarerax=int64#7,>b3=int64#8
- # asm 2: mov <squarerax=%rax,>b3=%r10
- mov %rax,%r10
- # qhasm: squarer4 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer4=int64#9
- # asm 2: mov <squarerdx=%rdx,>squarer4=%r11
- mov %rdx,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 56)
- # asm 1: movq 56(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 56(<pp=%rsi),>squarerax=%rax
- movq 56(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 48)
- # asm 1: mulq 48(<pp=int64#2)
- # asm 2: mulq 48(<pp=%rsi)
- mulq 48(%rsi)
- # qhasm: squarer5 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer5=int64#10
- # asm 2: mov <squarerax=%rax,>squarer5=%r12
- mov %rax,%r12
- # qhasm: squarer6 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer6=int64#11
- # asm 2: mov <squarerdx=%rdx,>squarer6=%r13
- mov %rdx,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 48)
- # asm 1: movq 48(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 48(<pp=%rsi),>squarerax=%rax
- movq 48(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32)
- # asm 1: mulq 32(<pp=int64#2)
- # asm 2: mulq 32(<pp=%rsi)
- mulq 32(%rsi)
- # qhasm: carry? b2 += squarerax
- # asm 1: add <squarerax=int64#7,<b2=int64#6
- # asm 2: add <squarerax=%rax,<b2=%r9
- add %rax,%r9
- # qhasm: carry? b3 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<b3=int64#8
- # asm 2: adc <squarerdx=%rdx,<b3=%r10
- adc %rdx,%r10
- # qhasm: squarer4 += 0 + carry
- # asm 1: adc $0,<squarer4=int64#9
- # asm 2: adc $0,<squarer4=%r11
- adc $0,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 56)
- # asm 1: movq 56(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 56(<pp=%rsi),>squarerax=%rax
- movq 56(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 40)
- # asm 1: mulq 40(<pp=int64#2)
- # asm 2: mulq 40(<pp=%rsi)
- mulq 40(%rsi)
- # qhasm: carry? squarer4 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer4=int64#9
- # asm 2: add <squarerax=%rax,<squarer4=%r11
- add %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 56)
- # asm 1: movq 56(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 56(<pp=%rsi),>squarerax=%rax
- movq 56(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32)
- # asm 1: mulq 32(<pp=int64#2)
- # asm 2: mulq 32(<pp=%rsi)
- mulq 32(%rsi)
- # qhasm: carry? b3 += squarerax
- # asm 1: add <squarerax=int64#7,<b3=int64#8
- # asm 2: add <squarerax=%rax,<b3=%r10
- add %rax,%r10
- # qhasm: carry? squarer4 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer4=int64#9
- # asm 2: adc <squarerdx=%rdx,<squarer4=%r11
- adc %rdx,%r11
- # qhasm: carry? squarer5 += 0 + carry
- # asm 1: adc $0,<squarer5=int64#10
- # asm 2: adc $0,<squarer5=%r12
- adc $0,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: carry? b1 += b1
- # asm 1: add <b1=int64#5,<b1=int64#5
- # asm 2: add <b1=%r8,<b1=%r8
- add %r8,%r8
- # qhasm: carry? b2 += b2 + carry
- # asm 1: adc <b2=int64#6,<b2=int64#6
- # asm 2: adc <b2=%r9,<b2=%r9
- adc %r9,%r9
- # qhasm: carry? b3 += b3 + carry
- # asm 1: adc <b3=int64#8,<b3=int64#8
- # asm 2: adc <b3=%r10,<b3=%r10
- adc %r10,%r10
- # qhasm: carry? squarer4 += squarer4 + carry
- # asm 1: adc <squarer4=int64#9,<squarer4=int64#9
- # asm 2: adc <squarer4=%r11,<squarer4=%r11
- adc %r11,%r11
- # qhasm: carry? squarer5 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<squarer5=int64#10
- # asm 2: adc <squarer5=%r12,<squarer5=%r12
- adc %r12,%r12
- # qhasm: carry? squarer6 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<squarer6=int64#11
- # asm 2: adc <squarer6=%r13,<squarer6=%r13
- adc %r13,%r13
- # qhasm: squarer7 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<squarer7=int64#4
- # asm 2: adc <squarer7=%rcx,<squarer7=%rcx
- adc %rcx,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 32)
- # asm 1: movq 32(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 32(<pp=%rsi),>squarerax=%rax
- movq 32(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32)
- # asm 1: mulq 32(<pp=int64#2)
- # asm 2: mulq 32(<pp=%rsi)
- mulq 32(%rsi)
- # qhasm: b0 = squarerax
- # asm 1: mov <squarerax=int64#7,>b0=int64#12
- # asm 2: mov <squarerax=%rax,>b0=%r14
- mov %rax,%r14
- # qhasm: squaret1 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret1=int64#13
- # asm 2: mov <squarerdx=%rdx,>squaret1=%r15
- mov %rdx,%r15
- # qhasm: squarerax = *(uint64 *)(pp + 40)
- # asm 1: movq 40(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 40(<pp=%rsi),>squarerax=%rax
- movq 40(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 40)
- # asm 1: mulq 40(<pp=int64#2)
- # asm 2: mulq 40(<pp=%rsi)
- mulq 40(%rsi)
- # qhasm: squaret2 = squarerax
- # asm 1: mov <squarerax=int64#7,>squaret2=int64#14
- # asm 2: mov <squarerax=%rax,>squaret2=%rbx
- mov %rax,%rbx
- # qhasm: squaret3 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret3=int64#15
- # asm 2: mov <squarerdx=%rdx,>squaret3=%rbp
- mov %rdx,%rbp
- # qhasm: squarerax = *(uint64 *)(pp + 48)
- # asm 1: movq 48(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 48(<pp=%rsi),>squarerax=%rax
- movq 48(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 48)
- # asm 1: mulq 48(<pp=int64#2)
- # asm 2: mulq 48(<pp=%rsi)
- mulq 48(%rsi)
- # qhasm: carry? b1 += squaret1
- # asm 1: add <squaret1=int64#13,<b1=int64#5
- # asm 2: add <squaret1=%r15,<b1=%r8
- add %r15,%r8
- # qhasm: carry? b2 += squaret2 + carry
- # asm 1: adc <squaret2=int64#14,<b2=int64#6
- # asm 2: adc <squaret2=%rbx,<b2=%r9
- adc %rbx,%r9
- # qhasm: carry? b3 += squaret3 + carry
- # asm 1: adc <squaret3=int64#15,<b3=int64#8
- # asm 2: adc <squaret3=%rbp,<b3=%r10
- adc %rbp,%r10
- # qhasm: carry? squarer4 += squarerax + carry
- # asm 1: adc <squarerax=int64#7,<squarer4=int64#9
- # asm 2: adc <squarerax=%rax,<squarer4=%r11
- adc %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 56)
- # asm 1: movq 56(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 56(<pp=%rsi),>squarerax=%rax
- movq 56(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 56)
- # asm 1: mulq 56(<pp=int64#2)
- # asm 2: mulq 56(<pp=%rsi)
- mulq 56(%rsi)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: squarerax = squarer4
- # asm 1: mov <squarer4=int64#9,>squarerax=int64#7
- # asm 2: mov <squarer4=%r11,>squarerax=%rax
- mov %r11,%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: squarer4 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer4=int64#9
- # asm 2: mov <squarerax=%rax,>squarer4=%r11
- mov %rax,%r11
- # qhasm: squarerax = squarer5
- # asm 1: mov <squarer5=int64#10,>squarerax=int64#7
- # asm 2: mov <squarer5=%r12,>squarerax=%rax
- mov %r12,%rax
- # qhasm: squarer5 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer5=int64#10
- # asm 2: mov <squarerdx=%rdx,>squarer5=%r12
- mov %rdx,%r12
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer5 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer5=int64#10
- # asm 2: add <squarerax=%rax,<squarer5=%r12
- add %rax,%r12
- # qhasm: squarerax = squarer6
- # asm 1: mov <squarer6=int64#11,>squarerax=int64#7
- # asm 2: mov <squarer6=%r13,>squarerax=%rax
- mov %r13,%rax
- # qhasm: squarer6 = 0
- # asm 1: mov $0,>squarer6=int64#11
- # asm 2: mov $0,>squarer6=%r13
- mov $0,%r13
- # qhasm: squarer6 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer6=int64#11
- # asm 2: adc <squarerdx=%rdx,<squarer6=%r13
- adc %rdx,%r13
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarerax = squarer7
- # asm 1: mov <squarer7=int64#4,>squarerax=int64#7
- # asm 2: mov <squarer7=%rcx,>squarerax=%rax
- mov %rcx,%rax
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer7 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer7=int64#4
- # asm 2: add <squarerax=%rax,<squarer7=%rcx
- add %rax,%rcx
- # qhasm: squarer8 = 0
- # asm 1: mov $0,>squarer8=int64#7
- # asm 2: mov $0,>squarer8=%rax
- mov $0,%rax
- # qhasm: squarer8 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer8=int64#7
- # asm 2: adc <squarerdx=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: carry? b0 += squarer4
- # asm 1: add <squarer4=int64#9,<b0=int64#12
- # asm 2: add <squarer4=%r11,<b0=%r14
- add %r11,%r14
- # qhasm: carry? b1 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<b1=int64#5
- # asm 2: adc <squarer5=%r12,<b1=%r8
- adc %r12,%r8
- # qhasm: carry? b2 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<b2=int64#6
- # asm 2: adc <squarer6=%r13,<b2=%r9
- adc %r13,%r9
- # qhasm: carry? b3 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<b3=int64#8
- # asm 2: adc <squarer7=%rcx,<b3=%r10
- adc %rcx,%r10
- # qhasm: squarezero = 0
- # asm 1: mov $0,>squarezero=int64#3
- # asm 2: mov $0,>squarezero=%rdx
- mov $0,%rdx
- # qhasm: squarer8 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarer8=int64#7
- # asm 2: adc <squarezero=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: squarer8 *= 38
- # asm 1: imulq $38,<squarer8=int64#7,>squarer8=int64#4
- # asm 2: imulq $38,<squarer8=%rax,>squarer8=%rcx
- imulq $38,%rax,%rcx
- # qhasm: carry? b0 += squarer8
- # asm 1: add <squarer8=int64#4,<b0=int64#12
- # asm 2: add <squarer8=%rcx,<b0=%r14
- add %rcx,%r14
- # qhasm: carry? b1 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<b1=int64#5
- # asm 2: adc <squarezero=%rdx,<b1=%r8
- adc %rdx,%r8
- # qhasm: carry? b2 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<b2=int64#6
- # asm 2: adc <squarezero=%rdx,<b2=%r9
- adc %rdx,%r9
- # qhasm: carry? b3 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<b3=int64#8
- # asm 2: adc <squarezero=%rdx,<b3=%r10
- adc %rdx,%r10
- # qhasm: squarezero += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarezero=int64#3
- # asm 2: adc <squarezero=%rdx,<squarezero=%rdx
- adc %rdx,%rdx
- # qhasm: squarezero *= 38
- # asm 1: imulq $38,<squarezero=int64#3,>squarezero=int64#3
- # asm 2: imulq $38,<squarezero=%rdx,>squarezero=%rdx
- imulq $38,%rdx,%rdx
- # qhasm: b0 += squarezero
- # asm 1: add <squarezero=int64#3,<b0=int64#12
- # asm 2: add <squarezero=%rdx,<b0=%r14
- add %rdx,%r14
- # qhasm: b0_stack = b0
- # asm 1: movq <b0=int64#12,>b0_stack=stack64#12
- # asm 2: movq <b0=%r14,>b0_stack=88(%rsp)
- movq %r14,88(%rsp)
- # qhasm: b1_stack = b1
- # asm 1: movq <b1=int64#5,>b1_stack=stack64#13
- # asm 2: movq <b1=%r8,>b1_stack=96(%rsp)
- movq %r8,96(%rsp)
- # qhasm: b2_stack = b2
- # asm 1: movq <b2=int64#6,>b2_stack=stack64#14
- # asm 2: movq <b2=%r9,>b2_stack=104(%rsp)
- movq %r9,104(%rsp)
- # qhasm: b3_stack = b3
- # asm 1: movq <b3=int64#8,>b3_stack=stack64#15
- # asm 2: movq <b3=%r10,>b3_stack=112(%rsp)
- movq %r10,112(%rsp)
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 72)
- # asm 1: movq 72(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 72(<pp=%rsi),>squarerax=%rax
- movq 72(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64)
- # asm 1: mulq 64(<pp=int64#2)
- # asm 2: mulq 64(<pp=%rsi)
- mulq 64(%rsi)
- # qhasm: c1 = squarerax
- # asm 1: mov <squarerax=int64#7,>c1=int64#5
- # asm 2: mov <squarerax=%rax,>c1=%r8
- mov %rax,%r8
- # qhasm: c2 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>c2=int64#6
- # asm 2: mov <squarerdx=%rdx,>c2=%r9
- mov %rdx,%r9
- # qhasm: squarerax = *(uint64 *)(pp + 80)
- # asm 1: movq 80(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 80(<pp=%rsi),>squarerax=%rax
- movq 80(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72)
- # asm 1: mulq 72(<pp=int64#2)
- # asm 2: mulq 72(<pp=%rsi)
- mulq 72(%rsi)
- # qhasm: c3 = squarerax
- # asm 1: mov <squarerax=int64#7,>c3=int64#8
- # asm 2: mov <squarerax=%rax,>c3=%r10
- mov %rax,%r10
- # qhasm: squarer4 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer4=int64#9
- # asm 2: mov <squarerdx=%rdx,>squarer4=%r11
- mov %rdx,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 88)
- # asm 1: movq 88(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 88(<pp=%rsi),>squarerax=%rax
- movq 88(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 80)
- # asm 1: mulq 80(<pp=int64#2)
- # asm 2: mulq 80(<pp=%rsi)
- mulq 80(%rsi)
- # qhasm: squarer5 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer5=int64#10
- # asm 2: mov <squarerax=%rax,>squarer5=%r12
- mov %rax,%r12
- # qhasm: squarer6 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer6=int64#11
- # asm 2: mov <squarerdx=%rdx,>squarer6=%r13
- mov %rdx,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 80)
- # asm 1: movq 80(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 80(<pp=%rsi),>squarerax=%rax
- movq 80(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64)
- # asm 1: mulq 64(<pp=int64#2)
- # asm 2: mulq 64(<pp=%rsi)
- mulq 64(%rsi)
- # qhasm: carry? c2 += squarerax
- # asm 1: add <squarerax=int64#7,<c2=int64#6
- # asm 2: add <squarerax=%rax,<c2=%r9
- add %rax,%r9
- # qhasm: carry? c3 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<c3=int64#8
- # asm 2: adc <squarerdx=%rdx,<c3=%r10
- adc %rdx,%r10
- # qhasm: squarer4 += 0 + carry
- # asm 1: adc $0,<squarer4=int64#9
- # asm 2: adc $0,<squarer4=%r11
- adc $0,%r11
- # qhasm: squarerax = *(uint64 *)(pp + 88)
- # asm 1: movq 88(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 88(<pp=%rsi),>squarerax=%rax
- movq 88(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72)
- # asm 1: mulq 72(<pp=int64#2)
- # asm 2: mulq 72(<pp=%rsi)
- mulq 72(%rsi)
- # qhasm: carry? squarer4 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer4=int64#9
- # asm 2: add <squarerax=%rax,<squarer4=%r11
- add %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarerax = *(uint64 *)(pp + 88)
- # asm 1: movq 88(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 88(<pp=%rsi),>squarerax=%rax
- movq 88(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64)
- # asm 1: mulq 64(<pp=int64#2)
- # asm 2: mulq 64(<pp=%rsi)
- mulq 64(%rsi)
- # qhasm: carry? c3 += squarerax
- # asm 1: add <squarerax=int64#7,<c3=int64#8
- # asm 2: add <squarerax=%rax,<c3=%r10
- add %rax,%r10
- # qhasm: carry? squarer4 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer4=int64#9
- # asm 2: adc <squarerdx=%rdx,<squarer4=%r11
- adc %rdx,%r11
- # qhasm: carry? squarer5 += 0 + carry
- # asm 1: adc $0,<squarer5=int64#10
- # asm 2: adc $0,<squarer5=%r12
- adc $0,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: carry? c1 += c1
- # asm 1: add <c1=int64#5,<c1=int64#5
- # asm 2: add <c1=%r8,<c1=%r8
- add %r8,%r8
- # qhasm: carry? c2 += c2 + carry
- # asm 1: adc <c2=int64#6,<c2=int64#6
- # asm 2: adc <c2=%r9,<c2=%r9
- adc %r9,%r9
- # qhasm: carry? c3 += c3 + carry
- # asm 1: adc <c3=int64#8,<c3=int64#8
- # asm 2: adc <c3=%r10,<c3=%r10
- adc %r10,%r10
- # qhasm: carry? squarer4 += squarer4 + carry
- # asm 1: adc <squarer4=int64#9,<squarer4=int64#9
- # asm 2: adc <squarer4=%r11,<squarer4=%r11
- adc %r11,%r11
- # qhasm: carry? squarer5 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<squarer5=int64#10
- # asm 2: adc <squarer5=%r12,<squarer5=%r12
- adc %r12,%r12
- # qhasm: carry? squarer6 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<squarer6=int64#11
- # asm 2: adc <squarer6=%r13,<squarer6=%r13
- adc %r13,%r13
- # qhasm: squarer7 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<squarer7=int64#4
- # asm 2: adc <squarer7=%rcx,<squarer7=%rcx
- adc %rcx,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 64)
- # asm 1: movq 64(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 64(<pp=%rsi),>squarerax=%rax
- movq 64(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64)
- # asm 1: mulq 64(<pp=int64#2)
- # asm 2: mulq 64(<pp=%rsi)
- mulq 64(%rsi)
- # qhasm: c0 = squarerax
- # asm 1: mov <squarerax=int64#7,>c0=int64#12
- # asm 2: mov <squarerax=%rax,>c0=%r14
- mov %rax,%r14
- # qhasm: squaret1 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret1=int64#13
- # asm 2: mov <squarerdx=%rdx,>squaret1=%r15
- mov %rdx,%r15
- # qhasm: squarerax = *(uint64 *)(pp + 72)
- # asm 1: movq 72(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 72(<pp=%rsi),>squarerax=%rax
- movq 72(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72)
- # asm 1: mulq 72(<pp=int64#2)
- # asm 2: mulq 72(<pp=%rsi)
- mulq 72(%rsi)
- # qhasm: squaret2 = squarerax
- # asm 1: mov <squarerax=int64#7,>squaret2=int64#14
- # asm 2: mov <squarerax=%rax,>squaret2=%rbx
- mov %rax,%rbx
- # qhasm: squaret3 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret3=int64#15
- # asm 2: mov <squarerdx=%rdx,>squaret3=%rbp
- mov %rdx,%rbp
- # qhasm: squarerax = *(uint64 *)(pp + 80)
- # asm 1: movq 80(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 80(<pp=%rsi),>squarerax=%rax
- movq 80(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 80)
- # asm 1: mulq 80(<pp=int64#2)
- # asm 2: mulq 80(<pp=%rsi)
- mulq 80(%rsi)
- # qhasm: carry? c1 += squaret1
- # asm 1: add <squaret1=int64#13,<c1=int64#5
- # asm 2: add <squaret1=%r15,<c1=%r8
- add %r15,%r8
- # qhasm: carry? c2 += squaret2 + carry
- # asm 1: adc <squaret2=int64#14,<c2=int64#6
- # asm 2: adc <squaret2=%rbx,<c2=%r9
- adc %rbx,%r9
- # qhasm: carry? c3 += squaret3 + carry
- # asm 1: adc <squaret3=int64#15,<c3=int64#8
- # asm 2: adc <squaret3=%rbp,<c3=%r10
- adc %rbp,%r10
- # qhasm: carry? squarer4 += squarerax + carry
- # asm 1: adc <squarerax=int64#7,<squarer4=int64#9
- # asm 2: adc <squarerax=%rax,<squarer4=%r11
- adc %rax,%r11
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r12
- adc %rdx,%r12
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#11
- # asm 2: adc $0,<squarer6=%r13
- adc $0,%r13
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#4
- # asm 2: adc $0,<squarer7=%rcx
- adc $0,%rcx
- # qhasm: squarerax = *(uint64 *)(pp + 88)
- # asm 1: movq 88(<pp=int64#2),>squarerax=int64#7
- # asm 2: movq 88(<pp=%rsi),>squarerax=%rax
- movq 88(%rsi),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 88)
- # asm 1: mulq 88(<pp=int64#2)
- # asm 2: mulq 88(<pp=%rsi)
- mulq 88(%rsi)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: squarerax = squarer4
- # asm 1: mov <squarer4=int64#9,>squarerax=int64#7
- # asm 2: mov <squarer4=%r11,>squarerax=%rax
- mov %r11,%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: squarer4 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer4=int64#9
- # asm 2: mov <squarerax=%rax,>squarer4=%r11
- mov %rax,%r11
- # qhasm: squarerax = squarer5
- # asm 1: mov <squarer5=int64#10,>squarerax=int64#7
- # asm 2: mov <squarer5=%r12,>squarerax=%rax
- mov %r12,%rax
- # qhasm: squarer5 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer5=int64#10
- # asm 2: mov <squarerdx=%rdx,>squarer5=%r12
- mov %rdx,%r12
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer5 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer5=int64#10
- # asm 2: add <squarerax=%rax,<squarer5=%r12
- add %rax,%r12
- # qhasm: squarerax = squarer6
- # asm 1: mov <squarer6=int64#11,>squarerax=int64#7
- # asm 2: mov <squarer6=%r13,>squarerax=%rax
- mov %r13,%rax
- # qhasm: squarer6 = 0
- # asm 1: mov $0,>squarer6=int64#11
- # asm 2: mov $0,>squarer6=%r13
- mov $0,%r13
- # qhasm: squarer6 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer6=int64#11
- # asm 2: adc <squarerdx=%rdx,<squarer6=%r13
- adc %rdx,%r13
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#11
- # asm 2: add <squarerax=%rax,<squarer6=%r13
- add %rax,%r13
- # qhasm: squarerax = squarer7
- # asm 1: mov <squarer7=int64#4,>squarerax=int64#7
- # asm 2: mov <squarer7=%rcx,>squarerax=%rax
- mov %rcx,%rax
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#4
- # asm 2: mov $0,>squarer7=%rcx
- mov $0,%rcx
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#4
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rcx
- adc %rdx,%rcx
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer7 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer7=int64#4
- # asm 2: add <squarerax=%rax,<squarer7=%rcx
- add %rax,%rcx
- # qhasm: squarer8 = 0
- # asm 1: mov $0,>squarer8=int64#7
- # asm 2: mov $0,>squarer8=%rax
- mov $0,%rax
- # qhasm: squarer8 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer8=int64#7
- # asm 2: adc <squarerdx=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: carry? c0 += squarer4
- # asm 1: add <squarer4=int64#9,<c0=int64#12
- # asm 2: add <squarer4=%r11,<c0=%r14
- add %r11,%r14
- # qhasm: carry? c1 += squarer5 + carry
- # asm 1: adc <squarer5=int64#10,<c1=int64#5
- # asm 2: adc <squarer5=%r12,<c1=%r8
- adc %r12,%r8
- # qhasm: carry? c2 += squarer6 + carry
- # asm 1: adc <squarer6=int64#11,<c2=int64#6
- # asm 2: adc <squarer6=%r13,<c2=%r9
- adc %r13,%r9
- # qhasm: carry? c3 += squarer7 + carry
- # asm 1: adc <squarer7=int64#4,<c3=int64#8
- # asm 2: adc <squarer7=%rcx,<c3=%r10
- adc %rcx,%r10
- # qhasm: squarezero = 0
- # asm 1: mov $0,>squarezero=int64#3
- # asm 2: mov $0,>squarezero=%rdx
- mov $0,%rdx
- # qhasm: squarer8 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarer8=int64#7
- # asm 2: adc <squarezero=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: squarer8 *= 38
- # asm 1: imulq $38,<squarer8=int64#7,>squarer8=int64#4
- # asm 2: imulq $38,<squarer8=%rax,>squarer8=%rcx
- imulq $38,%rax,%rcx
- # qhasm: carry? c0 += squarer8
- # asm 1: add <squarer8=int64#4,<c0=int64#12
- # asm 2: add <squarer8=%rcx,<c0=%r14
- add %rcx,%r14
- # qhasm: carry? c1 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<c1=int64#5
- # asm 2: adc <squarezero=%rdx,<c1=%r8
- adc %rdx,%r8
- # qhasm: carry? c2 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<c2=int64#6
- # asm 2: adc <squarezero=%rdx,<c2=%r9
- adc %rdx,%r9
- # qhasm: carry? c3 += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<c3=int64#8
- # asm 2: adc <squarezero=%rdx,<c3=%r10
- adc %rdx,%r10
- # qhasm: squarezero += squarezero + carry
- # asm 1: adc <squarezero=int64#3,<squarezero=int64#3
- # asm 2: adc <squarezero=%rdx,<squarezero=%rdx
- adc %rdx,%rdx
- # qhasm: squarezero *= 38
- # asm 1: imulq $38,<squarezero=int64#3,>squarezero=int64#3
- # asm 2: imulq $38,<squarezero=%rdx,>squarezero=%rdx
- imulq $38,%rdx,%rdx
- # qhasm: c0 += squarezero
- # asm 1: add <squarezero=int64#3,<c0=int64#12
- # asm 2: add <squarezero=%rdx,<c0=%r14
- add %rdx,%r14
- # qhasm: carry? c0 += c0
- # asm 1: add <c0=int64#12,<c0=int64#12
- # asm 2: add <c0=%r14,<c0=%r14
- add %r14,%r14
- # qhasm: carry? c1 += c1 + carry
- # asm 1: adc <c1=int64#5,<c1=int64#5
- # asm 2: adc <c1=%r8,<c1=%r8
- adc %r8,%r8
- # qhasm: carry? c2 += c2 + carry
- # asm 1: adc <c2=int64#6,<c2=int64#6
- # asm 2: adc <c2=%r9,<c2=%r9
- adc %r9,%r9
- # qhasm: carry? c3 += c3 + carry
- # asm 1: adc <c3=int64#8,<c3=int64#8
- # asm 2: adc <c3=%r10,<c3=%r10
- adc %r10,%r10
- # qhasm: addt0 = 0
- # asm 1: mov $0,>addt0=int64#3
- # asm 2: mov $0,>addt0=%rdx
- mov $0,%rdx
- # qhasm: addt1 = 38
- # asm 1: mov $38,>addt1=int64#4
- # asm 2: mov $38,>addt1=%rcx
- mov $38,%rcx
- # qhasm: addt1 = addt0 if !carry
- # asm 1: cmovae <addt0=int64#3,<addt1=int64#4
- # asm 2: cmovae <addt0=%rdx,<addt1=%rcx
- cmovae %rdx,%rcx
- # qhasm: carry? c0 += addt1
- # asm 1: add <addt1=int64#4,<c0=int64#12
- # asm 2: add <addt1=%rcx,<c0=%r14
- add %rcx,%r14
- # qhasm: carry? c1 += addt0 + carry
- # asm 1: adc <addt0=int64#3,<c1=int64#5
- # asm 2: adc <addt0=%rdx,<c1=%r8
- adc %rdx,%r8
- # qhasm: carry? c2 += addt0 + carry
- # asm 1: adc <addt0=int64#3,<c2=int64#6
- # asm 2: adc <addt0=%rdx,<c2=%r9
- adc %rdx,%r9
- # qhasm: carry? c3 += addt0 + carry
- # asm 1: adc <addt0=int64#3,<c3=int64#8
- # asm 2: adc <addt0=%rdx,<c3=%r10
- adc %rdx,%r10
- # qhasm: addt0 = addt1 if carry
- # asm 1: cmovc <addt1=int64#4,<addt0=int64#3
- # asm 2: cmovc <addt1=%rcx,<addt0=%rdx
- cmovc %rcx,%rdx
- # qhasm: c0 += addt0
- # asm 1: add <addt0=int64#3,<c0=int64#12
- # asm 2: add <addt0=%rdx,<c0=%r14
- add %rdx,%r14
- # qhasm: c0_stack = c0
- # asm 1: movq <c0=int64#12,>c0_stack=stack64#16
- # asm 2: movq <c0=%r14,>c0_stack=120(%rsp)
- movq %r14,120(%rsp)
- # qhasm: c1_stack = c1
- # asm 1: movq <c1=int64#5,>c1_stack=stack64#17
- # asm 2: movq <c1=%r8,>c1_stack=128(%rsp)
- movq %r8,128(%rsp)
- # qhasm: c2_stack = c2
- # asm 1: movq <c2=int64#6,>c2_stack=stack64#18
- # asm 2: movq <c2=%r9,>c2_stack=136(%rsp)
- movq %r9,136(%rsp)
- # qhasm: c3_stack = c3
- # asm 1: movq <c3=int64#8,>c3_stack=stack64#19
- # asm 2: movq <c3=%r10,>c3_stack=144(%rsp)
- movq %r10,144(%rsp)
- # qhasm: d0 = 0
- # asm 1: mov $0,>d0=int64#3
- # asm 2: mov $0,>d0=%rdx
- mov $0,%rdx
- # qhasm: d1 = 0
- # asm 1: mov $0,>d1=int64#4
- # asm 2: mov $0,>d1=%rcx
- mov $0,%rcx
- # qhasm: d2 = 0
- # asm 1: mov $0,>d2=int64#5
- # asm 2: mov $0,>d2=%r8
- mov $0,%r8
- # qhasm: d3 = 0
- # asm 1: mov $0,>d3=int64#6
- # asm 2: mov $0,>d3=%r9
- mov $0,%r9
- # qhasm: carry? d0 -= a0_stack
- # asm 1: subq <a0_stack=stack64#8,<d0=int64#3
- # asm 2: subq <a0_stack=56(%rsp),<d0=%rdx
- subq 56(%rsp),%rdx
- # qhasm: carry? d1 -= a1_stack - carry
- # asm 1: sbbq <a1_stack=stack64#9,<d1=int64#4
- # asm 2: sbbq <a1_stack=64(%rsp),<d1=%rcx
- sbbq 64(%rsp),%rcx
- # qhasm: carry? d2 -= a2_stack - carry
- # asm 1: sbbq <a2_stack=stack64#10,<d2=int64#5
- # asm 2: sbbq <a2_stack=72(%rsp),<d2=%r8
- sbbq 72(%rsp),%r8
- # qhasm: carry? d3 -= a3_stack - carry
- # asm 1: sbbq <a3_stack=stack64#11,<d3=int64#6
- # asm 2: sbbq <a3_stack=80(%rsp),<d3=%r9
- sbbq 80(%rsp),%r9
- # qhasm: subt0 = 0
- # asm 1: mov $0,>subt0=int64#7
- # asm 2: mov $0,>subt0=%rax
- mov $0,%rax
- # qhasm: subt1 = 38
- # asm 1: mov $38,>subt1=int64#8
- # asm 2: mov $38,>subt1=%r10
- mov $38,%r10
- # qhasm: subt1 = subt0 if !carry
- # asm 1: cmovae <subt0=int64#7,<subt1=int64#8
- # asm 2: cmovae <subt0=%rax,<subt1=%r10
- cmovae %rax,%r10
- # qhasm: carry? d0 -= subt1
- # asm 1: sub <subt1=int64#8,<d0=int64#3
- # asm 2: sub <subt1=%r10,<d0=%rdx
- sub %r10,%rdx
- # qhasm: carry? d1 -= subt0 - carry
- # asm 1: sbb <subt0=int64#7,<d1=int64#4
- # asm 2: sbb <subt0=%rax,<d1=%rcx
- sbb %rax,%rcx
- # qhasm: carry? d2 -= subt0 - carry
- # asm 1: sbb <subt0=int64#7,<d2=int64#5
- # asm 2: sbb <subt0=%rax,<d2=%r8
- sbb %rax,%r8
- # qhasm: carry? d3 -= subt0 - carry
- # asm 1: sbb <subt0=int64#7,<d3=int64#6
- # asm 2: sbb <subt0=%rax,<d3=%r9
- sbb %rax,%r9
- # qhasm: subt0 = subt1 if carry
- # asm 1: cmovc <subt1=int64#8,<subt0=int64#7
- # asm 2: cmovc <subt1=%r10,<subt0=%rax
- cmovc %r10,%rax
- # qhasm: d0 -= subt0
- # asm 1: sub <subt0=int64#7,<d0=int64#3
- # asm 2: sub <subt0=%rax,<d0=%rdx
- sub %rax,%rdx
- # qhasm: d0_stack = d0
- # asm 1: movq <d0=int64#3,>d0_stack=stack64#8
- # asm 2: movq <d0=%rdx,>d0_stack=56(%rsp)
- movq %rdx,56(%rsp)
- # qhasm: d1_stack = d1
- # asm 1: movq <d1=int64#4,>d1_stack=stack64#9
- # asm 2: movq <d1=%rcx,>d1_stack=64(%rsp)
- movq %rcx,64(%rsp)
- # qhasm: d2_stack = d2
- # asm 1: movq <d2=int64#5,>d2_stack=stack64#10
- # asm 2: movq <d2=%r8,>d2_stack=72(%rsp)
- movq %r8,72(%rsp)
- # qhasm: d3_stack = d3
- # asm 1: movq <d3=int64#6,>d3_stack=stack64#11
- # asm 2: movq <d3=%r9,>d3_stack=80(%rsp)
- movq %r9,80(%rsp)
- # qhasm: e0 = 0
- # asm 1: mov $0,>e0=int64#7
- # asm 2: mov $0,>e0=%rax
- mov $0,%rax
- # qhasm: e1 = 0
- # asm 1: mov $0,>e1=int64#8
- # asm 2: mov $0,>e1=%r10
- mov $0,%r10
- # qhasm: e2 = 0
- # asm 1: mov $0,>e2=int64#9
- # asm 2: mov $0,>e2=%r11
- mov $0,%r11
- # qhasm: e3 = 0
- # asm 1: mov $0,>e3=int64#10
- # asm 2: mov $0,>e3=%r12
- mov $0,%r12
- # qhasm: carry? e0 -= b0_stack
- # asm 1: subq <b0_stack=stack64#12,<e0=int64#7
- # asm 2: subq <b0_stack=88(%rsp),<e0=%rax
- subq 88(%rsp),%rax
- # qhasm: carry? e1 -= b1_stack - carry
- # asm 1: sbbq <b1_stack=stack64#13,<e1=int64#8
- # asm 2: sbbq <b1_stack=96(%rsp),<e1=%r10
- sbbq 96(%rsp),%r10
- # qhasm: carry? e2 -= b2_stack - carry
- # asm 1: sbbq <b2_stack=stack64#14,<e2=int64#9
- # asm 2: sbbq <b2_stack=104(%rsp),<e2=%r11
- sbbq 104(%rsp),%r11
- # qhasm: carry? e3 -= b3_stack - carry
- # asm 1: sbbq <b3_stack=stack64#15,<e3=int64#10
- # asm 2: sbbq <b3_stack=112(%rsp),<e3=%r12
- sbbq 112(%rsp),%r12
- # qhasm: subt0 = 0
- # asm 1: mov $0,>subt0=int64#11
- # asm 2: mov $0,>subt0=%r13
- mov $0,%r13
- # qhasm: subt1 = 38
- # asm 1: mov $38,>subt1=int64#12
- # asm 2: mov $38,>subt1=%r14
- mov $38,%r14
- # qhasm: subt1 = subt0 if !carry
- # asm 1: cmovae <subt0=int64#11,<subt1=int64#12
- # asm 2: cmovae <subt0=%r13,<subt1=%r14
- cmovae %r13,%r14
- # qhasm: carry? e0 -= subt1
- # asm 1: sub <subt1=int64#12,<e0=int64#7
- # asm 2: sub <subt1=%r14,<e0=%rax
- sub %r14,%rax
- # qhasm: carry? e1 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<e1=int64#8
- # asm 2: sbb <subt0=%r13,<e1=%r10
- sbb %r13,%r10
- # qhasm: carry? e2 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<e2=int64#9
- # asm 2: sbb <subt0=%r13,<e2=%r11
- sbb %r13,%r11
- # qhasm: carry? e3 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<e3=int64#10
- # asm 2: sbb <subt0=%r13,<e3=%r12
- sbb %r13,%r12
- # qhasm: subt0 = subt1 if carry
- # asm 1: cmovc <subt1=int64#12,<subt0=int64#11
- # asm 2: cmovc <subt1=%r14,<subt0=%r13
- cmovc %r14,%r13
- # qhasm: e0 -= subt0
- # asm 1: sub <subt0=int64#11,<e0=int64#7
- # asm 2: sub <subt0=%r13,<e0=%rax
- sub %r13,%rax
- # qhasm: e0_stack = e0
- # asm 1: movq <e0=int64#7,>e0_stack=stack64#20
- # asm 2: movq <e0=%rax,>e0_stack=152(%rsp)
- movq %rax,152(%rsp)
- # qhasm: e1_stack = e1
- # asm 1: movq <e1=int64#8,>e1_stack=stack64#21
- # asm 2: movq <e1=%r10,>e1_stack=160(%rsp)
- movq %r10,160(%rsp)
- # qhasm: e2_stack = e2
- # asm 1: movq <e2=int64#9,>e2_stack=stack64#22
- # asm 2: movq <e2=%r11,>e2_stack=168(%rsp)
- movq %r11,168(%rsp)
- # qhasm: e3_stack = e3
- # asm 1: movq <e3=int64#10,>e3_stack=stack64#23
- # asm 2: movq <e3=%r12,>e3_stack=176(%rsp)
- movq %r12,176(%rsp)
- # qhasm: rz0 = d0
- # asm 1: mov <d0=int64#3,>rz0=int64#7
- # asm 2: mov <d0=%rdx,>rz0=%rax
- mov %rdx,%rax
- # qhasm: rz1 = d1
- # asm 1: mov <d1=int64#4,>rz1=int64#8
- # asm 2: mov <d1=%rcx,>rz1=%r10
- mov %rcx,%r10
- # qhasm: rz2 = d2
- # asm 1: mov <d2=int64#5,>rz2=int64#9
- # asm 2: mov <d2=%r8,>rz2=%r11
- mov %r8,%r11
- # qhasm: rz3 = d3
- # asm 1: mov <d3=int64#6,>rz3=int64#10
- # asm 2: mov <d3=%r9,>rz3=%r12
- mov %r9,%r12
- # qhasm: carry? rz0 += b0_stack
- # asm 1: addq <b0_stack=stack64#12,<rz0=int64#7
- # asm 2: addq <b0_stack=88(%rsp),<rz0=%rax
- addq 88(%rsp),%rax
- # qhasm: carry? rz1 += b1_stack + carry
- # asm 1: adcq <b1_stack=stack64#13,<rz1=int64#8
- # asm 2: adcq <b1_stack=96(%rsp),<rz1=%r10
- adcq 96(%rsp),%r10
- # qhasm: carry? rz2 += b2_stack + carry
- # asm 1: adcq <b2_stack=stack64#14,<rz2=int64#9
- # asm 2: adcq <b2_stack=104(%rsp),<rz2=%r11
- adcq 104(%rsp),%r11
- # qhasm: carry? rz3 += b3_stack + carry
- # asm 1: adcq <b3_stack=stack64#15,<rz3=int64#10
- # asm 2: adcq <b3_stack=112(%rsp),<rz3=%r12
- adcq 112(%rsp),%r12
- # qhasm: addt0 = 0
- # asm 1: mov $0,>addt0=int64#11
- # asm 2: mov $0,>addt0=%r13
- mov $0,%r13
- # qhasm: addt1 = 38
- # asm 1: mov $38,>addt1=int64#12
- # asm 2: mov $38,>addt1=%r14
- mov $38,%r14
- # qhasm: addt1 = addt0 if !carry
- # asm 1: cmovae <addt0=int64#11,<addt1=int64#12
- # asm 2: cmovae <addt0=%r13,<addt1=%r14
- cmovae %r13,%r14
- # qhasm: carry? rz0 += addt1
- # asm 1: add <addt1=int64#12,<rz0=int64#7
- # asm 2: add <addt1=%r14,<rz0=%rax
- add %r14,%rax
- # qhasm: carry? rz1 += addt0 + carry
- # asm 1: adc <addt0=int64#11,<rz1=int64#8
- # asm 2: adc <addt0=%r13,<rz1=%r10
- adc %r13,%r10
- # qhasm: carry? rz2 += addt0 + carry
- # asm 1: adc <addt0=int64#11,<rz2=int64#9
- # asm 2: adc <addt0=%r13,<rz2=%r11
- adc %r13,%r11
- # qhasm: carry? rz3 += addt0 + carry
- # asm 1: adc <addt0=int64#11,<rz3=int64#10
- # asm 2: adc <addt0=%r13,<rz3=%r12
- adc %r13,%r12
- # qhasm: addt0 = addt1 if carry
- # asm 1: cmovc <addt1=int64#12,<addt0=int64#11
- # asm 2: cmovc <addt1=%r14,<addt0=%r13
- cmovc %r14,%r13
- # qhasm: rz0 += addt0
- # asm 1: add <addt0=int64#11,<rz0=int64#7
- # asm 2: add <addt0=%r13,<rz0=%rax
- add %r13,%rax
- # qhasm: *(uint64 *) (rp + 32) = rz0
- # asm 1: movq <rz0=int64#7,32(<rp=int64#1)
- # asm 2: movq <rz0=%rax,32(<rp=%rdi)
- movq %rax,32(%rdi)
- # qhasm: *(uint64 *) (rp + 40) = rz1
- # asm 1: movq <rz1=int64#8,40(<rp=int64#1)
- # asm 2: movq <rz1=%r10,40(<rp=%rdi)
- movq %r10,40(%rdi)
- # qhasm: *(uint64 *) (rp + 48) = rz2
- # asm 1: movq <rz2=int64#9,48(<rp=int64#1)
- # asm 2: movq <rz2=%r11,48(<rp=%rdi)
- movq %r11,48(%rdi)
- # qhasm: *(uint64 *) (rp + 56) = rz3
- # asm 1: movq <rz3=int64#10,56(<rp=int64#1)
- # asm 2: movq <rz3=%r12,56(<rp=%rdi)
- movq %r12,56(%rdi)
- # qhasm: carry? d0 -= b0_stack
- # asm 1: subq <b0_stack=stack64#12,<d0=int64#3
- # asm 2: subq <b0_stack=88(%rsp),<d0=%rdx
- subq 88(%rsp),%rdx
- # qhasm: carry? d1 -= b1_stack - carry
- # asm 1: sbbq <b1_stack=stack64#13,<d1=int64#4
- # asm 2: sbbq <b1_stack=96(%rsp),<d1=%rcx
- sbbq 96(%rsp),%rcx
- # qhasm: carry? d2 -= b2_stack - carry
- # asm 1: sbbq <b2_stack=stack64#14,<d2=int64#5
- # asm 2: sbbq <b2_stack=104(%rsp),<d2=%r8
- sbbq 104(%rsp),%r8
- # qhasm: carry? d3 -= b3_stack - carry
- # asm 1: sbbq <b3_stack=stack64#15,<d3=int64#6
- # asm 2: sbbq <b3_stack=112(%rsp),<d3=%r9
- sbbq 112(%rsp),%r9
- # qhasm: subt0 = 0
- # asm 1: mov $0,>subt0=int64#11
- # asm 2: mov $0,>subt0=%r13
- mov $0,%r13
- # qhasm: subt1 = 38
- # asm 1: mov $38,>subt1=int64#12
- # asm 2: mov $38,>subt1=%r14
- mov $38,%r14
- # qhasm: subt1 = subt0 if !carry
- # asm 1: cmovae <subt0=int64#11,<subt1=int64#12
- # asm 2: cmovae <subt0=%r13,<subt1=%r14
- cmovae %r13,%r14
- # qhasm: carry? d0 -= subt1
- # asm 1: sub <subt1=int64#12,<d0=int64#3
- # asm 2: sub <subt1=%r14,<d0=%rdx
- sub %r14,%rdx
- # qhasm: carry? d1 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<d1=int64#4
- # asm 2: sbb <subt0=%r13,<d1=%rcx
- sbb %r13,%rcx
- # qhasm: carry? d2 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<d2=int64#5
- # asm 2: sbb <subt0=%r13,<d2=%r8
- sbb %r13,%r8
- # qhasm: carry? d3 -= subt0 - carry
- # asm 1: sbb <subt0=int64#11,<d3=int64#6
- # asm 2: sbb <subt0=%r13,<d3=%r9
- sbb %r13,%r9
- # qhasm: subt0 = subt1 if carry
- # asm 1: cmovc <subt1=int64#12,<subt0=int64#11
- # asm 2: cmovc <subt1=%r14,<subt0=%r13
- cmovc %r14,%r13
- # qhasm: d0 -= subt0
- # asm 1: sub <subt0=int64#11,<d0=int64#3
- # asm 2: sub <subt0=%r13,<d0=%rdx
- sub %r13,%rdx
- # qhasm: *(uint64 *)(rp + 64) = d0
- # asm 1: movq <d0=int64#3,64(<rp=int64#1)
- # asm 2: movq <d0=%rdx,64(<rp=%rdi)
- movq %rdx,64(%rdi)
- # qhasm: *(uint64 *)(rp + 72) = d1
- # asm 1: movq <d1=int64#4,72(<rp=int64#1)
- # asm 2: movq <d1=%rcx,72(<rp=%rdi)
- movq %rcx,72(%rdi)
- # qhasm: *(uint64 *)(rp + 80) = d2
- # asm 1: movq <d2=int64#5,80(<rp=int64#1)
- # asm 2: movq <d2=%r8,80(<rp=%rdi)
- movq %r8,80(%rdi)
- # qhasm: *(uint64 *)(rp + 88) = d3
- # asm 1: movq <d3=int64#6,88(<rp=int64#1)
- # asm 2: movq <d3=%r9,88(<rp=%rdi)
- movq %r9,88(%rdi)
- # qhasm: carry? rz0 -= c0_stack
- # asm 1: subq <c0_stack=stack64#16,<rz0=int64#7
- # asm 2: subq <c0_stack=120(%rsp),<rz0=%rax
- subq 120(%rsp),%rax
- # qhasm: carry? rz1 -= c1_stack - carry
- # asm 1: sbbq <c1_stack=stack64#17,<rz1=int64#8
- # asm 2: sbbq <c1_stack=128(%rsp),<rz1=%r10
- sbbq 128(%rsp),%r10
- # qhasm: carry? rz2 -= c2_stack - carry
- # asm 1: sbbq <c2_stack=stack64#18,<rz2=int64#9
- # asm 2: sbbq <c2_stack=136(%rsp),<rz2=%r11
- sbbq 136(%rsp),%r11
- # qhasm: carry? rz3 -= c3_stack - carry
- # asm 1: sbbq <c3_stack=stack64#19,<rz3=int64#10
- # asm 2: sbbq <c3_stack=144(%rsp),<rz3=%r12
- sbbq 144(%rsp),%r12
- # qhasm: subt0 = 0
- # asm 1: mov $0,>subt0=int64#3
- # asm 2: mov $0,>subt0=%rdx
- mov $0,%rdx
- # qhasm: subt1 = 38
- # asm 1: mov $38,>subt1=int64#4
- # asm 2: mov $38,>subt1=%rcx
- mov $38,%rcx
- # qhasm: subt1 = subt0 if !carry
- # asm 1: cmovae <subt0=int64#3,<subt1=int64#4
- # asm 2: cmovae <subt0=%rdx,<subt1=%rcx
- cmovae %rdx,%rcx
- # qhasm: carry? rz0 -= subt1
- # asm 1: sub <subt1=int64#4,<rz0=int64#7
- # asm 2: sub <subt1=%rcx,<rz0=%rax
- sub %rcx,%rax
- # qhasm: carry? rz1 -= subt0 - carry
- # asm 1: sbb <subt0=int64#3,<rz1=int64#8
- # asm 2: sbb <subt0=%rdx,<rz1=%r10
- sbb %rdx,%r10
- # qhasm: carry? rz2 -= subt0 - carry
- # asm 1: sbb <subt0=int64#3,<rz2=int64#9
- # asm 2: sbb <subt0=%rdx,<rz2=%r11
- sbb %rdx,%r11
- # qhasm: carry? rz3 -= subt0 - carry
- # asm 1: sbb <subt0=int64#3,<rz3=int64#10
- # asm 2: sbb <subt0=%rdx,<rz3=%r12
- sbb %rdx,%r12
- # qhasm: subt0 = subt1 if carry
- # asm 1: cmovc <subt1=int64#4,<subt0=int64#3
- # asm 2: cmovc <subt1=%rcx,<subt0=%rdx
- cmovc %rcx,%rdx
- # qhasm: rz0 -= subt0
- # asm 1: sub <subt0=int64#3,<rz0=int64#7
- # asm 2: sub <subt0=%rdx,<rz0=%rax
- sub %rdx,%rax
- # qhasm: *(uint64 *) (rp + 96) = rz0
- # asm 1: movq <rz0=int64#7,96(<rp=int64#1)
- # asm 2: movq <rz0=%rax,96(<rp=%rdi)
- movq %rax,96(%rdi)
- # qhasm: *(uint64 *) (rp + 104) = rz1
- # asm 1: movq <rz1=int64#8,104(<rp=int64#1)
- # asm 2: movq <rz1=%r10,104(<rp=%rdi)
- movq %r10,104(%rdi)
- # qhasm: *(uint64 *) (rp + 112) = rz2
- # asm 1: movq <rz2=int64#9,112(<rp=int64#1)
- # asm 2: movq <rz2=%r11,112(<rp=%rdi)
- movq %r11,112(%rdi)
- # qhasm: *(uint64 *) (rp + 120) = rz3
- # asm 1: movq <rz3=int64#10,120(<rp=int64#1)
- # asm 2: movq <rz3=%r12,120(<rp=%rdi)
- movq %r12,120(%rdi)
- # qhasm: rx0 = *(uint64 *)(pp + 0)
- # asm 1: movq 0(<pp=int64#2),>rx0=int64#3
- # asm 2: movq 0(<pp=%rsi),>rx0=%rdx
- movq 0(%rsi),%rdx
- # qhasm: rx1 = *(uint64 *)(pp + 8)
- # asm 1: movq 8(<pp=int64#2),>rx1=int64#4
- # asm 2: movq 8(<pp=%rsi),>rx1=%rcx
- movq 8(%rsi),%rcx
- # qhasm: rx2 = *(uint64 *)(pp + 16)
- # asm 1: movq 16(<pp=int64#2),>rx2=int64#5
- # asm 2: movq 16(<pp=%rsi),>rx2=%r8
- movq 16(%rsi),%r8
- # qhasm: rx3 = *(uint64 *)(pp + 24)
- # asm 1: movq 24(<pp=int64#2),>rx3=int64#6
- # asm 2: movq 24(<pp=%rsi),>rx3=%r9
- movq 24(%rsi),%r9
- # qhasm: carry? rx0 += *(uint64 *)(pp + 32)
- # asm 1: addq 32(<pp=int64#2),<rx0=int64#3
- # asm 2: addq 32(<pp=%rsi),<rx0=%rdx
- addq 32(%rsi),%rdx
- # qhasm: carry? rx1 += *(uint64 *)(pp + 40) + carry
- # asm 1: adcq 40(<pp=int64#2),<rx1=int64#4
- # asm 2: adcq 40(<pp=%rsi),<rx1=%rcx
- adcq 40(%rsi),%rcx
- # qhasm: carry? rx2 += *(uint64 *)(pp + 48) + carry
- # asm 1: adcq 48(<pp=int64#2),<rx2=int64#5
- # asm 2: adcq 48(<pp=%rsi),<rx2=%r8
- adcq 48(%rsi),%r8
- # qhasm: carry? rx3 += *(uint64 *)(pp + 56) + carry
- # asm 1: adcq 56(<pp=int64#2),<rx3=int64#6
- # asm 2: adcq 56(<pp=%rsi),<rx3=%r9
- adcq 56(%rsi),%r9
- # qhasm: addt0 = 0
- # asm 1: mov $0,>addt0=int64#2
- # asm 2: mov $0,>addt0=%rsi
- mov $0,%rsi
- # qhasm: addt1 = 38
- # asm 1: mov $38,>addt1=int64#7
- # asm 2: mov $38,>addt1=%rax
- mov $38,%rax
- # qhasm: addt1 = addt0 if !carry
- # asm 1: cmovae <addt0=int64#2,<addt1=int64#7
- # asm 2: cmovae <addt0=%rsi,<addt1=%rax
- cmovae %rsi,%rax
- # qhasm: carry? rx0 += addt1
- # asm 1: add <addt1=int64#7,<rx0=int64#3
- # asm 2: add <addt1=%rax,<rx0=%rdx
- add %rax,%rdx
- # qhasm: carry? rx1 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx1=int64#4
- # asm 2: adc <addt0=%rsi,<rx1=%rcx
- adc %rsi,%rcx
- # qhasm: carry? rx2 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx2=int64#5
- # asm 2: adc <addt0=%rsi,<rx2=%r8
- adc %rsi,%r8
- # qhasm: carry? rx3 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx3=int64#6
- # asm 2: adc <addt0=%rsi,<rx3=%r9
- adc %rsi,%r9
- # qhasm: addt0 = addt1 if carry
- # asm 1: cmovc <addt1=int64#7,<addt0=int64#2
- # asm 2: cmovc <addt1=%rax,<addt0=%rsi
- cmovc %rax,%rsi
- # qhasm: rx0 += addt0
- # asm 1: add <addt0=int64#2,<rx0=int64#3
- # asm 2: add <addt0=%rsi,<rx0=%rdx
- add %rsi,%rdx
- # qhasm: rx0_stack = rx0
- # asm 1: movq <rx0=int64#3,>rx0_stack=stack64#12
- # asm 2: movq <rx0=%rdx,>rx0_stack=88(%rsp)
- movq %rdx,88(%rsp)
- # qhasm: rx1_stack = rx1
- # asm 1: movq <rx1=int64#4,>rx1_stack=stack64#13
- # asm 2: movq <rx1=%rcx,>rx1_stack=96(%rsp)
- movq %rcx,96(%rsp)
- # qhasm: rx2_stack = rx2
- # asm 1: movq <rx2=int64#5,>rx2_stack=stack64#14
- # asm 2: movq <rx2=%r8,>rx2_stack=104(%rsp)
- movq %r8,104(%rsp)
- # qhasm: rx3_stack = rx3
- # asm 1: movq <rx3=int64#6,>rx3_stack=stack64#15
- # asm 2: movq <rx3=%r9,>rx3_stack=112(%rsp)
- movq %r9,112(%rsp)
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#2
- # asm 2: mov $0,>squarer7=%rsi
- mov $0,%rsi
- # qhasm: squarerax = rx1_stack
- # asm 1: movq <rx1_stack=stack64#13,>squarerax=int64#7
- # asm 2: movq <rx1_stack=96(%rsp),>squarerax=%rax
- movq 96(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack
- # asm 1: mulq <rx0_stack=stack64#12
- # asm 2: mulq <rx0_stack=88(%rsp)
- mulq 88(%rsp)
- # qhasm: rx1 = squarerax
- # asm 1: mov <squarerax=int64#7,>rx1=int64#4
- # asm 2: mov <squarerax=%rax,>rx1=%rcx
- mov %rax,%rcx
- # qhasm: rx2 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>rx2=int64#5
- # asm 2: mov <squarerdx=%rdx,>rx2=%r8
- mov %rdx,%r8
- # qhasm: squarerax = rx2_stack
- # asm 1: movq <rx2_stack=stack64#14,>squarerax=int64#7
- # asm 2: movq <rx2_stack=104(%rsp),>squarerax=%rax
- movq 104(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack
- # asm 1: mulq <rx1_stack=stack64#13
- # asm 2: mulq <rx1_stack=96(%rsp)
- mulq 96(%rsp)
- # qhasm: rx3 = squarerax
- # asm 1: mov <squarerax=int64#7,>rx3=int64#6
- # asm 2: mov <squarerax=%rax,>rx3=%r9
- mov %rax,%r9
- # qhasm: squarer4 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer4=int64#8
- # asm 2: mov <squarerdx=%rdx,>squarer4=%r10
- mov %rdx,%r10
- # qhasm: squarerax = rx3_stack
- # asm 1: movq <rx3_stack=stack64#15,>squarerax=int64#7
- # asm 2: movq <rx3_stack=112(%rsp),>squarerax=%rax
- movq 112(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx2_stack
- # asm 1: mulq <rx2_stack=stack64#14
- # asm 2: mulq <rx2_stack=104(%rsp)
- mulq 104(%rsp)
- # qhasm: squarer5 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer5=int64#9
- # asm 2: mov <squarerax=%rax,>squarer5=%r11
- mov %rax,%r11
- # qhasm: squarer6 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer6=int64#10
- # asm 2: mov <squarerdx=%rdx,>squarer6=%r12
- mov %rdx,%r12
- # qhasm: squarerax = rx2_stack
- # asm 1: movq <rx2_stack=stack64#14,>squarerax=int64#7
- # asm 2: movq <rx2_stack=104(%rsp),>squarerax=%rax
- movq 104(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack
- # asm 1: mulq <rx0_stack=stack64#12
- # asm 2: mulq <rx0_stack=88(%rsp)
- mulq 88(%rsp)
- # qhasm: carry? rx2 += squarerax
- # asm 1: add <squarerax=int64#7,<rx2=int64#5
- # asm 2: add <squarerax=%rax,<rx2=%r8
- add %rax,%r8
- # qhasm: carry? rx3 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<rx3=int64#6
- # asm 2: adc <squarerdx=%rdx,<rx3=%r9
- adc %rdx,%r9
- # qhasm: squarer4 += 0 + carry
- # asm 1: adc $0,<squarer4=int64#8
- # asm 2: adc $0,<squarer4=%r10
- adc $0,%r10
- # qhasm: squarerax = rx3_stack
- # asm 1: movq <rx3_stack=stack64#15,>squarerax=int64#7
- # asm 2: movq <rx3_stack=112(%rsp),>squarerax=%rax
- movq 112(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack
- # asm 1: mulq <rx1_stack=stack64#13
- # asm 2: mulq <rx1_stack=96(%rsp)
- mulq 96(%rsp)
- # qhasm: carry? squarer4 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer4=int64#8
- # asm 2: add <squarerax=%rax,<squarer4=%r10
- add %rax,%r10
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#9
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r11
- adc %rdx,%r11
- # qhasm: squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#10
- # asm 2: adc $0,<squarer6=%r12
- adc $0,%r12
- # qhasm: squarerax = rx3_stack
- # asm 1: movq <rx3_stack=stack64#15,>squarerax=int64#7
- # asm 2: movq <rx3_stack=112(%rsp),>squarerax=%rax
- movq 112(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack
- # asm 1: mulq <rx0_stack=stack64#12
- # asm 2: mulq <rx0_stack=88(%rsp)
- mulq 88(%rsp)
- # qhasm: carry? rx3 += squarerax
- # asm 1: add <squarerax=int64#7,<rx3=int64#6
- # asm 2: add <squarerax=%rax,<rx3=%r9
- add %rax,%r9
- # qhasm: carry? squarer4 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer4=int64#8
- # asm 2: adc <squarerdx=%rdx,<squarer4=%r10
- adc %rdx,%r10
- # qhasm: carry? squarer5 += 0 + carry
- # asm 1: adc $0,<squarer5=int64#9
- # asm 2: adc $0,<squarer5=%r11
- adc $0,%r11
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#10
- # asm 2: adc $0,<squarer6=%r12
- adc $0,%r12
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#2
- # asm 2: adc $0,<squarer7=%rsi
- adc $0,%rsi
- # qhasm: carry? rx1 += rx1
- # asm 1: add <rx1=int64#4,<rx1=int64#4
- # asm 2: add <rx1=%rcx,<rx1=%rcx
- add %rcx,%rcx
- # qhasm: carry? rx2 += rx2 + carry
- # asm 1: adc <rx2=int64#5,<rx2=int64#5
- # asm 2: adc <rx2=%r8,<rx2=%r8
- adc %r8,%r8
- # qhasm: carry? rx3 += rx3 + carry
- # asm 1: adc <rx3=int64#6,<rx3=int64#6
- # asm 2: adc <rx3=%r9,<rx3=%r9
- adc %r9,%r9
- # qhasm: carry? squarer4 += squarer4 + carry
- # asm 1: adc <squarer4=int64#8,<squarer4=int64#8
- # asm 2: adc <squarer4=%r10,<squarer4=%r10
- adc %r10,%r10
- # qhasm: carry? squarer5 += squarer5 + carry
- # asm 1: adc <squarer5=int64#9,<squarer5=int64#9
- # asm 2: adc <squarer5=%r11,<squarer5=%r11
- adc %r11,%r11
- # qhasm: carry? squarer6 += squarer6 + carry
- # asm 1: adc <squarer6=int64#10,<squarer6=int64#10
- # asm 2: adc <squarer6=%r12,<squarer6=%r12
- adc %r12,%r12
- # qhasm: squarer7 += squarer7 + carry
- # asm 1: adc <squarer7=int64#2,<squarer7=int64#2
- # asm 2: adc <squarer7=%rsi,<squarer7=%rsi
- adc %rsi,%rsi
- # qhasm: squarerax = rx0_stack
- # asm 1: movq <rx0_stack=stack64#12,>squarerax=int64#7
- # asm 2: movq <rx0_stack=88(%rsp),>squarerax=%rax
- movq 88(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack
- # asm 1: mulq <rx0_stack=stack64#12
- # asm 2: mulq <rx0_stack=88(%rsp)
- mulq 88(%rsp)
- # qhasm: rx0 = squarerax
- # asm 1: mov <squarerax=int64#7,>rx0=int64#11
- # asm 2: mov <squarerax=%rax,>rx0=%r13
- mov %rax,%r13
- # qhasm: squaret1 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret1=int64#12
- # asm 2: mov <squarerdx=%rdx,>squaret1=%r14
- mov %rdx,%r14
- # qhasm: squarerax = rx1_stack
- # asm 1: movq <rx1_stack=stack64#13,>squarerax=int64#7
- # asm 2: movq <rx1_stack=96(%rsp),>squarerax=%rax
- movq 96(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack
- # asm 1: mulq <rx1_stack=stack64#13
- # asm 2: mulq <rx1_stack=96(%rsp)
- mulq 96(%rsp)
- # qhasm: squaret2 = squarerax
- # asm 1: mov <squarerax=int64#7,>squaret2=int64#13
- # asm 2: mov <squarerax=%rax,>squaret2=%r15
- mov %rax,%r15
- # qhasm: squaret3 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squaret3=int64#14
- # asm 2: mov <squarerdx=%rdx,>squaret3=%rbx
- mov %rdx,%rbx
- # qhasm: squarerax = rx2_stack
- # asm 1: movq <rx2_stack=stack64#14,>squarerax=int64#7
- # asm 2: movq <rx2_stack=104(%rsp),>squarerax=%rax
- movq 104(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx2_stack
- # asm 1: mulq <rx2_stack=stack64#14
- # asm 2: mulq <rx2_stack=104(%rsp)
- mulq 104(%rsp)
- # qhasm: carry? rx1 += squaret1
- # asm 1: add <squaret1=int64#12,<rx1=int64#4
- # asm 2: add <squaret1=%r14,<rx1=%rcx
- add %r14,%rcx
- # qhasm: carry? rx2 += squaret2 + carry
- # asm 1: adc <squaret2=int64#13,<rx2=int64#5
- # asm 2: adc <squaret2=%r15,<rx2=%r8
- adc %r15,%r8
- # qhasm: carry? rx3 += squaret3 + carry
- # asm 1: adc <squaret3=int64#14,<rx3=int64#6
- # asm 2: adc <squaret3=%rbx,<rx3=%r9
- adc %rbx,%r9
- # qhasm: carry? squarer4 += squarerax + carry
- # asm 1: adc <squarerax=int64#7,<squarer4=int64#8
- # asm 2: adc <squarerax=%rax,<squarer4=%r10
- adc %rax,%r10
- # qhasm: carry? squarer5 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer5=int64#9
- # asm 2: adc <squarerdx=%rdx,<squarer5=%r11
- adc %rdx,%r11
- # qhasm: carry? squarer6 += 0 + carry
- # asm 1: adc $0,<squarer6=int64#10
- # asm 2: adc $0,<squarer6=%r12
- adc $0,%r12
- # qhasm: squarer7 += 0 + carry
- # asm 1: adc $0,<squarer7=int64#2
- # asm 2: adc $0,<squarer7=%rsi
- adc $0,%rsi
- # qhasm: squarerax = rx3_stack
- # asm 1: movq <rx3_stack=stack64#15,>squarerax=int64#7
- # asm 2: movq <rx3_stack=112(%rsp),>squarerax=%rax
- movq 112(%rsp),%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * rx3_stack
- # asm 1: mulq <rx3_stack=stack64#15
- # asm 2: mulq <rx3_stack=112(%rsp)
- mulq 112(%rsp)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#10
- # asm 2: add <squarerax=%rax,<squarer6=%r12
- add %rax,%r12
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#2
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rsi
- adc %rdx,%rsi
- # qhasm: squarerax = squarer4
- # asm 1: mov <squarer4=int64#8,>squarerax=int64#7
- # asm 2: mov <squarer4=%r10,>squarerax=%rax
- mov %r10,%rax
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: squarer4 = squarerax
- # asm 1: mov <squarerax=int64#7,>squarer4=int64#8
- # asm 2: mov <squarerax=%rax,>squarer4=%r10
- mov %rax,%r10
- # qhasm: squarerax = squarer5
- # asm 1: mov <squarer5=int64#9,>squarerax=int64#7
- # asm 2: mov <squarer5=%r11,>squarerax=%rax
- mov %r11,%rax
- # qhasm: squarer5 = squarerdx
- # asm 1: mov <squarerdx=int64#3,>squarer5=int64#9
- # asm 2: mov <squarerdx=%rdx,>squarer5=%r11
- mov %rdx,%r11
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer5 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer5=int64#9
- # asm 2: add <squarerax=%rax,<squarer5=%r11
- add %rax,%r11
- # qhasm: squarerax = squarer6
- # asm 1: mov <squarer6=int64#10,>squarerax=int64#7
- # asm 2: mov <squarer6=%r12,>squarerax=%rax
- mov %r12,%rax
- # qhasm: squarer6 = 0
- # asm 1: mov $0,>squarer6=int64#10
- # asm 2: mov $0,>squarer6=%r12
- mov $0,%r12
- # qhasm: squarer6 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer6=int64#10
- # asm 2: adc <squarerdx=%rdx,<squarer6=%r12
- adc %rdx,%r12
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer6 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer6=int64#10
- # asm 2: add <squarerax=%rax,<squarer6=%r12
- add %rax,%r12
- # qhasm: squarerax = squarer7
- # asm 1: mov <squarer7=int64#2,>squarerax=int64#7
- # asm 2: mov <squarer7=%rsi,>squarerax=%rax
- mov %rsi,%rax
- # qhasm: squarer7 = 0
- # asm 1: mov $0,>squarer7=int64#2
- # asm 2: mov $0,>squarer7=%rsi
- mov $0,%rsi
- # qhasm: squarer7 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer7=int64#2
- # asm 2: adc <squarerdx=%rdx,<squarer7=%rsi
- adc %rdx,%rsi
- # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_NAMESPACE(38)
- mulq CRYPTO_NAMESPACE(38)(%rip)
- # qhasm: carry? squarer7 += squarerax
- # asm 1: add <squarerax=int64#7,<squarer7=int64#2
- # asm 2: add <squarerax=%rax,<squarer7=%rsi
- add %rax,%rsi
- # qhasm: squarer8 = 0
- # asm 1: mov $0,>squarer8=int64#7
- # asm 2: mov $0,>squarer8=%rax
- mov $0,%rax
- # qhasm: squarer8 += squarerdx + carry
- # asm 1: adc <squarerdx=int64#3,<squarer8=int64#7
- # asm 2: adc <squarerdx=%rdx,<squarer8=%rax
- adc %rdx,%rax
- # qhasm: carry? rx0 += squarer4
- # asm 1: add <squarer4=int64#8,<rx0=int64#11
- # asm 2: add <squarer4=%r10,<rx0=%r13
- add %r10,%r13
- # qhasm: carry? rx1 += squarer5 + carry
- # asm 1: adc <squarer5=int64#9,<rx1=int64#4
- # asm 2: adc <squarer5=%r11,<rx1=%rcx
- adc %r11,%rcx
- # qhasm: carry? rx2 += squarer6 + carry
- # asm 1: adc <squarer6=int64#10,<rx2=int64#5
- # asm 2: adc <squarer6=%r12,<rx2=%r8
- adc %r12,%r8
- # qhasm: carry? rx3 += squarer7 + carry
- # asm 1: adc <squarer7=int64#2,<rx3=int64#6
- # asm 2: adc <squarer7=%rsi,<rx3=%r9
- adc %rsi,%r9
- # qhasm: squarezero = 0
- # asm 1: mov $0,>squarezero=int64#2
- # asm 2: mov $0,>squarezero=%rsi
- mov $0,%rsi
- # qhasm: squarer8 += squarezero + carry
- # asm 1: adc <squarezero=int64#2,<squarer8=int64#7
- # asm 2: adc <squarezero=%rsi,<squarer8=%rax
- adc %rsi,%rax
- # qhasm: squarer8 *= 38
- # asm 1: imulq $38,<squarer8=int64#7,>squarer8=int64#3
- # asm 2: imulq $38,<squarer8=%rax,>squarer8=%rdx
- imulq $38,%rax,%rdx
- # qhasm: carry? rx0 += squarer8
- # asm 1: add <squarer8=int64#3,<rx0=int64#11
- # asm 2: add <squarer8=%rdx,<rx0=%r13
- add %rdx,%r13
- # qhasm: carry? rx1 += squarezero + carry
- # asm 1: adc <squarezero=int64#2,<rx1=int64#4
- # asm 2: adc <squarezero=%rsi,<rx1=%rcx
- adc %rsi,%rcx
- # qhasm: carry? rx2 += squarezero + carry
- # asm 1: adc <squarezero=int64#2,<rx2=int64#5
- # asm 2: adc <squarezero=%rsi,<rx2=%r8
- adc %rsi,%r8
- # qhasm: carry? rx3 += squarezero + carry
- # asm 1: adc <squarezero=int64#2,<rx3=int64#6
- # asm 2: adc <squarezero=%rsi,<rx3=%r9
- adc %rsi,%r9
- # qhasm: squarezero += squarezero + carry
- # asm 1: adc <squarezero=int64#2,<squarezero=int64#2
- # asm 2: adc <squarezero=%rsi,<squarezero=%rsi
- adc %rsi,%rsi
- # qhasm: squarezero *= 38
- # asm 1: imulq $38,<squarezero=int64#2,>squarezero=int64#2
- # asm 2: imulq $38,<squarezero=%rsi,>squarezero=%rsi
- imulq $38,%rsi,%rsi
- # qhasm: rx0 += squarezero
- # asm 1: add <squarezero=int64#2,<rx0=int64#11
- # asm 2: add <squarezero=%rsi,<rx0=%r13
- add %rsi,%r13
- # qhasm: carry? rx0 += d0_stack
- # asm 1: addq <d0_stack=stack64#8,<rx0=int64#11
- # asm 2: addq <d0_stack=56(%rsp),<rx0=%r13
- addq 56(%rsp),%r13
- # qhasm: carry? rx1 += d1_stack + carry
- # asm 1: adcq <d1_stack=stack64#9,<rx1=int64#4
- # asm 2: adcq <d1_stack=64(%rsp),<rx1=%rcx
- adcq 64(%rsp),%rcx
- # qhasm: carry? rx2 += d2_stack + carry
- # asm 1: adcq <d2_stack=stack64#10,<rx2=int64#5
- # asm 2: adcq <d2_stack=72(%rsp),<rx2=%r8
- adcq 72(%rsp),%r8
- # qhasm: carry? rx3 += d3_stack + carry
- # asm 1: adcq <d3_stack=stack64#11,<rx3=int64#6
- # asm 2: adcq <d3_stack=80(%rsp),<rx3=%r9
- adcq 80(%rsp),%r9
- # qhasm: addt0 = 0
- # asm 1: mov $0,>addt0=int64#2
- # asm 2: mov $0,>addt0=%rsi
- mov $0,%rsi
- # qhasm: addt1 = 38
- # asm 1: mov $38,>addt1=int64#3
- # asm 2: mov $38,>addt1=%rdx
- mov $38,%rdx
- # qhasm: addt1 = addt0 if !carry
- # asm 1: cmovae <addt0=int64#2,<addt1=int64#3
- # asm 2: cmovae <addt0=%rsi,<addt1=%rdx
- cmovae %rsi,%rdx
- # qhasm: carry? rx0 += addt1
- # asm 1: add <addt1=int64#3,<rx0=int64#11
- # asm 2: add <addt1=%rdx,<rx0=%r13
- add %rdx,%r13
- # qhasm: carry? rx1 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx1=int64#4
- # asm 2: adc <addt0=%rsi,<rx1=%rcx
- adc %rsi,%rcx
- # qhasm: carry? rx2 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx2=int64#5
- # asm 2: adc <addt0=%rsi,<rx2=%r8
- adc %rsi,%r8
- # qhasm: carry? rx3 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx3=int64#6
- # asm 2: adc <addt0=%rsi,<rx3=%r9
- adc %rsi,%r9
- # qhasm: addt0 = addt1 if carry
- # asm 1: cmovc <addt1=int64#3,<addt0=int64#2
- # asm 2: cmovc <addt1=%rdx,<addt0=%rsi
- cmovc %rdx,%rsi
- # qhasm: rx0 += addt0
- # asm 1: add <addt0=int64#2,<rx0=int64#11
- # asm 2: add <addt0=%rsi,<rx0=%r13
- add %rsi,%r13
- # qhasm: carry? rx0 += e0_stack
- # asm 1: addq <e0_stack=stack64#20,<rx0=int64#11
- # asm 2: addq <e0_stack=152(%rsp),<rx0=%r13
- addq 152(%rsp),%r13
- # qhasm: carry? rx1 += e1_stack + carry
- # asm 1: adcq <e1_stack=stack64#21,<rx1=int64#4
- # asm 2: adcq <e1_stack=160(%rsp),<rx1=%rcx
- adcq 160(%rsp),%rcx
- # qhasm: carry? rx2 += e2_stack + carry
- # asm 1: adcq <e2_stack=stack64#22,<rx2=int64#5
- # asm 2: adcq <e2_stack=168(%rsp),<rx2=%r8
- adcq 168(%rsp),%r8
- # qhasm: carry? rx3 += e3_stack + carry
- # asm 1: adcq <e3_stack=stack64#23,<rx3=int64#6
- # asm 2: adcq <e3_stack=176(%rsp),<rx3=%r9
- adcq 176(%rsp),%r9
- # qhasm: addt0 = 0
- # asm 1: mov $0,>addt0=int64#2
- # asm 2: mov $0,>addt0=%rsi
- mov $0,%rsi
- # qhasm: addt1 = 38
- # asm 1: mov $38,>addt1=int64#3
- # asm 2: mov $38,>addt1=%rdx
- mov $38,%rdx
- # qhasm: addt1 = addt0 if !carry
- # asm 1: cmovae <addt0=int64#2,<addt1=int64#3
- # asm 2: cmovae <addt0=%rsi,<addt1=%rdx
- cmovae %rsi,%rdx
- # qhasm: carry? rx0 += addt1
- # asm 1: add <addt1=int64#3,<rx0=int64#11
- # asm 2: add <addt1=%rdx,<rx0=%r13
- add %rdx,%r13
- # qhasm: carry? rx1 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx1=int64#4
- # asm 2: adc <addt0=%rsi,<rx1=%rcx
- adc %rsi,%rcx
- # qhasm: carry? rx2 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx2=int64#5
- # asm 2: adc <addt0=%rsi,<rx2=%r8
- adc %rsi,%r8
- # qhasm: carry? rx3 += addt0 + carry
- # asm 1: adc <addt0=int64#2,<rx3=int64#6
- # asm 2: adc <addt0=%rsi,<rx3=%r9
- adc %rsi,%r9
- # qhasm: addt0 = addt1 if carry
- # asm 1: cmovc <addt1=int64#3,<addt0=int64#2
- # asm 2: cmovc <addt1=%rdx,<addt0=%rsi
- cmovc %rdx,%rsi
- # qhasm: rx0 += addt0
- # asm 1: add <addt0=int64#2,<rx0=int64#11
- # asm 2: add <addt0=%rsi,<rx0=%r13
- add %rsi,%r13
- # qhasm: *(uint64 *)(rp + 0) = rx0
- # asm 1: movq <rx0=int64#11,0(<rp=int64#1)
- # asm 2: movq <rx0=%r13,0(<rp=%rdi)
- movq %r13,0(%rdi)
- # qhasm: *(uint64 *)(rp + 8) = rx1
- # asm 1: movq <rx1=int64#4,8(<rp=int64#1)
- # asm 2: movq <rx1=%rcx,8(<rp=%rdi)
- movq %rcx,8(%rdi)
- # qhasm: *(uint64 *)(rp + 16) = rx2
- # asm 1: movq <rx2=int64#5,16(<rp=int64#1)
- # asm 2: movq <rx2=%r8,16(<rp=%rdi)
- movq %r8,16(%rdi)
- # qhasm: *(uint64 *)(rp + 24) = rx3
- # asm 1: movq <rx3=int64#6,24(<rp=int64#1)
- # asm 2: movq <rx3=%r9,24(<rp=%rdi)
- movq %r9,24(%rdi)
- # qhasm: caller1 = caller1_stack
- # asm 1: movq <caller1_stack=stack64#1,>caller1=int64#9
- # asm 2: movq <caller1_stack=0(%rsp),>caller1=%r11
- movq 0(%rsp),%r11
- # qhasm: caller2 = caller2_stack
- # asm 1: movq <caller2_stack=stack64#2,>caller2=int64#10
- # asm 2: movq <caller2_stack=8(%rsp),>caller2=%r12
- movq 8(%rsp),%r12
- # qhasm: caller3 = caller3_stack
- # asm 1: movq <caller3_stack=stack64#3,>caller3=int64#11
- # asm 2: movq <caller3_stack=16(%rsp),>caller3=%r13
- movq 16(%rsp),%r13
- # qhasm: caller4 = caller4_stack
- # asm 1: movq <caller4_stack=stack64#4,>caller4=int64#12
- # asm 2: movq <caller4_stack=24(%rsp),>caller4=%r14
- movq 24(%rsp),%r14
- # qhasm: caller5 = caller5_stack
- # asm 1: movq <caller5_stack=stack64#5,>caller5=int64#13
- # asm 2: movq <caller5_stack=32(%rsp),>caller5=%r15
- movq 32(%rsp),%r15
- # qhasm: caller6 = caller6_stack
- # asm 1: movq <caller6_stack=stack64#6,>caller6=int64#14
- # asm 2: movq <caller6_stack=40(%rsp),>caller6=%rbx
- movq 40(%rsp),%rbx
- # qhasm: caller7 = caller7_stack
- # asm 1: movq <caller7_stack=stack64#7,>caller7=int64#15
- # asm 2: movq <caller7_stack=48(%rsp),>caller7=%rbp
- movq 48(%rsp),%rbp
- # qhasm: leave
- add %r11,%rsp
- mov %rdi,%rax
- mov %rsi,%rdx
- ret
|