opencl-c.h 786 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391
  1. //===--- opencl-c.h - OpenCL C language builtin function header -----------===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. #ifndef _OPENCL_H_
  10. #define _OPENCL_H_
  11. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12. #ifndef cl_khr_depth_images
  13. #define cl_khr_depth_images
  14. #endif //cl_khr_depth_images
  15. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  16. #if __OPENCL_C_VERSION__ < CL_VERSION_2_0
  17. #ifdef cl_khr_3d_image_writes
  18. #pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable
  19. #endif //cl_khr_3d_image_writes
  20. #endif //__OPENCL_C_VERSION__ < CL_VERSION_2_0
  21. #define __ovld __attribute__((overloadable))
  22. #define __conv __attribute__((convergent))
  23. // Optimizations
  24. #define __purefn __attribute__((pure))
  25. #define __cnfn __attribute__((const))
  26. // built-in scalar data types:
  27. /**
  28. * An unsigned 8-bit integer.
  29. */
  30. typedef unsigned char uchar;
  31. /**
  32. * An unsigned 16-bit integer.
  33. */
  34. typedef unsigned short ushort;
  35. /**
  36. * An unsigned 32-bit integer.
  37. */
  38. typedef unsigned int uint;
  39. /**
  40. * An unsigned 64-bit integer.
  41. */
  42. typedef unsigned long ulong;
  43. /**
  44. * The unsigned integer type of the result of the sizeof operator. This
  45. * is a 32-bit unsigned integer if CL_DEVICE_ADDRESS_BITS
  46. * defined in table 4.3 is 32-bits and is a 64-bit unsigned integer if
  47. * CL_DEVICE_ADDRESS_BITS is 64-bits.
  48. */
  49. typedef __SIZE_TYPE__ size_t;
  50. /**
  51. * A signed integer type that is the result of subtracting two pointers.
  52. * This is a 32-bit signed integer if CL_DEVICE_ADDRESS_BITS
  53. * defined in table 4.3 is 32-bits and is a 64-bit signed integer if
  54. * CL_DEVICE_ADDRESS_BITS is 64-bits.
  55. */
  56. typedef __PTRDIFF_TYPE__ ptrdiff_t;
  57. /**
  58. * A signed integer type with the property that any valid pointer to
  59. * void can be converted to this type, then converted back to pointer
  60. * to void, and the result will compare equal to the original pointer.
  61. */
  62. typedef __INTPTR_TYPE__ intptr_t;
  63. /**
  64. * An unsigned integer type with the property that any valid pointer to
  65. * void can be converted to this type, then converted back to pointer
  66. * to void, and the result will compare equal to the original pointer.
  67. */
  68. typedef __UINTPTR_TYPE__ uintptr_t;
  69. // built-in vector data types:
  70. typedef char char2 __attribute__((ext_vector_type(2)));
  71. typedef char char3 __attribute__((ext_vector_type(3)));
  72. typedef char char4 __attribute__((ext_vector_type(4)));
  73. typedef char char8 __attribute__((ext_vector_type(8)));
  74. typedef char char16 __attribute__((ext_vector_type(16)));
  75. typedef uchar uchar2 __attribute__((ext_vector_type(2)));
  76. typedef uchar uchar3 __attribute__((ext_vector_type(3)));
  77. typedef uchar uchar4 __attribute__((ext_vector_type(4)));
  78. typedef uchar uchar8 __attribute__((ext_vector_type(8)));
  79. typedef uchar uchar16 __attribute__((ext_vector_type(16)));
  80. typedef short short2 __attribute__((ext_vector_type(2)));
  81. typedef short short3 __attribute__((ext_vector_type(3)));
  82. typedef short short4 __attribute__((ext_vector_type(4)));
  83. typedef short short8 __attribute__((ext_vector_type(8)));
  84. typedef short short16 __attribute__((ext_vector_type(16)));
  85. typedef ushort ushort2 __attribute__((ext_vector_type(2)));
  86. typedef ushort ushort3 __attribute__((ext_vector_type(3)));
  87. typedef ushort ushort4 __attribute__((ext_vector_type(4)));
  88. typedef ushort ushort8 __attribute__((ext_vector_type(8)));
  89. typedef ushort ushort16 __attribute__((ext_vector_type(16)));
  90. typedef int int2 __attribute__((ext_vector_type(2)));
  91. typedef int int3 __attribute__((ext_vector_type(3)));
  92. typedef int int4 __attribute__((ext_vector_type(4)));
  93. typedef int int8 __attribute__((ext_vector_type(8)));
  94. typedef int int16 __attribute__((ext_vector_type(16)));
  95. typedef uint uint2 __attribute__((ext_vector_type(2)));
  96. typedef uint uint3 __attribute__((ext_vector_type(3)));
  97. typedef uint uint4 __attribute__((ext_vector_type(4)));
  98. typedef uint uint8 __attribute__((ext_vector_type(8)));
  99. typedef uint uint16 __attribute__((ext_vector_type(16)));
  100. typedef long long2 __attribute__((ext_vector_type(2)));
  101. typedef long long3 __attribute__((ext_vector_type(3)));
  102. typedef long long4 __attribute__((ext_vector_type(4)));
  103. typedef long long8 __attribute__((ext_vector_type(8)));
  104. typedef long long16 __attribute__((ext_vector_type(16)));
  105. typedef ulong ulong2 __attribute__((ext_vector_type(2)));
  106. typedef ulong ulong3 __attribute__((ext_vector_type(3)));
  107. typedef ulong ulong4 __attribute__((ext_vector_type(4)));
  108. typedef ulong ulong8 __attribute__((ext_vector_type(8)));
  109. typedef ulong ulong16 __attribute__((ext_vector_type(16)));
  110. typedef float float2 __attribute__((ext_vector_type(2)));
  111. typedef float float3 __attribute__((ext_vector_type(3)));
  112. typedef float float4 __attribute__((ext_vector_type(4)));
  113. typedef float float8 __attribute__((ext_vector_type(8)));
  114. typedef float float16 __attribute__((ext_vector_type(16)));
  115. #ifdef cl_khr_fp16
  116. #pragma OPENCL EXTENSION cl_khr_fp16 : enable
  117. typedef half half2 __attribute__((ext_vector_type(2)));
  118. typedef half half3 __attribute__((ext_vector_type(3)));
  119. typedef half half4 __attribute__((ext_vector_type(4)));
  120. typedef half half8 __attribute__((ext_vector_type(8)));
  121. typedef half half16 __attribute__((ext_vector_type(16)));
  122. #endif
  123. #ifdef cl_khr_fp64
  124. #if __OPENCL_C_VERSION__ < CL_VERSION_1_2
  125. #pragma OPENCL EXTENSION cl_khr_fp64 : enable
  126. #endif
  127. typedef double double2 __attribute__((ext_vector_type(2)));
  128. typedef double double3 __attribute__((ext_vector_type(3)));
  129. typedef double double4 __attribute__((ext_vector_type(4)));
  130. typedef double double8 __attribute__((ext_vector_type(8)));
  131. typedef double double16 __attribute__((ext_vector_type(16)));
  132. #endif
  133. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  134. #define NULL ((void*)0)
  135. #endif
  136. /**
  137. * Value of maximum non-infinite single-precision floating-point
  138. * number.
  139. */
  140. #define MAXFLOAT 0x1.fffffep127f
  141. /**
  142. * A positive float constant expression. HUGE_VALF evaluates
  143. * to +infinity. Used as an error value returned by the built-in
  144. * math functions.
  145. */
  146. #define HUGE_VALF (__builtin_huge_valf())
  147. /**
  148. * A positive double constant expression. HUGE_VAL evaluates
  149. * to +infinity. Used as an error value returned by the built-in
  150. * math functions.
  151. */
  152. #define HUGE_VAL (__builtin_huge_val())
  153. /**
  154. * A constant expression of type float representing positive or
  155. * unsigned infinity.
  156. */
  157. #define INFINITY (__builtin_inff())
  158. /**
  159. * A constant expression of type float representing a quiet NaN.
  160. */
  161. #define NAN as_float(INT_MAX)
  162. #define FP_ILOGB0 INT_MIN
  163. #define FP_ILOGBNAN INT_MAX
  164. #define FLT_DIG 6
  165. #define FLT_MANT_DIG 24
  166. #define FLT_MAX_10_EXP +38
  167. #define FLT_MAX_EXP +128
  168. #define FLT_MIN_10_EXP -37
  169. #define FLT_MIN_EXP -125
  170. #define FLT_RADIX 2
  171. #define FLT_MAX 0x1.fffffep127f
  172. #define FLT_MIN 0x1.0p-126f
  173. #define FLT_EPSILON 0x1.0p-23f
  174. #define M_E_F 2.71828182845904523536028747135266250f
  175. #define M_LOG2E_F 1.44269504088896340735992468100189214f
  176. #define M_LOG10E_F 0.434294481903251827651128918916605082f
  177. #define M_LN2_F 0.693147180559945309417232121458176568f
  178. #define M_LN10_F 2.30258509299404568401799145468436421f
  179. #define M_PI_F 3.14159265358979323846264338327950288f
  180. #define M_PI_2_F 1.57079632679489661923132169163975144f
  181. #define M_PI_4_F 0.785398163397448309615660845819875721f
  182. #define M_1_PI_F 0.318309886183790671537767526745028724f
  183. #define M_2_PI_F 0.636619772367581343075535053490057448f
  184. #define M_2_SQRTPI_F 1.12837916709551257389615890312154517f
  185. #define M_SQRT2_F 1.41421356237309504880168872420969808f
  186. #define M_SQRT1_2_F 0.707106781186547524400844362104849039f
  187. #define DBL_DIG 15
  188. #define DBL_MANT_DIG 53
  189. #define DBL_MAX_10_EXP +308
  190. #define DBL_MAX_EXP +1024
  191. #define DBL_MIN_10_EXP -307
  192. #define DBL_MIN_EXP -1021
  193. #define DBL_RADIX 2
  194. #define DBL_MAX 0x1.fffffffffffffp1023
  195. #define DBL_MIN 0x1.0p-1022
  196. #define DBL_EPSILON 0x1.0p-52
  197. #define M_E 0x1.5bf0a8b145769p+1
  198. #define M_LOG2E 0x1.71547652b82fep+0
  199. #define M_LOG10E 0x1.bcb7b1526e50ep-2
  200. #define M_LN2 0x1.62e42fefa39efp-1
  201. #define M_LN10 0x1.26bb1bbb55516p+1
  202. #define M_PI 0x1.921fb54442d18p+1
  203. #define M_PI_2 0x1.921fb54442d18p+0
  204. #define M_PI_4 0x1.921fb54442d18p-1
  205. #define M_1_PI 0x1.45f306dc9c883p-2
  206. #define M_2_PI 0x1.45f306dc9c883p-1
  207. #define M_2_SQRTPI 0x1.20dd750429b6dp+0
  208. #define M_SQRT2 0x1.6a09e667f3bcdp+0
  209. #define M_SQRT1_2 0x1.6a09e667f3bcdp-1
  210. #ifdef cl_khr_fp16
  211. #define HALF_DIG 3
  212. #define HALF_MANT_DIG 11
  213. #define HALF_MAX_10_EXP +4
  214. #define HALF_MAX_EXP +16
  215. #define HALF_MIN_10_EXP -4
  216. #define HALF_MIN_EXP -13
  217. #define HALF_RADIX 2
  218. #define HALF_MAX ((0x1.ffcp15h))
  219. #define HALF_MIN ((0x1.0p-14h))
  220. #define HALF_EPSILON ((0x1.0p-10h))
  221. #define M_E_H 2.71828182845904523536028747135266250h
  222. #define M_LOG2E_H 1.44269504088896340735992468100189214h
  223. #define M_LOG10E_H 0.434294481903251827651128918916605082h
  224. #define M_LN2_H 0.693147180559945309417232121458176568h
  225. #define M_LN10_H 2.30258509299404568401799145468436421h
  226. #define M_PI_H 3.14159265358979323846264338327950288h
  227. #define M_PI_2_H 1.57079632679489661923132169163975144h
  228. #define M_PI_4_H 0.785398163397448309615660845819875721h
  229. #define M_1_PI_H 0.318309886183790671537767526745028724h
  230. #define M_2_PI_H 0.636619772367581343075535053490057448h
  231. #define M_2_SQRTPI_H 1.12837916709551257389615890312154517h
  232. #define M_SQRT2_H 1.41421356237309504880168872420969808h
  233. #define M_SQRT1_2_H 0.707106781186547524400844362104849039h
  234. #endif //cl_khr_fp16
  235. #define CHAR_BIT 8
  236. #define SCHAR_MAX 127
  237. #define SCHAR_MIN (-128)
  238. #define UCHAR_MAX 255
  239. #define CHAR_MAX SCHAR_MAX
  240. #define CHAR_MIN SCHAR_MIN
  241. #define USHRT_MAX 65535
  242. #define SHRT_MAX 32767
  243. #define SHRT_MIN (-32768)
  244. #define UINT_MAX 0xffffffff
  245. #define INT_MAX 2147483647
  246. #define INT_MIN (-2147483647-1)
  247. #define ULONG_MAX 0xffffffffffffffffUL
  248. #define LONG_MAX 0x7fffffffffffffffL
  249. #define LONG_MIN (-0x7fffffffffffffffL-1)
  250. // OpenCL v1.1/1.2/2.0 s6.2.3 - Explicit conversions
  251. char __ovld __cnfn convert_char_rte(char);
  252. char __ovld __cnfn convert_char_sat_rte(char);
  253. char __ovld __cnfn convert_char_rtz(char);
  254. char __ovld __cnfn convert_char_sat_rtz(char);
  255. char __ovld __cnfn convert_char_rtp(char);
  256. char __ovld __cnfn convert_char_sat_rtp(char);
  257. char __ovld __cnfn convert_char_rtn(char);
  258. char __ovld __cnfn convert_char_sat_rtn(char);
  259. char __ovld __cnfn convert_char(char);
  260. char __ovld __cnfn convert_char_sat(char);
  261. char __ovld __cnfn convert_char_rte(uchar);
  262. char __ovld __cnfn convert_char_sat_rte(uchar);
  263. char __ovld __cnfn convert_char_rtz(uchar);
  264. char __ovld __cnfn convert_char_sat_rtz(uchar);
  265. char __ovld __cnfn convert_char_rtp(uchar);
  266. char __ovld __cnfn convert_char_sat_rtp(uchar);
  267. char __ovld __cnfn convert_char_rtn(uchar);
  268. char __ovld __cnfn convert_char_sat_rtn(uchar);
  269. char __ovld __cnfn convert_char(uchar);
  270. char __ovld __cnfn convert_char_sat(uchar);
  271. char __ovld __cnfn convert_char_rte(short);
  272. char __ovld __cnfn convert_char_sat_rte(short);
  273. char __ovld __cnfn convert_char_rtz(short);
  274. char __ovld __cnfn convert_char_sat_rtz(short);
  275. char __ovld __cnfn convert_char_rtp(short);
  276. char __ovld __cnfn convert_char_sat_rtp(short);
  277. char __ovld __cnfn convert_char_rtn(short);
  278. char __ovld __cnfn convert_char_sat_rtn(short);
  279. char __ovld __cnfn convert_char(short);
  280. char __ovld __cnfn convert_char_sat(short);
  281. char __ovld __cnfn convert_char_rte(ushort);
  282. char __ovld __cnfn convert_char_sat_rte(ushort);
  283. char __ovld __cnfn convert_char_rtz(ushort);
  284. char __ovld __cnfn convert_char_sat_rtz(ushort);
  285. char __ovld __cnfn convert_char_rtp(ushort);
  286. char __ovld __cnfn convert_char_sat_rtp(ushort);
  287. char __ovld __cnfn convert_char_rtn(ushort);
  288. char __ovld __cnfn convert_char_sat_rtn(ushort);
  289. char __ovld __cnfn convert_char(ushort);
  290. char __ovld __cnfn convert_char_sat(ushort);
  291. char __ovld __cnfn convert_char_rte(int);
  292. char __ovld __cnfn convert_char_sat_rte(int);
  293. char __ovld __cnfn convert_char_rtz(int);
  294. char __ovld __cnfn convert_char_sat_rtz(int);
  295. char __ovld __cnfn convert_char_rtp(int);
  296. char __ovld __cnfn convert_char_sat_rtp(int);
  297. char __ovld __cnfn convert_char_rtn(int);
  298. char __ovld __cnfn convert_char_sat_rtn(int);
  299. char __ovld __cnfn convert_char(int);
  300. char __ovld __cnfn convert_char_sat(int);
  301. char __ovld __cnfn convert_char_rte(uint);
  302. char __ovld __cnfn convert_char_sat_rte(uint);
  303. char __ovld __cnfn convert_char_rtz(uint);
  304. char __ovld __cnfn convert_char_sat_rtz(uint);
  305. char __ovld __cnfn convert_char_rtp(uint);
  306. char __ovld __cnfn convert_char_sat_rtp(uint);
  307. char __ovld __cnfn convert_char_rtn(uint);
  308. char __ovld __cnfn convert_char_sat_rtn(uint);
  309. char __ovld __cnfn convert_char(uint);
  310. char __ovld __cnfn convert_char_sat(uint);
  311. char __ovld __cnfn convert_char_rte(long);
  312. char __ovld __cnfn convert_char_sat_rte(long);
  313. char __ovld __cnfn convert_char_rtz(long);
  314. char __ovld __cnfn convert_char_sat_rtz(long);
  315. char __ovld __cnfn convert_char_rtp(long);
  316. char __ovld __cnfn convert_char_sat_rtp(long);
  317. char __ovld __cnfn convert_char_rtn(long);
  318. char __ovld __cnfn convert_char_sat_rtn(long);
  319. char __ovld __cnfn convert_char(long);
  320. char __ovld __cnfn convert_char_sat(long);
  321. char __ovld __cnfn convert_char_rte(ulong);
  322. char __ovld __cnfn convert_char_sat_rte(ulong);
  323. char __ovld __cnfn convert_char_rtz(ulong);
  324. char __ovld __cnfn convert_char_sat_rtz(ulong);
  325. char __ovld __cnfn convert_char_rtp(ulong);
  326. char __ovld __cnfn convert_char_sat_rtp(ulong);
  327. char __ovld __cnfn convert_char_rtn(ulong);
  328. char __ovld __cnfn convert_char_sat_rtn(ulong);
  329. char __ovld __cnfn convert_char(ulong);
  330. char __ovld __cnfn convert_char_sat(ulong);
  331. char __ovld __cnfn convert_char_rte(float);
  332. char __ovld __cnfn convert_char_sat_rte(float);
  333. char __ovld __cnfn convert_char_rtz(float);
  334. char __ovld __cnfn convert_char_sat_rtz(float);
  335. char __ovld __cnfn convert_char_rtp(float);
  336. char __ovld __cnfn convert_char_sat_rtp(float);
  337. char __ovld __cnfn convert_char_rtn(float);
  338. char __ovld __cnfn convert_char_sat_rtn(float);
  339. char __ovld __cnfn convert_char(float);
  340. char __ovld __cnfn convert_char_sat(float);
  341. uchar __ovld __cnfn convert_uchar_rte(char);
  342. uchar __ovld __cnfn convert_uchar_sat_rte(char);
  343. uchar __ovld __cnfn convert_uchar_rtz(char);
  344. uchar __ovld __cnfn convert_uchar_sat_rtz(char);
  345. uchar __ovld __cnfn convert_uchar_rtp(char);
  346. uchar __ovld __cnfn convert_uchar_sat_rtp(char);
  347. uchar __ovld __cnfn convert_uchar_rtn(char);
  348. uchar __ovld __cnfn convert_uchar_sat_rtn(char);
  349. uchar __ovld __cnfn convert_uchar(char);
  350. uchar __ovld __cnfn convert_uchar_sat(char);
  351. uchar __ovld __cnfn convert_uchar_rte(uchar);
  352. uchar __ovld __cnfn convert_uchar_sat_rte(uchar);
  353. uchar __ovld __cnfn convert_uchar_rtz(uchar);
  354. uchar __ovld __cnfn convert_uchar_sat_rtz(uchar);
  355. uchar __ovld __cnfn convert_uchar_rtp(uchar);
  356. uchar __ovld __cnfn convert_uchar_sat_rtp(uchar);
  357. uchar __ovld __cnfn convert_uchar_rtn(uchar);
  358. uchar __ovld __cnfn convert_uchar_sat_rtn(uchar);
  359. uchar __ovld __cnfn convert_uchar(uchar);
  360. uchar __ovld __cnfn convert_uchar_sat(uchar);
  361. uchar __ovld __cnfn convert_uchar_rte(short);
  362. uchar __ovld __cnfn convert_uchar_sat_rte(short);
  363. uchar __ovld __cnfn convert_uchar_rtz(short);
  364. uchar __ovld __cnfn convert_uchar_sat_rtz(short);
  365. uchar __ovld __cnfn convert_uchar_rtp(short);
  366. uchar __ovld __cnfn convert_uchar_sat_rtp(short);
  367. uchar __ovld __cnfn convert_uchar_rtn(short);
  368. uchar __ovld __cnfn convert_uchar_sat_rtn(short);
  369. uchar __ovld __cnfn convert_uchar(short);
  370. uchar __ovld __cnfn convert_uchar_sat(short);
  371. uchar __ovld __cnfn convert_uchar_rte(ushort);
  372. uchar __ovld __cnfn convert_uchar_sat_rte(ushort);
  373. uchar __ovld __cnfn convert_uchar_rtz(ushort);
  374. uchar __ovld __cnfn convert_uchar_sat_rtz(ushort);
  375. uchar __ovld __cnfn convert_uchar_rtp(ushort);
  376. uchar __ovld __cnfn convert_uchar_sat_rtp(ushort);
  377. uchar __ovld __cnfn convert_uchar_rtn(ushort);
  378. uchar __ovld __cnfn convert_uchar_sat_rtn(ushort);
  379. uchar __ovld __cnfn convert_uchar(ushort);
  380. uchar __ovld __cnfn convert_uchar_sat(ushort);
  381. uchar __ovld __cnfn convert_uchar_rte(int);
  382. uchar __ovld __cnfn convert_uchar_sat_rte(int);
  383. uchar __ovld __cnfn convert_uchar_rtz(int);
  384. uchar __ovld __cnfn convert_uchar_sat_rtz(int);
  385. uchar __ovld __cnfn convert_uchar_rtp(int);
  386. uchar __ovld __cnfn convert_uchar_sat_rtp(int);
  387. uchar __ovld __cnfn convert_uchar_rtn(int);
  388. uchar __ovld __cnfn convert_uchar_sat_rtn(int);
  389. uchar __ovld __cnfn convert_uchar(int);
  390. uchar __ovld __cnfn convert_uchar_sat(int);
  391. uchar __ovld __cnfn convert_uchar_rte(uint);
  392. uchar __ovld __cnfn convert_uchar_sat_rte(uint);
  393. uchar __ovld __cnfn convert_uchar_rtz(uint);
  394. uchar __ovld __cnfn convert_uchar_sat_rtz(uint);
  395. uchar __ovld __cnfn convert_uchar_rtp(uint);
  396. uchar __ovld __cnfn convert_uchar_sat_rtp(uint);
  397. uchar __ovld __cnfn convert_uchar_rtn(uint);
  398. uchar __ovld __cnfn convert_uchar_sat_rtn(uint);
  399. uchar __ovld __cnfn convert_uchar(uint);
  400. uchar __ovld __cnfn convert_uchar_sat(uint);
  401. uchar __ovld __cnfn convert_uchar_rte(long);
  402. uchar __ovld __cnfn convert_uchar_sat_rte(long);
  403. uchar __ovld __cnfn convert_uchar_rtz(long);
  404. uchar __ovld __cnfn convert_uchar_sat_rtz(long);
  405. uchar __ovld __cnfn convert_uchar_rtp(long);
  406. uchar __ovld __cnfn convert_uchar_sat_rtp(long);
  407. uchar __ovld __cnfn convert_uchar_rtn(long);
  408. uchar __ovld __cnfn convert_uchar_sat_rtn(long);
  409. uchar __ovld __cnfn convert_uchar(long);
  410. uchar __ovld __cnfn convert_uchar_sat(long);
  411. uchar __ovld __cnfn convert_uchar_rte(ulong);
  412. uchar __ovld __cnfn convert_uchar_sat_rte(ulong);
  413. uchar __ovld __cnfn convert_uchar_rtz(ulong);
  414. uchar __ovld __cnfn convert_uchar_sat_rtz(ulong);
  415. uchar __ovld __cnfn convert_uchar_rtp(ulong);
  416. uchar __ovld __cnfn convert_uchar_sat_rtp(ulong);
  417. uchar __ovld __cnfn convert_uchar_rtn(ulong);
  418. uchar __ovld __cnfn convert_uchar_sat_rtn(ulong);
  419. uchar __ovld __cnfn convert_uchar(ulong);
  420. uchar __ovld __cnfn convert_uchar_sat(ulong);
  421. uchar __ovld __cnfn convert_uchar_rte(float);
  422. uchar __ovld __cnfn convert_uchar_sat_rte(float);
  423. uchar __ovld __cnfn convert_uchar_rtz(float);
  424. uchar __ovld __cnfn convert_uchar_sat_rtz(float);
  425. uchar __ovld __cnfn convert_uchar_rtp(float);
  426. uchar __ovld __cnfn convert_uchar_sat_rtp(float);
  427. uchar __ovld __cnfn convert_uchar_rtn(float);
  428. uchar __ovld __cnfn convert_uchar_sat_rtn(float);
  429. uchar __ovld __cnfn convert_uchar(float);
  430. uchar __ovld __cnfn convert_uchar_sat(float);
  431. short __ovld __cnfn convert_short_rte(char);
  432. short __ovld __cnfn convert_short_sat_rte(char);
  433. short __ovld __cnfn convert_short_rtz(char);
  434. short __ovld __cnfn convert_short_sat_rtz(char);
  435. short __ovld __cnfn convert_short_rtp(char);
  436. short __ovld __cnfn convert_short_sat_rtp(char);
  437. short __ovld __cnfn convert_short_rtn(char);
  438. short __ovld __cnfn convert_short_sat_rtn(char);
  439. short __ovld __cnfn convert_short(char);
  440. short __ovld __cnfn convert_short_sat(char);
  441. short __ovld __cnfn convert_short_rte(uchar);
  442. short __ovld __cnfn convert_short_sat_rte(uchar);
  443. short __ovld __cnfn convert_short_rtz(uchar);
  444. short __ovld __cnfn convert_short_sat_rtz(uchar);
  445. short __ovld __cnfn convert_short_rtp(uchar);
  446. short __ovld __cnfn convert_short_sat_rtp(uchar);
  447. short __ovld __cnfn convert_short_rtn(uchar);
  448. short __ovld __cnfn convert_short_sat_rtn(uchar);
  449. short __ovld __cnfn convert_short(uchar);
  450. short __ovld __cnfn convert_short_sat(uchar);
  451. short __ovld __cnfn convert_short_rte(short);
  452. short __ovld __cnfn convert_short_sat_rte(short);
  453. short __ovld __cnfn convert_short_rtz(short);
  454. short __ovld __cnfn convert_short_sat_rtz(short);
  455. short __ovld __cnfn convert_short_rtp(short);
  456. short __ovld __cnfn convert_short_sat_rtp(short);
  457. short __ovld __cnfn convert_short_rtn(short);
  458. short __ovld __cnfn convert_short_sat_rtn(short);
  459. short __ovld __cnfn convert_short(short);
  460. short __ovld __cnfn convert_short_sat(short);
  461. short __ovld __cnfn convert_short_rte(ushort);
  462. short __ovld __cnfn convert_short_sat_rte(ushort);
  463. short __ovld __cnfn convert_short_rtz(ushort);
  464. short __ovld __cnfn convert_short_sat_rtz(ushort);
  465. short __ovld __cnfn convert_short_rtp(ushort);
  466. short __ovld __cnfn convert_short_sat_rtp(ushort);
  467. short __ovld __cnfn convert_short_rtn(ushort);
  468. short __ovld __cnfn convert_short_sat_rtn(ushort);
  469. short __ovld __cnfn convert_short(ushort);
  470. short __ovld __cnfn convert_short_sat(ushort);
  471. short __ovld __cnfn convert_short_rte(int);
  472. short __ovld __cnfn convert_short_sat_rte(int);
  473. short __ovld __cnfn convert_short_rtz(int);
  474. short __ovld __cnfn convert_short_sat_rtz(int);
  475. short __ovld __cnfn convert_short_rtp(int);
  476. short __ovld __cnfn convert_short_sat_rtp(int);
  477. short __ovld __cnfn convert_short_rtn(int);
  478. short __ovld __cnfn convert_short_sat_rtn(int);
  479. short __ovld __cnfn convert_short(int);
  480. short __ovld __cnfn convert_short_sat(int);
  481. short __ovld __cnfn convert_short_rte(uint);
  482. short __ovld __cnfn convert_short_sat_rte(uint);
  483. short __ovld __cnfn convert_short_rtz(uint);
  484. short __ovld __cnfn convert_short_sat_rtz(uint);
  485. short __ovld __cnfn convert_short_rtp(uint);
  486. short __ovld __cnfn convert_short_sat_rtp(uint);
  487. short __ovld __cnfn convert_short_rtn(uint);
  488. short __ovld __cnfn convert_short_sat_rtn(uint);
  489. short __ovld __cnfn convert_short(uint);
  490. short __ovld __cnfn convert_short_sat(uint);
  491. short __ovld __cnfn convert_short_rte(long);
  492. short __ovld __cnfn convert_short_sat_rte(long);
  493. short __ovld __cnfn convert_short_rtz(long);
  494. short __ovld __cnfn convert_short_sat_rtz(long);
  495. short __ovld __cnfn convert_short_rtp(long);
  496. short __ovld __cnfn convert_short_sat_rtp(long);
  497. short __ovld __cnfn convert_short_rtn(long);
  498. short __ovld __cnfn convert_short_sat_rtn(long);
  499. short __ovld __cnfn convert_short(long);
  500. short __ovld __cnfn convert_short_sat(long);
  501. short __ovld __cnfn convert_short_rte(ulong);
  502. short __ovld __cnfn convert_short_sat_rte(ulong);
  503. short __ovld __cnfn convert_short_rtz(ulong);
  504. short __ovld __cnfn convert_short_sat_rtz(ulong);
  505. short __ovld __cnfn convert_short_rtp(ulong);
  506. short __ovld __cnfn convert_short_sat_rtp(ulong);
  507. short __ovld __cnfn convert_short_rtn(ulong);
  508. short __ovld __cnfn convert_short_sat_rtn(ulong);
  509. short __ovld __cnfn convert_short(ulong);
  510. short __ovld __cnfn convert_short_sat(ulong);
  511. short __ovld __cnfn convert_short_rte(float);
  512. short __ovld __cnfn convert_short_sat_rte(float);
  513. short __ovld __cnfn convert_short_rtz(float);
  514. short __ovld __cnfn convert_short_sat_rtz(float);
  515. short __ovld __cnfn convert_short_rtp(float);
  516. short __ovld __cnfn convert_short_sat_rtp(float);
  517. short __ovld __cnfn convert_short_rtn(float);
  518. short __ovld __cnfn convert_short_sat_rtn(float);
  519. short __ovld __cnfn convert_short(float);
  520. short __ovld __cnfn convert_short_sat(float);
  521. ushort __ovld __cnfn convert_ushort_rte(char);
  522. ushort __ovld __cnfn convert_ushort_sat_rte(char);
  523. ushort __ovld __cnfn convert_ushort_rtz(char);
  524. ushort __ovld __cnfn convert_ushort_sat_rtz(char);
  525. ushort __ovld __cnfn convert_ushort_rtp(char);
  526. ushort __ovld __cnfn convert_ushort_sat_rtp(char);
  527. ushort __ovld __cnfn convert_ushort_rtn(char);
  528. ushort __ovld __cnfn convert_ushort_sat_rtn(char);
  529. ushort __ovld __cnfn convert_ushort(char);
  530. ushort __ovld __cnfn convert_ushort_sat(char);
  531. ushort __ovld __cnfn convert_ushort_rte(uchar);
  532. ushort __ovld __cnfn convert_ushort_sat_rte(uchar);
  533. ushort __ovld __cnfn convert_ushort_rtz(uchar);
  534. ushort __ovld __cnfn convert_ushort_sat_rtz(uchar);
  535. ushort __ovld __cnfn convert_ushort_rtp(uchar);
  536. ushort __ovld __cnfn convert_ushort_sat_rtp(uchar);
  537. ushort __ovld __cnfn convert_ushort_rtn(uchar);
  538. ushort __ovld __cnfn convert_ushort_sat_rtn(uchar);
  539. ushort __ovld __cnfn convert_ushort(uchar);
  540. ushort __ovld __cnfn convert_ushort_sat(uchar);
  541. ushort __ovld __cnfn convert_ushort_rte(short);
  542. ushort __ovld __cnfn convert_ushort_sat_rte(short);
  543. ushort __ovld __cnfn convert_ushort_rtz(short);
  544. ushort __ovld __cnfn convert_ushort_sat_rtz(short);
  545. ushort __ovld __cnfn convert_ushort_rtp(short);
  546. ushort __ovld __cnfn convert_ushort_sat_rtp(short);
  547. ushort __ovld __cnfn convert_ushort_rtn(short);
  548. ushort __ovld __cnfn convert_ushort_sat_rtn(short);
  549. ushort __ovld __cnfn convert_ushort(short);
  550. ushort __ovld __cnfn convert_ushort_sat(short);
  551. ushort __ovld __cnfn convert_ushort_rte(ushort);
  552. ushort __ovld __cnfn convert_ushort_sat_rte(ushort);
  553. ushort __ovld __cnfn convert_ushort_rtz(ushort);
  554. ushort __ovld __cnfn convert_ushort_sat_rtz(ushort);
  555. ushort __ovld __cnfn convert_ushort_rtp(ushort);
  556. ushort __ovld __cnfn convert_ushort_sat_rtp(ushort);
  557. ushort __ovld __cnfn convert_ushort_rtn(ushort);
  558. ushort __ovld __cnfn convert_ushort_sat_rtn(ushort);
  559. ushort __ovld __cnfn convert_ushort(ushort);
  560. ushort __ovld __cnfn convert_ushort_sat(ushort);
  561. ushort __ovld __cnfn convert_ushort_rte(int);
  562. ushort __ovld __cnfn convert_ushort_sat_rte(int);
  563. ushort __ovld __cnfn convert_ushort_rtz(int);
  564. ushort __ovld __cnfn convert_ushort_sat_rtz(int);
  565. ushort __ovld __cnfn convert_ushort_rtp(int);
  566. ushort __ovld __cnfn convert_ushort_sat_rtp(int);
  567. ushort __ovld __cnfn convert_ushort_rtn(int);
  568. ushort __ovld __cnfn convert_ushort_sat_rtn(int);
  569. ushort __ovld __cnfn convert_ushort(int);
  570. ushort __ovld __cnfn convert_ushort_sat(int);
  571. ushort __ovld __cnfn convert_ushort_rte(uint);
  572. ushort __ovld __cnfn convert_ushort_sat_rte(uint);
  573. ushort __ovld __cnfn convert_ushort_rtz(uint);
  574. ushort __ovld __cnfn convert_ushort_sat_rtz(uint);
  575. ushort __ovld __cnfn convert_ushort_rtp(uint);
  576. ushort __ovld __cnfn convert_ushort_sat_rtp(uint);
  577. ushort __ovld __cnfn convert_ushort_rtn(uint);
  578. ushort __ovld __cnfn convert_ushort_sat_rtn(uint);
  579. ushort __ovld __cnfn convert_ushort(uint);
  580. ushort __ovld __cnfn convert_ushort_sat(uint);
  581. ushort __ovld __cnfn convert_ushort_rte(long);
  582. ushort __ovld __cnfn convert_ushort_sat_rte(long);
  583. ushort __ovld __cnfn convert_ushort_rtz(long);
  584. ushort __ovld __cnfn convert_ushort_sat_rtz(long);
  585. ushort __ovld __cnfn convert_ushort_rtp(long);
  586. ushort __ovld __cnfn convert_ushort_sat_rtp(long);
  587. ushort __ovld __cnfn convert_ushort_rtn(long);
  588. ushort __ovld __cnfn convert_ushort_sat_rtn(long);
  589. ushort __ovld __cnfn convert_ushort(long);
  590. ushort __ovld __cnfn convert_ushort_sat(long);
  591. ushort __ovld __cnfn convert_ushort_rte(ulong);
  592. ushort __ovld __cnfn convert_ushort_sat_rte(ulong);
  593. ushort __ovld __cnfn convert_ushort_rtz(ulong);
  594. ushort __ovld __cnfn convert_ushort_sat_rtz(ulong);
  595. ushort __ovld __cnfn convert_ushort_rtp(ulong);
  596. ushort __ovld __cnfn convert_ushort_sat_rtp(ulong);
  597. ushort __ovld __cnfn convert_ushort_rtn(ulong);
  598. ushort __ovld __cnfn convert_ushort_sat_rtn(ulong);
  599. ushort __ovld __cnfn convert_ushort(ulong);
  600. ushort __ovld __cnfn convert_ushort_sat(ulong);
  601. ushort __ovld __cnfn convert_ushort_rte(float);
  602. ushort __ovld __cnfn convert_ushort_sat_rte(float);
  603. ushort __ovld __cnfn convert_ushort_rtz(float);
  604. ushort __ovld __cnfn convert_ushort_sat_rtz(float);
  605. ushort __ovld __cnfn convert_ushort_rtp(float);
  606. ushort __ovld __cnfn convert_ushort_sat_rtp(float);
  607. ushort __ovld __cnfn convert_ushort_rtn(float);
  608. ushort __ovld __cnfn convert_ushort_sat_rtn(float);
  609. ushort __ovld __cnfn convert_ushort(float);
  610. ushort __ovld __cnfn convert_ushort_sat(float);
  611. int __ovld __cnfn convert_int_rte(char);
  612. int __ovld __cnfn convert_int_sat_rte(char);
  613. int __ovld __cnfn convert_int_rtz(char);
  614. int __ovld __cnfn convert_int_sat_rtz(char);
  615. int __ovld __cnfn convert_int_rtp(char);
  616. int __ovld __cnfn convert_int_sat_rtp(char);
  617. int __ovld __cnfn convert_int_rtn(char);
  618. int __ovld __cnfn convert_int_sat_rtn(char);
  619. int __ovld __cnfn convert_int(char);
  620. int __ovld __cnfn convert_int_sat(char);
  621. int __ovld __cnfn convert_int_rte(uchar);
  622. int __ovld __cnfn convert_int_sat_rte(uchar);
  623. int __ovld __cnfn convert_int_rtz(uchar);
  624. int __ovld __cnfn convert_int_sat_rtz(uchar);
  625. int __ovld __cnfn convert_int_rtp(uchar);
  626. int __ovld __cnfn convert_int_sat_rtp(uchar);
  627. int __ovld __cnfn convert_int_rtn(uchar);
  628. int __ovld __cnfn convert_int_sat_rtn(uchar);
  629. int __ovld __cnfn convert_int(uchar);
  630. int __ovld __cnfn convert_int_sat(uchar);
  631. int __ovld __cnfn convert_int_rte(short);
  632. int __ovld __cnfn convert_int_sat_rte(short);
  633. int __ovld __cnfn convert_int_rtz(short);
  634. int __ovld __cnfn convert_int_sat_rtz(short);
  635. int __ovld __cnfn convert_int_rtp(short);
  636. int __ovld __cnfn convert_int_sat_rtp(short);
  637. int __ovld __cnfn convert_int_rtn(short);
  638. int __ovld __cnfn convert_int_sat_rtn(short);
  639. int __ovld __cnfn convert_int(short);
  640. int __ovld __cnfn convert_int_sat(short);
  641. int __ovld __cnfn convert_int_rte(ushort);
  642. int __ovld __cnfn convert_int_sat_rte(ushort);
  643. int __ovld __cnfn convert_int_rtz(ushort);
  644. int __ovld __cnfn convert_int_sat_rtz(ushort);
  645. int __ovld __cnfn convert_int_rtp(ushort);
  646. int __ovld __cnfn convert_int_sat_rtp(ushort);
  647. int __ovld __cnfn convert_int_rtn(ushort);
  648. int __ovld __cnfn convert_int_sat_rtn(ushort);
  649. int __ovld __cnfn convert_int(ushort);
  650. int __ovld __cnfn convert_int_sat(ushort);
  651. int __ovld __cnfn convert_int_rte(int);
  652. int __ovld __cnfn convert_int_sat_rte(int);
  653. int __ovld __cnfn convert_int_rtz(int);
  654. int __ovld __cnfn convert_int_sat_rtz(int);
  655. int __ovld __cnfn convert_int_rtp(int);
  656. int __ovld __cnfn convert_int_sat_rtp(int);
  657. int __ovld __cnfn convert_int_rtn(int);
  658. int __ovld __cnfn convert_int_sat_rtn(int);
  659. int __ovld __cnfn convert_int(int);
  660. int __ovld __cnfn convert_int_sat(int);
  661. int __ovld __cnfn convert_int_rte(uint);
  662. int __ovld __cnfn convert_int_sat_rte(uint);
  663. int __ovld __cnfn convert_int_rtz(uint);
  664. int __ovld __cnfn convert_int_sat_rtz(uint);
  665. int __ovld __cnfn convert_int_rtp(uint);
  666. int __ovld __cnfn convert_int_sat_rtp(uint);
  667. int __ovld __cnfn convert_int_rtn(uint);
  668. int __ovld __cnfn convert_int_sat_rtn(uint);
  669. int __ovld __cnfn convert_int(uint);
  670. int __ovld __cnfn convert_int_sat(uint);
  671. int __ovld __cnfn convert_int_rte(long);
  672. int __ovld __cnfn convert_int_sat_rte(long);
  673. int __ovld __cnfn convert_int_rtz(long);
  674. int __ovld __cnfn convert_int_sat_rtz(long);
  675. int __ovld __cnfn convert_int_rtp(long);
  676. int __ovld __cnfn convert_int_sat_rtp(long);
  677. int __ovld __cnfn convert_int_rtn(long);
  678. int __ovld __cnfn convert_int_sat_rtn(long);
  679. int __ovld __cnfn convert_int(long);
  680. int __ovld __cnfn convert_int_sat(long);
  681. int __ovld __cnfn convert_int_rte(ulong);
  682. int __ovld __cnfn convert_int_sat_rte(ulong);
  683. int __ovld __cnfn convert_int_rtz(ulong);
  684. int __ovld __cnfn convert_int_sat_rtz(ulong);
  685. int __ovld __cnfn convert_int_rtp(ulong);
  686. int __ovld __cnfn convert_int_sat_rtp(ulong);
  687. int __ovld __cnfn convert_int_rtn(ulong);
  688. int __ovld __cnfn convert_int_sat_rtn(ulong);
  689. int __ovld __cnfn convert_int(ulong);
  690. int __ovld __cnfn convert_int_sat(ulong);
  691. int __ovld __cnfn convert_int_rte(float);
  692. int __ovld __cnfn convert_int_sat_rte(float);
  693. int __ovld __cnfn convert_int_rtz(float);
  694. int __ovld __cnfn convert_int_sat_rtz(float);
  695. int __ovld __cnfn convert_int_rtp(float);
  696. int __ovld __cnfn convert_int_sat_rtp(float);
  697. int __ovld __cnfn convert_int_rtn(float);
  698. int __ovld __cnfn convert_int_sat_rtn(float);
  699. int __ovld __cnfn convert_int(float);
  700. int __ovld __cnfn convert_int_sat(float);
  701. uint __ovld __cnfn convert_uint_rte(char);
  702. uint __ovld __cnfn convert_uint_sat_rte(char);
  703. uint __ovld __cnfn convert_uint_rtz(char);
  704. uint __ovld __cnfn convert_uint_sat_rtz(char);
  705. uint __ovld __cnfn convert_uint_rtp(char);
  706. uint __ovld __cnfn convert_uint_sat_rtp(char);
  707. uint __ovld __cnfn convert_uint_rtn(char);
  708. uint __ovld __cnfn convert_uint_sat_rtn(char);
  709. uint __ovld __cnfn convert_uint(char);
  710. uint __ovld __cnfn convert_uint_sat(char);
  711. uint __ovld __cnfn convert_uint_rte(uchar);
  712. uint __ovld __cnfn convert_uint_sat_rte(uchar);
  713. uint __ovld __cnfn convert_uint_rtz(uchar);
  714. uint __ovld __cnfn convert_uint_sat_rtz(uchar);
  715. uint __ovld __cnfn convert_uint_rtp(uchar);
  716. uint __ovld __cnfn convert_uint_sat_rtp(uchar);
  717. uint __ovld __cnfn convert_uint_rtn(uchar);
  718. uint __ovld __cnfn convert_uint_sat_rtn(uchar);
  719. uint __ovld __cnfn convert_uint(uchar);
  720. uint __ovld __cnfn convert_uint_sat(uchar);
  721. uint __ovld __cnfn convert_uint_rte(short);
  722. uint __ovld __cnfn convert_uint_sat_rte(short);
  723. uint __ovld __cnfn convert_uint_rtz(short);
  724. uint __ovld __cnfn convert_uint_sat_rtz(short);
  725. uint __ovld __cnfn convert_uint_rtp(short);
  726. uint __ovld __cnfn convert_uint_sat_rtp(short);
  727. uint __ovld __cnfn convert_uint_rtn(short);
  728. uint __ovld __cnfn convert_uint_sat_rtn(short);
  729. uint __ovld __cnfn convert_uint(short);
  730. uint __ovld __cnfn convert_uint_sat(short);
  731. uint __ovld __cnfn convert_uint_rte(ushort);
  732. uint __ovld __cnfn convert_uint_sat_rte(ushort);
  733. uint __ovld __cnfn convert_uint_rtz(ushort);
  734. uint __ovld __cnfn convert_uint_sat_rtz(ushort);
  735. uint __ovld __cnfn convert_uint_rtp(ushort);
  736. uint __ovld __cnfn convert_uint_sat_rtp(ushort);
  737. uint __ovld __cnfn convert_uint_rtn(ushort);
  738. uint __ovld __cnfn convert_uint_sat_rtn(ushort);
  739. uint __ovld __cnfn convert_uint(ushort);
  740. uint __ovld __cnfn convert_uint_sat(ushort);
  741. uint __ovld __cnfn convert_uint_rte(int);
  742. uint __ovld __cnfn convert_uint_sat_rte(int);
  743. uint __ovld __cnfn convert_uint_rtz(int);
  744. uint __ovld __cnfn convert_uint_sat_rtz(int);
  745. uint __ovld __cnfn convert_uint_rtp(int);
  746. uint __ovld __cnfn convert_uint_sat_rtp(int);
  747. uint __ovld __cnfn convert_uint_rtn(int);
  748. uint __ovld __cnfn convert_uint_sat_rtn(int);
  749. uint __ovld __cnfn convert_uint(int);
  750. uint __ovld __cnfn convert_uint_sat(int);
  751. uint __ovld __cnfn convert_uint_rte(uint);
  752. uint __ovld __cnfn convert_uint_sat_rte(uint);
  753. uint __ovld __cnfn convert_uint_rtz(uint);
  754. uint __ovld __cnfn convert_uint_sat_rtz(uint);
  755. uint __ovld __cnfn convert_uint_rtp(uint);
  756. uint __ovld __cnfn convert_uint_sat_rtp(uint);
  757. uint __ovld __cnfn convert_uint_rtn(uint);
  758. uint __ovld __cnfn convert_uint_sat_rtn(uint);
  759. uint __ovld __cnfn convert_uint(uint);
  760. uint __ovld __cnfn convert_uint_sat(uint);
  761. uint __ovld __cnfn convert_uint_rte(long);
  762. uint __ovld __cnfn convert_uint_sat_rte(long);
  763. uint __ovld __cnfn convert_uint_rtz(long);
  764. uint __ovld __cnfn convert_uint_sat_rtz(long);
  765. uint __ovld __cnfn convert_uint_rtp(long);
  766. uint __ovld __cnfn convert_uint_sat_rtp(long);
  767. uint __ovld __cnfn convert_uint_rtn(long);
  768. uint __ovld __cnfn convert_uint_sat_rtn(long);
  769. uint __ovld __cnfn convert_uint(long);
  770. uint __ovld __cnfn convert_uint_sat(long);
  771. uint __ovld __cnfn convert_uint_rte(ulong);
  772. uint __ovld __cnfn convert_uint_sat_rte(ulong);
  773. uint __ovld __cnfn convert_uint_rtz(ulong);
  774. uint __ovld __cnfn convert_uint_sat_rtz(ulong);
  775. uint __ovld __cnfn convert_uint_rtp(ulong);
  776. uint __ovld __cnfn convert_uint_sat_rtp(ulong);
  777. uint __ovld __cnfn convert_uint_rtn(ulong);
  778. uint __ovld __cnfn convert_uint_sat_rtn(ulong);
  779. uint __ovld __cnfn convert_uint(ulong);
  780. uint __ovld __cnfn convert_uint_sat(ulong);
  781. uint __ovld __cnfn convert_uint_rte(float);
  782. uint __ovld __cnfn convert_uint_sat_rte(float);
  783. uint __ovld __cnfn convert_uint_rtz(float);
  784. uint __ovld __cnfn convert_uint_sat_rtz(float);
  785. uint __ovld __cnfn convert_uint_rtp(float);
  786. uint __ovld __cnfn convert_uint_sat_rtp(float);
  787. uint __ovld __cnfn convert_uint_rtn(float);
  788. uint __ovld __cnfn convert_uint_sat_rtn(float);
  789. uint __ovld __cnfn convert_uint(float);
  790. uint __ovld __cnfn convert_uint_sat(float);
  791. long __ovld __cnfn convert_long_rte(char);
  792. long __ovld __cnfn convert_long_sat_rte(char);
  793. long __ovld __cnfn convert_long_rtz(char);
  794. long __ovld __cnfn convert_long_sat_rtz(char);
  795. long __ovld __cnfn convert_long_rtp(char);
  796. long __ovld __cnfn convert_long_sat_rtp(char);
  797. long __ovld __cnfn convert_long_rtn(char);
  798. long __ovld __cnfn convert_long_sat_rtn(char);
  799. long __ovld __cnfn convert_long(char);
  800. long __ovld __cnfn convert_long_sat(char);
  801. long __ovld __cnfn convert_long_rte(uchar);
  802. long __ovld __cnfn convert_long_sat_rte(uchar);
  803. long __ovld __cnfn convert_long_rtz(uchar);
  804. long __ovld __cnfn convert_long_sat_rtz(uchar);
  805. long __ovld __cnfn convert_long_rtp(uchar);
  806. long __ovld __cnfn convert_long_sat_rtp(uchar);
  807. long __ovld __cnfn convert_long_rtn(uchar);
  808. long __ovld __cnfn convert_long_sat_rtn(uchar);
  809. long __ovld __cnfn convert_long(uchar);
  810. long __ovld __cnfn convert_long_sat(uchar);
  811. long __ovld __cnfn convert_long_rte(short);
  812. long __ovld __cnfn convert_long_sat_rte(short);
  813. long __ovld __cnfn convert_long_rtz(short);
  814. long __ovld __cnfn convert_long_sat_rtz(short);
  815. long __ovld __cnfn convert_long_rtp(short);
  816. long __ovld __cnfn convert_long_sat_rtp(short);
  817. long __ovld __cnfn convert_long_rtn(short);
  818. long __ovld __cnfn convert_long_sat_rtn(short);
  819. long __ovld __cnfn convert_long(short);
  820. long __ovld __cnfn convert_long_sat(short);
  821. long __ovld __cnfn convert_long_rte(ushort);
  822. long __ovld __cnfn convert_long_sat_rte(ushort);
  823. long __ovld __cnfn convert_long_rtz(ushort);
  824. long __ovld __cnfn convert_long_sat_rtz(ushort);
  825. long __ovld __cnfn convert_long_rtp(ushort);
  826. long __ovld __cnfn convert_long_sat_rtp(ushort);
  827. long __ovld __cnfn convert_long_rtn(ushort);
  828. long __ovld __cnfn convert_long_sat_rtn(ushort);
  829. long __ovld __cnfn convert_long(ushort);
  830. long __ovld __cnfn convert_long_sat(ushort);
  831. long __ovld __cnfn convert_long_rte(int);
  832. long __ovld __cnfn convert_long_sat_rte(int);
  833. long __ovld __cnfn convert_long_rtz(int);
  834. long __ovld __cnfn convert_long_sat_rtz(int);
  835. long __ovld __cnfn convert_long_rtp(int);
  836. long __ovld __cnfn convert_long_sat_rtp(int);
  837. long __ovld __cnfn convert_long_rtn(int);
  838. long __ovld __cnfn convert_long_sat_rtn(int);
  839. long __ovld __cnfn convert_long(int);
  840. long __ovld __cnfn convert_long_sat(int);
  841. long __ovld __cnfn convert_long_rte(uint);
  842. long __ovld __cnfn convert_long_sat_rte(uint);
  843. long __ovld __cnfn convert_long_rtz(uint);
  844. long __ovld __cnfn convert_long_sat_rtz(uint);
  845. long __ovld __cnfn convert_long_rtp(uint);
  846. long __ovld __cnfn convert_long_sat_rtp(uint);
  847. long __ovld __cnfn convert_long_rtn(uint);
  848. long __ovld __cnfn convert_long_sat_rtn(uint);
  849. long __ovld __cnfn convert_long(uint);
  850. long __ovld __cnfn convert_long_sat(uint);
  851. long __ovld __cnfn convert_long_rte(long);
  852. long __ovld __cnfn convert_long_sat_rte(long);
  853. long __ovld __cnfn convert_long_rtz(long);
  854. long __ovld __cnfn convert_long_sat_rtz(long);
  855. long __ovld __cnfn convert_long_rtp(long);
  856. long __ovld __cnfn convert_long_sat_rtp(long);
  857. long __ovld __cnfn convert_long_rtn(long);
  858. long __ovld __cnfn convert_long_sat_rtn(long);
  859. long __ovld __cnfn convert_long(long);
  860. long __ovld __cnfn convert_long_sat(long);
  861. long __ovld __cnfn convert_long_rte(ulong);
  862. long __ovld __cnfn convert_long_sat_rte(ulong);
  863. long __ovld __cnfn convert_long_rtz(ulong);
  864. long __ovld __cnfn convert_long_sat_rtz(ulong);
  865. long __ovld __cnfn convert_long_rtp(ulong);
  866. long __ovld __cnfn convert_long_sat_rtp(ulong);
  867. long __ovld __cnfn convert_long_rtn(ulong);
  868. long __ovld __cnfn convert_long_sat_rtn(ulong);
  869. long __ovld __cnfn convert_long(ulong);
  870. long __ovld __cnfn convert_long_sat(ulong);
  871. long __ovld __cnfn convert_long_rte(float);
  872. long __ovld __cnfn convert_long_sat_rte(float);
  873. long __ovld __cnfn convert_long_rtz(float);
  874. long __ovld __cnfn convert_long_sat_rtz(float);
  875. long __ovld __cnfn convert_long_rtp(float);
  876. long __ovld __cnfn convert_long_sat_rtp(float);
  877. long __ovld __cnfn convert_long_rtn(float);
  878. long __ovld __cnfn convert_long_sat_rtn(float);
  879. long __ovld __cnfn convert_long(float);
  880. long __ovld __cnfn convert_long_sat(float);
  881. ulong __ovld __cnfn convert_ulong_rte(char);
  882. ulong __ovld __cnfn convert_ulong_sat_rte(char);
  883. ulong __ovld __cnfn convert_ulong_rtz(char);
  884. ulong __ovld __cnfn convert_ulong_sat_rtz(char);
  885. ulong __ovld __cnfn convert_ulong_rtp(char);
  886. ulong __ovld __cnfn convert_ulong_sat_rtp(char);
  887. ulong __ovld __cnfn convert_ulong_rtn(char);
  888. ulong __ovld __cnfn convert_ulong_sat_rtn(char);
  889. ulong __ovld __cnfn convert_ulong(char);
  890. ulong __ovld __cnfn convert_ulong_sat(char);
  891. ulong __ovld __cnfn convert_ulong_rte(uchar);
  892. ulong __ovld __cnfn convert_ulong_sat_rte(uchar);
  893. ulong __ovld __cnfn convert_ulong_rtz(uchar);
  894. ulong __ovld __cnfn convert_ulong_sat_rtz(uchar);
  895. ulong __ovld __cnfn convert_ulong_rtp(uchar);
  896. ulong __ovld __cnfn convert_ulong_sat_rtp(uchar);
  897. ulong __ovld __cnfn convert_ulong_rtn(uchar);
  898. ulong __ovld __cnfn convert_ulong_sat_rtn(uchar);
  899. ulong __ovld __cnfn convert_ulong(uchar);
  900. ulong __ovld __cnfn convert_ulong_sat(uchar);
  901. ulong __ovld __cnfn convert_ulong_rte(short);
  902. ulong __ovld __cnfn convert_ulong_sat_rte(short);
  903. ulong __ovld __cnfn convert_ulong_rtz(short);
  904. ulong __ovld __cnfn convert_ulong_sat_rtz(short);
  905. ulong __ovld __cnfn convert_ulong_rtp(short);
  906. ulong __ovld __cnfn convert_ulong_sat_rtp(short);
  907. ulong __ovld __cnfn convert_ulong_rtn(short);
  908. ulong __ovld __cnfn convert_ulong_sat_rtn(short);
  909. ulong __ovld __cnfn convert_ulong(short);
  910. ulong __ovld __cnfn convert_ulong_sat(short);
  911. ulong __ovld __cnfn convert_ulong_rte(ushort);
  912. ulong __ovld __cnfn convert_ulong_sat_rte(ushort);
  913. ulong __ovld __cnfn convert_ulong_rtz(ushort);
  914. ulong __ovld __cnfn convert_ulong_sat_rtz(ushort);
  915. ulong __ovld __cnfn convert_ulong_rtp(ushort);
  916. ulong __ovld __cnfn convert_ulong_sat_rtp(ushort);
  917. ulong __ovld __cnfn convert_ulong_rtn(ushort);
  918. ulong __ovld __cnfn convert_ulong_sat_rtn(ushort);
  919. ulong __ovld __cnfn convert_ulong(ushort);
  920. ulong __ovld __cnfn convert_ulong_sat(ushort);
  921. ulong __ovld __cnfn convert_ulong_rte(int);
  922. ulong __ovld __cnfn convert_ulong_sat_rte(int);
  923. ulong __ovld __cnfn convert_ulong_rtz(int);
  924. ulong __ovld __cnfn convert_ulong_sat_rtz(int);
  925. ulong __ovld __cnfn convert_ulong_rtp(int);
  926. ulong __ovld __cnfn convert_ulong_sat_rtp(int);
  927. ulong __ovld __cnfn convert_ulong_rtn(int);
  928. ulong __ovld __cnfn convert_ulong_sat_rtn(int);
  929. ulong __ovld __cnfn convert_ulong(int);
  930. ulong __ovld __cnfn convert_ulong_sat(int);
  931. ulong __ovld __cnfn convert_ulong_rte(uint);
  932. ulong __ovld __cnfn convert_ulong_sat_rte(uint);
  933. ulong __ovld __cnfn convert_ulong_rtz(uint);
  934. ulong __ovld __cnfn convert_ulong_sat_rtz(uint);
  935. ulong __ovld __cnfn convert_ulong_rtp(uint);
  936. ulong __ovld __cnfn convert_ulong_sat_rtp(uint);
  937. ulong __ovld __cnfn convert_ulong_rtn(uint);
  938. ulong __ovld __cnfn convert_ulong_sat_rtn(uint);
  939. ulong __ovld __cnfn convert_ulong(uint);
  940. ulong __ovld __cnfn convert_ulong_sat(uint);
  941. ulong __ovld __cnfn convert_ulong_rte(long);
  942. ulong __ovld __cnfn convert_ulong_sat_rte(long);
  943. ulong __ovld __cnfn convert_ulong_rtz(long);
  944. ulong __ovld __cnfn convert_ulong_sat_rtz(long);
  945. ulong __ovld __cnfn convert_ulong_rtp(long);
  946. ulong __ovld __cnfn convert_ulong_sat_rtp(long);
  947. ulong __ovld __cnfn convert_ulong_rtn(long);
  948. ulong __ovld __cnfn convert_ulong_sat_rtn(long);
  949. ulong __ovld __cnfn convert_ulong(long);
  950. ulong __ovld __cnfn convert_ulong_sat(long);
  951. ulong __ovld __cnfn convert_ulong_rte(ulong);
  952. ulong __ovld __cnfn convert_ulong_sat_rte(ulong);
  953. ulong __ovld __cnfn convert_ulong_rtz(ulong);
  954. ulong __ovld __cnfn convert_ulong_sat_rtz(ulong);
  955. ulong __ovld __cnfn convert_ulong_rtp(ulong);
  956. ulong __ovld __cnfn convert_ulong_sat_rtp(ulong);
  957. ulong __ovld __cnfn convert_ulong_rtn(ulong);
  958. ulong __ovld __cnfn convert_ulong_sat_rtn(ulong);
  959. ulong __ovld __cnfn convert_ulong(ulong);
  960. ulong __ovld __cnfn convert_ulong_sat(ulong);
  961. ulong __ovld __cnfn convert_ulong_rte(float);
  962. ulong __ovld __cnfn convert_ulong_sat_rte(float);
  963. ulong __ovld __cnfn convert_ulong_rtz(float);
  964. ulong __ovld __cnfn convert_ulong_sat_rtz(float);
  965. ulong __ovld __cnfn convert_ulong_rtp(float);
  966. ulong __ovld __cnfn convert_ulong_sat_rtp(float);
  967. ulong __ovld __cnfn convert_ulong_rtn(float);
  968. ulong __ovld __cnfn convert_ulong_sat_rtn(float);
  969. ulong __ovld __cnfn convert_ulong(float);
  970. ulong __ovld __cnfn convert_ulong_sat(float);
  971. float __ovld __cnfn convert_float_rte(char);
  972. float __ovld __cnfn convert_float_rtz(char);
  973. float __ovld __cnfn convert_float_rtp(char);
  974. float __ovld __cnfn convert_float_rtn(char);
  975. float __ovld __cnfn convert_float(char);
  976. float __ovld __cnfn convert_float_rte(uchar);
  977. float __ovld __cnfn convert_float_rtz(uchar);
  978. float __ovld __cnfn convert_float_rtp(uchar);
  979. float __ovld __cnfn convert_float_rtn(uchar);
  980. float __ovld __cnfn convert_float(uchar);
  981. float __ovld __cnfn convert_float_rte(short);
  982. float __ovld __cnfn convert_float_rtz(short);
  983. float __ovld __cnfn convert_float_rtp(short);
  984. float __ovld __cnfn convert_float_rtn(short);
  985. float __ovld __cnfn convert_float(short);
  986. float __ovld __cnfn convert_float_rte(ushort);
  987. float __ovld __cnfn convert_float_rtz(ushort);
  988. float __ovld __cnfn convert_float_rtp(ushort);
  989. float __ovld __cnfn convert_float_rtn(ushort);
  990. float __ovld __cnfn convert_float(ushort);
  991. float __ovld __cnfn convert_float_rte(int);
  992. float __ovld __cnfn convert_float_rtz(int);
  993. float __ovld __cnfn convert_float_rtp(int);
  994. float __ovld __cnfn convert_float_rtn(int);
  995. float __ovld __cnfn convert_float(int);
  996. float __ovld __cnfn convert_float_rte(uint);
  997. float __ovld __cnfn convert_float_rtz(uint);
  998. float __ovld __cnfn convert_float_rtp(uint);
  999. float __ovld __cnfn convert_float_rtn(uint);
  1000. float __ovld __cnfn convert_float(uint);
  1001. float __ovld __cnfn convert_float_rte(long);
  1002. float __ovld __cnfn convert_float_rtz(long);
  1003. float __ovld __cnfn convert_float_rtp(long);
  1004. float __ovld __cnfn convert_float_rtn(long);
  1005. float __ovld __cnfn convert_float(long);
  1006. float __ovld __cnfn convert_float_rte(ulong);
  1007. float __ovld __cnfn convert_float_rtz(ulong);
  1008. float __ovld __cnfn convert_float_rtp(ulong);
  1009. float __ovld __cnfn convert_float_rtn(ulong);
  1010. float __ovld __cnfn convert_float(ulong);
  1011. float __ovld __cnfn convert_float_rte(float);
  1012. float __ovld __cnfn convert_float_rtz(float);
  1013. float __ovld __cnfn convert_float_rtp(float);
  1014. float __ovld __cnfn convert_float_rtn(float);
  1015. float __ovld __cnfn convert_float(float);
  1016. char2 __ovld __cnfn convert_char2_rte(char2);
  1017. char2 __ovld __cnfn convert_char2_sat_rte(char2);
  1018. char2 __ovld __cnfn convert_char2_rtz(char2);
  1019. char2 __ovld __cnfn convert_char2_sat_rtz(char2);
  1020. char2 __ovld __cnfn convert_char2_rtp(char2);
  1021. char2 __ovld __cnfn convert_char2_sat_rtp(char2);
  1022. char2 __ovld __cnfn convert_char2_rtn(char2);
  1023. char2 __ovld __cnfn convert_char2_sat_rtn(char2);
  1024. char2 __ovld __cnfn convert_char2(char2);
  1025. char2 __ovld __cnfn convert_char2_sat(char2);
  1026. char2 __ovld __cnfn convert_char2_rte(uchar2);
  1027. char2 __ovld __cnfn convert_char2_sat_rte(uchar2);
  1028. char2 __ovld __cnfn convert_char2_rtz(uchar2);
  1029. char2 __ovld __cnfn convert_char2_sat_rtz(uchar2);
  1030. char2 __ovld __cnfn convert_char2_rtp(uchar2);
  1031. char2 __ovld __cnfn convert_char2_sat_rtp(uchar2);
  1032. char2 __ovld __cnfn convert_char2_rtn(uchar2);
  1033. char2 __ovld __cnfn convert_char2_sat_rtn(uchar2);
  1034. char2 __ovld __cnfn convert_char2(uchar2);
  1035. char2 __ovld __cnfn convert_char2_sat(uchar2);
  1036. char2 __ovld __cnfn convert_char2_rte(short2);
  1037. char2 __ovld __cnfn convert_char2_sat_rte(short2);
  1038. char2 __ovld __cnfn convert_char2_rtz(short2);
  1039. char2 __ovld __cnfn convert_char2_sat_rtz(short2);
  1040. char2 __ovld __cnfn convert_char2_rtp(short2);
  1041. char2 __ovld __cnfn convert_char2_sat_rtp(short2);
  1042. char2 __ovld __cnfn convert_char2_rtn(short2);
  1043. char2 __ovld __cnfn convert_char2_sat_rtn(short2);
  1044. char2 __ovld __cnfn convert_char2(short2);
  1045. char2 __ovld __cnfn convert_char2_sat(short2);
  1046. char2 __ovld __cnfn convert_char2_rte(ushort2);
  1047. char2 __ovld __cnfn convert_char2_sat_rte(ushort2);
  1048. char2 __ovld __cnfn convert_char2_rtz(ushort2);
  1049. char2 __ovld __cnfn convert_char2_sat_rtz(ushort2);
  1050. char2 __ovld __cnfn convert_char2_rtp(ushort2);
  1051. char2 __ovld __cnfn convert_char2_sat_rtp(ushort2);
  1052. char2 __ovld __cnfn convert_char2_rtn(ushort2);
  1053. char2 __ovld __cnfn convert_char2_sat_rtn(ushort2);
  1054. char2 __ovld __cnfn convert_char2(ushort2);
  1055. char2 __ovld __cnfn convert_char2_sat(ushort2);
  1056. char2 __ovld __cnfn convert_char2_rte(int2);
  1057. char2 __ovld __cnfn convert_char2_sat_rte(int2);
  1058. char2 __ovld __cnfn convert_char2_rtz(int2);
  1059. char2 __ovld __cnfn convert_char2_sat_rtz(int2);
  1060. char2 __ovld __cnfn convert_char2_rtp(int2);
  1061. char2 __ovld __cnfn convert_char2_sat_rtp(int2);
  1062. char2 __ovld __cnfn convert_char2_rtn(int2);
  1063. char2 __ovld __cnfn convert_char2_sat_rtn(int2);
  1064. char2 __ovld __cnfn convert_char2(int2);
  1065. char2 __ovld __cnfn convert_char2_sat(int2);
  1066. char2 __ovld __cnfn convert_char2_rte(uint2);
  1067. char2 __ovld __cnfn convert_char2_sat_rte(uint2);
  1068. char2 __ovld __cnfn convert_char2_rtz(uint2);
  1069. char2 __ovld __cnfn convert_char2_sat_rtz(uint2);
  1070. char2 __ovld __cnfn convert_char2_rtp(uint2);
  1071. char2 __ovld __cnfn convert_char2_sat_rtp(uint2);
  1072. char2 __ovld __cnfn convert_char2_rtn(uint2);
  1073. char2 __ovld __cnfn convert_char2_sat_rtn(uint2);
  1074. char2 __ovld __cnfn convert_char2(uint2);
  1075. char2 __ovld __cnfn convert_char2_sat(uint2);
  1076. char2 __ovld __cnfn convert_char2_rte(long2);
  1077. char2 __ovld __cnfn convert_char2_sat_rte(long2);
  1078. char2 __ovld __cnfn convert_char2_rtz(long2);
  1079. char2 __ovld __cnfn convert_char2_sat_rtz(long2);
  1080. char2 __ovld __cnfn convert_char2_rtp(long2);
  1081. char2 __ovld __cnfn convert_char2_sat_rtp(long2);
  1082. char2 __ovld __cnfn convert_char2_rtn(long2);
  1083. char2 __ovld __cnfn convert_char2_sat_rtn(long2);
  1084. char2 __ovld __cnfn convert_char2(long2);
  1085. char2 __ovld __cnfn convert_char2_sat(long2);
  1086. char2 __ovld __cnfn convert_char2_rte(ulong2);
  1087. char2 __ovld __cnfn convert_char2_sat_rte(ulong2);
  1088. char2 __ovld __cnfn convert_char2_rtz(ulong2);
  1089. char2 __ovld __cnfn convert_char2_sat_rtz(ulong2);
  1090. char2 __ovld __cnfn convert_char2_rtp(ulong2);
  1091. char2 __ovld __cnfn convert_char2_sat_rtp(ulong2);
  1092. char2 __ovld __cnfn convert_char2_rtn(ulong2);
  1093. char2 __ovld __cnfn convert_char2_sat_rtn(ulong2);
  1094. char2 __ovld __cnfn convert_char2(ulong2);
  1095. char2 __ovld __cnfn convert_char2_sat(ulong2);
  1096. char2 __ovld __cnfn convert_char2_rte(float2);
  1097. char2 __ovld __cnfn convert_char2_sat_rte(float2);
  1098. char2 __ovld __cnfn convert_char2_rtz(float2);
  1099. char2 __ovld __cnfn convert_char2_sat_rtz(float2);
  1100. char2 __ovld __cnfn convert_char2_rtp(float2);
  1101. char2 __ovld __cnfn convert_char2_sat_rtp(float2);
  1102. char2 __ovld __cnfn convert_char2_rtn(float2);
  1103. char2 __ovld __cnfn convert_char2_sat_rtn(float2);
  1104. char2 __ovld __cnfn convert_char2(float2);
  1105. char2 __ovld __cnfn convert_char2_sat(float2);
  1106. uchar2 __ovld __cnfn convert_uchar2_rte(char2);
  1107. uchar2 __ovld __cnfn convert_uchar2_sat_rte(char2);
  1108. uchar2 __ovld __cnfn convert_uchar2_rtz(char2);
  1109. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(char2);
  1110. uchar2 __ovld __cnfn convert_uchar2_rtp(char2);
  1111. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(char2);
  1112. uchar2 __ovld __cnfn convert_uchar2_rtn(char2);
  1113. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(char2);
  1114. uchar2 __ovld __cnfn convert_uchar2(char2);
  1115. uchar2 __ovld __cnfn convert_uchar2_sat(char2);
  1116. uchar2 __ovld __cnfn convert_uchar2_rte(uchar2);
  1117. uchar2 __ovld __cnfn convert_uchar2_sat_rte(uchar2);
  1118. uchar2 __ovld __cnfn convert_uchar2_rtz(uchar2);
  1119. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(uchar2);
  1120. uchar2 __ovld __cnfn convert_uchar2_rtp(uchar2);
  1121. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(uchar2);
  1122. uchar2 __ovld __cnfn convert_uchar2_rtn(uchar2);
  1123. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(uchar2);
  1124. uchar2 __ovld __cnfn convert_uchar2(uchar2);
  1125. uchar2 __ovld __cnfn convert_uchar2_sat(uchar2);
  1126. uchar2 __ovld __cnfn convert_uchar2_rte(short2);
  1127. uchar2 __ovld __cnfn convert_uchar2_sat_rte(short2);
  1128. uchar2 __ovld __cnfn convert_uchar2_rtz(short2);
  1129. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(short2);
  1130. uchar2 __ovld __cnfn convert_uchar2_rtp(short2);
  1131. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(short2);
  1132. uchar2 __ovld __cnfn convert_uchar2_rtn(short2);
  1133. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(short2);
  1134. uchar2 __ovld __cnfn convert_uchar2(short2);
  1135. uchar2 __ovld __cnfn convert_uchar2_sat(short2);
  1136. uchar2 __ovld __cnfn convert_uchar2_rte(ushort2);
  1137. uchar2 __ovld __cnfn convert_uchar2_sat_rte(ushort2);
  1138. uchar2 __ovld __cnfn convert_uchar2_rtz(ushort2);
  1139. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(ushort2);
  1140. uchar2 __ovld __cnfn convert_uchar2_rtp(ushort2);
  1141. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(ushort2);
  1142. uchar2 __ovld __cnfn convert_uchar2_rtn(ushort2);
  1143. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(ushort2);
  1144. uchar2 __ovld __cnfn convert_uchar2(ushort2);
  1145. uchar2 __ovld __cnfn convert_uchar2_sat(ushort2);
  1146. uchar2 __ovld __cnfn convert_uchar2_rte(int2);
  1147. uchar2 __ovld __cnfn convert_uchar2_sat_rte(int2);
  1148. uchar2 __ovld __cnfn convert_uchar2_rtz(int2);
  1149. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(int2);
  1150. uchar2 __ovld __cnfn convert_uchar2_rtp(int2);
  1151. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(int2);
  1152. uchar2 __ovld __cnfn convert_uchar2_rtn(int2);
  1153. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(int2);
  1154. uchar2 __ovld __cnfn convert_uchar2(int2);
  1155. uchar2 __ovld __cnfn convert_uchar2_sat(int2);
  1156. uchar2 __ovld __cnfn convert_uchar2_rte(uint2);
  1157. uchar2 __ovld __cnfn convert_uchar2_sat_rte(uint2);
  1158. uchar2 __ovld __cnfn convert_uchar2_rtz(uint2);
  1159. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(uint2);
  1160. uchar2 __ovld __cnfn convert_uchar2_rtp(uint2);
  1161. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(uint2);
  1162. uchar2 __ovld __cnfn convert_uchar2_rtn(uint2);
  1163. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(uint2);
  1164. uchar2 __ovld __cnfn convert_uchar2(uint2);
  1165. uchar2 __ovld __cnfn convert_uchar2_sat(uint2);
  1166. uchar2 __ovld __cnfn convert_uchar2_rte(long2);
  1167. uchar2 __ovld __cnfn convert_uchar2_sat_rte(long2);
  1168. uchar2 __ovld __cnfn convert_uchar2_rtz(long2);
  1169. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(long2);
  1170. uchar2 __ovld __cnfn convert_uchar2_rtp(long2);
  1171. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(long2);
  1172. uchar2 __ovld __cnfn convert_uchar2_rtn(long2);
  1173. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(long2);
  1174. uchar2 __ovld __cnfn convert_uchar2(long2);
  1175. uchar2 __ovld __cnfn convert_uchar2_sat(long2);
  1176. uchar2 __ovld __cnfn convert_uchar2_rte(ulong2);
  1177. uchar2 __ovld __cnfn convert_uchar2_sat_rte(ulong2);
  1178. uchar2 __ovld __cnfn convert_uchar2_rtz(ulong2);
  1179. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(ulong2);
  1180. uchar2 __ovld __cnfn convert_uchar2_rtp(ulong2);
  1181. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(ulong2);
  1182. uchar2 __ovld __cnfn convert_uchar2_rtn(ulong2);
  1183. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(ulong2);
  1184. uchar2 __ovld __cnfn convert_uchar2(ulong2);
  1185. uchar2 __ovld __cnfn convert_uchar2_sat(ulong2);
  1186. uchar2 __ovld __cnfn convert_uchar2_rte(float2);
  1187. uchar2 __ovld __cnfn convert_uchar2_sat_rte(float2);
  1188. uchar2 __ovld __cnfn convert_uchar2_rtz(float2);
  1189. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(float2);
  1190. uchar2 __ovld __cnfn convert_uchar2_rtp(float2);
  1191. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(float2);
  1192. uchar2 __ovld __cnfn convert_uchar2_rtn(float2);
  1193. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(float2);
  1194. uchar2 __ovld __cnfn convert_uchar2(float2);
  1195. uchar2 __ovld __cnfn convert_uchar2_sat(float2);
  1196. short2 __ovld __cnfn convert_short2_rte(char2);
  1197. short2 __ovld __cnfn convert_short2_sat_rte(char2);
  1198. short2 __ovld __cnfn convert_short2_rtz(char2);
  1199. short2 __ovld __cnfn convert_short2_sat_rtz(char2);
  1200. short2 __ovld __cnfn convert_short2_rtp(char2);
  1201. short2 __ovld __cnfn convert_short2_sat_rtp(char2);
  1202. short2 __ovld __cnfn convert_short2_rtn(char2);
  1203. short2 __ovld __cnfn convert_short2_sat_rtn(char2);
  1204. short2 __ovld __cnfn convert_short2(char2);
  1205. short2 __ovld __cnfn convert_short2_sat(char2);
  1206. short2 __ovld __cnfn convert_short2_rte(uchar2);
  1207. short2 __ovld __cnfn convert_short2_sat_rte(uchar2);
  1208. short2 __ovld __cnfn convert_short2_rtz(uchar2);
  1209. short2 __ovld __cnfn convert_short2_sat_rtz(uchar2);
  1210. short2 __ovld __cnfn convert_short2_rtp(uchar2);
  1211. short2 __ovld __cnfn convert_short2_sat_rtp(uchar2);
  1212. short2 __ovld __cnfn convert_short2_rtn(uchar2);
  1213. short2 __ovld __cnfn convert_short2_sat_rtn(uchar2);
  1214. short2 __ovld __cnfn convert_short2(uchar2);
  1215. short2 __ovld __cnfn convert_short2_sat(uchar2);
  1216. short2 __ovld __cnfn convert_short2_rte(short2);
  1217. short2 __ovld __cnfn convert_short2_sat_rte(short2);
  1218. short2 __ovld __cnfn convert_short2_rtz(short2);
  1219. short2 __ovld __cnfn convert_short2_sat_rtz(short2);
  1220. short2 __ovld __cnfn convert_short2_rtp(short2);
  1221. short2 __ovld __cnfn convert_short2_sat_rtp(short2);
  1222. short2 __ovld __cnfn convert_short2_rtn(short2);
  1223. short2 __ovld __cnfn convert_short2_sat_rtn(short2);
  1224. short2 __ovld __cnfn convert_short2(short2);
  1225. short2 __ovld __cnfn convert_short2_sat(short2);
  1226. short2 __ovld __cnfn convert_short2_rte(ushort2);
  1227. short2 __ovld __cnfn convert_short2_sat_rte(ushort2);
  1228. short2 __ovld __cnfn convert_short2_rtz(ushort2);
  1229. short2 __ovld __cnfn convert_short2_sat_rtz(ushort2);
  1230. short2 __ovld __cnfn convert_short2_rtp(ushort2);
  1231. short2 __ovld __cnfn convert_short2_sat_rtp(ushort2);
  1232. short2 __ovld __cnfn convert_short2_rtn(ushort2);
  1233. short2 __ovld __cnfn convert_short2_sat_rtn(ushort2);
  1234. short2 __ovld __cnfn convert_short2(ushort2);
  1235. short2 __ovld __cnfn convert_short2_sat(ushort2);
  1236. short2 __ovld __cnfn convert_short2_rte(int2);
  1237. short2 __ovld __cnfn convert_short2_sat_rte(int2);
  1238. short2 __ovld __cnfn convert_short2_rtz(int2);
  1239. short2 __ovld __cnfn convert_short2_sat_rtz(int2);
  1240. short2 __ovld __cnfn convert_short2_rtp(int2);
  1241. short2 __ovld __cnfn convert_short2_sat_rtp(int2);
  1242. short2 __ovld __cnfn convert_short2_rtn(int2);
  1243. short2 __ovld __cnfn convert_short2_sat_rtn(int2);
  1244. short2 __ovld __cnfn convert_short2(int2);
  1245. short2 __ovld __cnfn convert_short2_sat(int2);
  1246. short2 __ovld __cnfn convert_short2_rte(uint2);
  1247. short2 __ovld __cnfn convert_short2_sat_rte(uint2);
  1248. short2 __ovld __cnfn convert_short2_rtz(uint2);
  1249. short2 __ovld __cnfn convert_short2_sat_rtz(uint2);
  1250. short2 __ovld __cnfn convert_short2_rtp(uint2);
  1251. short2 __ovld __cnfn convert_short2_sat_rtp(uint2);
  1252. short2 __ovld __cnfn convert_short2_rtn(uint2);
  1253. short2 __ovld __cnfn convert_short2_sat_rtn(uint2);
  1254. short2 __ovld __cnfn convert_short2(uint2);
  1255. short2 __ovld __cnfn convert_short2_sat(uint2);
  1256. short2 __ovld __cnfn convert_short2_rte(long2);
  1257. short2 __ovld __cnfn convert_short2_sat_rte(long2);
  1258. short2 __ovld __cnfn convert_short2_rtz(long2);
  1259. short2 __ovld __cnfn convert_short2_sat_rtz(long2);
  1260. short2 __ovld __cnfn convert_short2_rtp(long2);
  1261. short2 __ovld __cnfn convert_short2_sat_rtp(long2);
  1262. short2 __ovld __cnfn convert_short2_rtn(long2);
  1263. short2 __ovld __cnfn convert_short2_sat_rtn(long2);
  1264. short2 __ovld __cnfn convert_short2(long2);
  1265. short2 __ovld __cnfn convert_short2_sat(long2);
  1266. short2 __ovld __cnfn convert_short2_rte(ulong2);
  1267. short2 __ovld __cnfn convert_short2_sat_rte(ulong2);
  1268. short2 __ovld __cnfn convert_short2_rtz(ulong2);
  1269. short2 __ovld __cnfn convert_short2_sat_rtz(ulong2);
  1270. short2 __ovld __cnfn convert_short2_rtp(ulong2);
  1271. short2 __ovld __cnfn convert_short2_sat_rtp(ulong2);
  1272. short2 __ovld __cnfn convert_short2_rtn(ulong2);
  1273. short2 __ovld __cnfn convert_short2_sat_rtn(ulong2);
  1274. short2 __ovld __cnfn convert_short2(ulong2);
  1275. short2 __ovld __cnfn convert_short2_sat(ulong2);
  1276. short2 __ovld __cnfn convert_short2_rte(float2);
  1277. short2 __ovld __cnfn convert_short2_sat_rte(float2);
  1278. short2 __ovld __cnfn convert_short2_rtz(float2);
  1279. short2 __ovld __cnfn convert_short2_sat_rtz(float2);
  1280. short2 __ovld __cnfn convert_short2_rtp(float2);
  1281. short2 __ovld __cnfn convert_short2_sat_rtp(float2);
  1282. short2 __ovld __cnfn convert_short2_rtn(float2);
  1283. short2 __ovld __cnfn convert_short2_sat_rtn(float2);
  1284. short2 __ovld __cnfn convert_short2(float2);
  1285. short2 __ovld __cnfn convert_short2_sat(float2);
  1286. ushort2 __ovld __cnfn convert_ushort2_rte(char2);
  1287. ushort2 __ovld __cnfn convert_ushort2_sat_rte(char2);
  1288. ushort2 __ovld __cnfn convert_ushort2_rtz(char2);
  1289. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(char2);
  1290. ushort2 __ovld __cnfn convert_ushort2_rtp(char2);
  1291. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(char2);
  1292. ushort2 __ovld __cnfn convert_ushort2_rtn(char2);
  1293. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(char2);
  1294. ushort2 __ovld __cnfn convert_ushort2(char2);
  1295. ushort2 __ovld __cnfn convert_ushort2_sat(char2);
  1296. ushort2 __ovld __cnfn convert_ushort2_rte(uchar2);
  1297. ushort2 __ovld __cnfn convert_ushort2_sat_rte(uchar2);
  1298. ushort2 __ovld __cnfn convert_ushort2_rtz(uchar2);
  1299. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(uchar2);
  1300. ushort2 __ovld __cnfn convert_ushort2_rtp(uchar2);
  1301. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(uchar2);
  1302. ushort2 __ovld __cnfn convert_ushort2_rtn(uchar2);
  1303. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(uchar2);
  1304. ushort2 __ovld __cnfn convert_ushort2(uchar2);
  1305. ushort2 __ovld __cnfn convert_ushort2_sat(uchar2);
  1306. ushort2 __ovld __cnfn convert_ushort2_rte(short2);
  1307. ushort2 __ovld __cnfn convert_ushort2_sat_rte(short2);
  1308. ushort2 __ovld __cnfn convert_ushort2_rtz(short2);
  1309. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(short2);
  1310. ushort2 __ovld __cnfn convert_ushort2_rtp(short2);
  1311. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(short2);
  1312. ushort2 __ovld __cnfn convert_ushort2_rtn(short2);
  1313. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(short2);
  1314. ushort2 __ovld __cnfn convert_ushort2(short2);
  1315. ushort2 __ovld __cnfn convert_ushort2_sat(short2);
  1316. ushort2 __ovld __cnfn convert_ushort2_rte(ushort2);
  1317. ushort2 __ovld __cnfn convert_ushort2_sat_rte(ushort2);
  1318. ushort2 __ovld __cnfn convert_ushort2_rtz(ushort2);
  1319. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(ushort2);
  1320. ushort2 __ovld __cnfn convert_ushort2_rtp(ushort2);
  1321. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(ushort2);
  1322. ushort2 __ovld __cnfn convert_ushort2_rtn(ushort2);
  1323. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(ushort2);
  1324. ushort2 __ovld __cnfn convert_ushort2(ushort2);
  1325. ushort2 __ovld __cnfn convert_ushort2_sat(ushort2);
  1326. ushort2 __ovld __cnfn convert_ushort2_rte(int2);
  1327. ushort2 __ovld __cnfn convert_ushort2_sat_rte(int2);
  1328. ushort2 __ovld __cnfn convert_ushort2_rtz(int2);
  1329. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(int2);
  1330. ushort2 __ovld __cnfn convert_ushort2_rtp(int2);
  1331. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(int2);
  1332. ushort2 __ovld __cnfn convert_ushort2_rtn(int2);
  1333. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(int2);
  1334. ushort2 __ovld __cnfn convert_ushort2(int2);
  1335. ushort2 __ovld __cnfn convert_ushort2_sat(int2);
  1336. ushort2 __ovld __cnfn convert_ushort2_rte(uint2);
  1337. ushort2 __ovld __cnfn convert_ushort2_sat_rte(uint2);
  1338. ushort2 __ovld __cnfn convert_ushort2_rtz(uint2);
  1339. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(uint2);
  1340. ushort2 __ovld __cnfn convert_ushort2_rtp(uint2);
  1341. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(uint2);
  1342. ushort2 __ovld __cnfn convert_ushort2_rtn(uint2);
  1343. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(uint2);
  1344. ushort2 __ovld __cnfn convert_ushort2(uint2);
  1345. ushort2 __ovld __cnfn convert_ushort2_sat(uint2);
  1346. ushort2 __ovld __cnfn convert_ushort2_rte(long2);
  1347. ushort2 __ovld __cnfn convert_ushort2_sat_rte(long2);
  1348. ushort2 __ovld __cnfn convert_ushort2_rtz(long2);
  1349. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(long2);
  1350. ushort2 __ovld __cnfn convert_ushort2_rtp(long2);
  1351. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(long2);
  1352. ushort2 __ovld __cnfn convert_ushort2_rtn(long2);
  1353. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(long2);
  1354. ushort2 __ovld __cnfn convert_ushort2(long2);
  1355. ushort2 __ovld __cnfn convert_ushort2_sat(long2);
  1356. ushort2 __ovld __cnfn convert_ushort2_rte(ulong2);
  1357. ushort2 __ovld __cnfn convert_ushort2_sat_rte(ulong2);
  1358. ushort2 __ovld __cnfn convert_ushort2_rtz(ulong2);
  1359. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(ulong2);
  1360. ushort2 __ovld __cnfn convert_ushort2_rtp(ulong2);
  1361. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(ulong2);
  1362. ushort2 __ovld __cnfn convert_ushort2_rtn(ulong2);
  1363. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(ulong2);
  1364. ushort2 __ovld __cnfn convert_ushort2(ulong2);
  1365. ushort2 __ovld __cnfn convert_ushort2_sat(ulong2);
  1366. ushort2 __ovld __cnfn convert_ushort2_rte(float2);
  1367. ushort2 __ovld __cnfn convert_ushort2_sat_rte(float2);
  1368. ushort2 __ovld __cnfn convert_ushort2_rtz(float2);
  1369. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(float2);
  1370. ushort2 __ovld __cnfn convert_ushort2_rtp(float2);
  1371. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(float2);
  1372. ushort2 __ovld __cnfn convert_ushort2_rtn(float2);
  1373. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(float2);
  1374. ushort2 __ovld __cnfn convert_ushort2(float2);
  1375. ushort2 __ovld __cnfn convert_ushort2_sat(float2);
  1376. int2 __ovld __cnfn convert_int2_rte(char2);
  1377. int2 __ovld __cnfn convert_int2_sat_rte(char2);
  1378. int2 __ovld __cnfn convert_int2_rtz(char2);
  1379. int2 __ovld __cnfn convert_int2_sat_rtz(char2);
  1380. int2 __ovld __cnfn convert_int2_rtp(char2);
  1381. int2 __ovld __cnfn convert_int2_sat_rtp(char2);
  1382. int2 __ovld __cnfn convert_int2_rtn(char2);
  1383. int2 __ovld __cnfn convert_int2_sat_rtn(char2);
  1384. int2 __ovld __cnfn convert_int2(char2);
  1385. int2 __ovld __cnfn convert_int2_sat(char2);
  1386. int2 __ovld __cnfn convert_int2_rte(uchar2);
  1387. int2 __ovld __cnfn convert_int2_sat_rte(uchar2);
  1388. int2 __ovld __cnfn convert_int2_rtz(uchar2);
  1389. int2 __ovld __cnfn convert_int2_sat_rtz(uchar2);
  1390. int2 __ovld __cnfn convert_int2_rtp(uchar2);
  1391. int2 __ovld __cnfn convert_int2_sat_rtp(uchar2);
  1392. int2 __ovld __cnfn convert_int2_rtn(uchar2);
  1393. int2 __ovld __cnfn convert_int2_sat_rtn(uchar2);
  1394. int2 __ovld __cnfn convert_int2(uchar2);
  1395. int2 __ovld __cnfn convert_int2_sat(uchar2);
  1396. int2 __ovld __cnfn convert_int2_rte(short2);
  1397. int2 __ovld __cnfn convert_int2_sat_rte(short2);
  1398. int2 __ovld __cnfn convert_int2_rtz(short2);
  1399. int2 __ovld __cnfn convert_int2_sat_rtz(short2);
  1400. int2 __ovld __cnfn convert_int2_rtp(short2);
  1401. int2 __ovld __cnfn convert_int2_sat_rtp(short2);
  1402. int2 __ovld __cnfn convert_int2_rtn(short2);
  1403. int2 __ovld __cnfn convert_int2_sat_rtn(short2);
  1404. int2 __ovld __cnfn convert_int2(short2);
  1405. int2 __ovld __cnfn convert_int2_sat(short2);
  1406. int2 __ovld __cnfn convert_int2_rte(ushort2);
  1407. int2 __ovld __cnfn convert_int2_sat_rte(ushort2);
  1408. int2 __ovld __cnfn convert_int2_rtz(ushort2);
  1409. int2 __ovld __cnfn convert_int2_sat_rtz(ushort2);
  1410. int2 __ovld __cnfn convert_int2_rtp(ushort2);
  1411. int2 __ovld __cnfn convert_int2_sat_rtp(ushort2);
  1412. int2 __ovld __cnfn convert_int2_rtn(ushort2);
  1413. int2 __ovld __cnfn convert_int2_sat_rtn(ushort2);
  1414. int2 __ovld __cnfn convert_int2(ushort2);
  1415. int2 __ovld __cnfn convert_int2_sat(ushort2);
  1416. int2 __ovld __cnfn convert_int2_rte(int2);
  1417. int2 __ovld __cnfn convert_int2_sat_rte(int2);
  1418. int2 __ovld __cnfn convert_int2_rtz(int2);
  1419. int2 __ovld __cnfn convert_int2_sat_rtz(int2);
  1420. int2 __ovld __cnfn convert_int2_rtp(int2);
  1421. int2 __ovld __cnfn convert_int2_sat_rtp(int2);
  1422. int2 __ovld __cnfn convert_int2_rtn(int2);
  1423. int2 __ovld __cnfn convert_int2_sat_rtn(int2);
  1424. int2 __ovld __cnfn convert_int2(int2);
  1425. int2 __ovld __cnfn convert_int2_sat(int2);
  1426. int2 __ovld __cnfn convert_int2_rte(uint2);
  1427. int2 __ovld __cnfn convert_int2_sat_rte(uint2);
  1428. int2 __ovld __cnfn convert_int2_rtz(uint2);
  1429. int2 __ovld __cnfn convert_int2_sat_rtz(uint2);
  1430. int2 __ovld __cnfn convert_int2_rtp(uint2);
  1431. int2 __ovld __cnfn convert_int2_sat_rtp(uint2);
  1432. int2 __ovld __cnfn convert_int2_rtn(uint2);
  1433. int2 __ovld __cnfn convert_int2_sat_rtn(uint2);
  1434. int2 __ovld __cnfn convert_int2(uint2);
  1435. int2 __ovld __cnfn convert_int2_sat(uint2);
  1436. int2 __ovld __cnfn convert_int2_rte(long2);
  1437. int2 __ovld __cnfn convert_int2_sat_rte(long2);
  1438. int2 __ovld __cnfn convert_int2_rtz(long2);
  1439. int2 __ovld __cnfn convert_int2_sat_rtz(long2);
  1440. int2 __ovld __cnfn convert_int2_rtp(long2);
  1441. int2 __ovld __cnfn convert_int2_sat_rtp(long2);
  1442. int2 __ovld __cnfn convert_int2_rtn(long2);
  1443. int2 __ovld __cnfn convert_int2_sat_rtn(long2);
  1444. int2 __ovld __cnfn convert_int2(long2);
  1445. int2 __ovld __cnfn convert_int2_sat(long2);
  1446. int2 __ovld __cnfn convert_int2_rte(ulong2);
  1447. int2 __ovld __cnfn convert_int2_sat_rte(ulong2);
  1448. int2 __ovld __cnfn convert_int2_rtz(ulong2);
  1449. int2 __ovld __cnfn convert_int2_sat_rtz(ulong2);
  1450. int2 __ovld __cnfn convert_int2_rtp(ulong2);
  1451. int2 __ovld __cnfn convert_int2_sat_rtp(ulong2);
  1452. int2 __ovld __cnfn convert_int2_rtn(ulong2);
  1453. int2 __ovld __cnfn convert_int2_sat_rtn(ulong2);
  1454. int2 __ovld __cnfn convert_int2(ulong2);
  1455. int2 __ovld __cnfn convert_int2_sat(ulong2);
  1456. int2 __ovld __cnfn convert_int2_rte(float2);
  1457. int2 __ovld __cnfn convert_int2_sat_rte(float2);
  1458. int2 __ovld __cnfn convert_int2_rtz(float2);
  1459. int2 __ovld __cnfn convert_int2_sat_rtz(float2);
  1460. int2 __ovld __cnfn convert_int2_rtp(float2);
  1461. int2 __ovld __cnfn convert_int2_sat_rtp(float2);
  1462. int2 __ovld __cnfn convert_int2_rtn(float2);
  1463. int2 __ovld __cnfn convert_int2_sat_rtn(float2);
  1464. int2 __ovld __cnfn convert_int2(float2);
  1465. int2 __ovld __cnfn convert_int2_sat(float2);
  1466. uint2 __ovld __cnfn convert_uint2_rte(char2);
  1467. uint2 __ovld __cnfn convert_uint2_sat_rte(char2);
  1468. uint2 __ovld __cnfn convert_uint2_rtz(char2);
  1469. uint2 __ovld __cnfn convert_uint2_sat_rtz(char2);
  1470. uint2 __ovld __cnfn convert_uint2_rtp(char2);
  1471. uint2 __ovld __cnfn convert_uint2_sat_rtp(char2);
  1472. uint2 __ovld __cnfn convert_uint2_rtn(char2);
  1473. uint2 __ovld __cnfn convert_uint2_sat_rtn(char2);
  1474. uint2 __ovld __cnfn convert_uint2(char2);
  1475. uint2 __ovld __cnfn convert_uint2_sat(char2);
  1476. uint2 __ovld __cnfn convert_uint2_rte(uchar2);
  1477. uint2 __ovld __cnfn convert_uint2_sat_rte(uchar2);
  1478. uint2 __ovld __cnfn convert_uint2_rtz(uchar2);
  1479. uint2 __ovld __cnfn convert_uint2_sat_rtz(uchar2);
  1480. uint2 __ovld __cnfn convert_uint2_rtp(uchar2);
  1481. uint2 __ovld __cnfn convert_uint2_sat_rtp(uchar2);
  1482. uint2 __ovld __cnfn convert_uint2_rtn(uchar2);
  1483. uint2 __ovld __cnfn convert_uint2_sat_rtn(uchar2);
  1484. uint2 __ovld __cnfn convert_uint2(uchar2);
  1485. uint2 __ovld __cnfn convert_uint2_sat(uchar2);
  1486. uint2 __ovld __cnfn convert_uint2_rte(short2);
  1487. uint2 __ovld __cnfn convert_uint2_sat_rte(short2);
  1488. uint2 __ovld __cnfn convert_uint2_rtz(short2);
  1489. uint2 __ovld __cnfn convert_uint2_sat_rtz(short2);
  1490. uint2 __ovld __cnfn convert_uint2_rtp(short2);
  1491. uint2 __ovld __cnfn convert_uint2_sat_rtp(short2);
  1492. uint2 __ovld __cnfn convert_uint2_rtn(short2);
  1493. uint2 __ovld __cnfn convert_uint2_sat_rtn(short2);
  1494. uint2 __ovld __cnfn convert_uint2(short2);
  1495. uint2 __ovld __cnfn convert_uint2_sat(short2);
  1496. uint2 __ovld __cnfn convert_uint2_rte(ushort2);
  1497. uint2 __ovld __cnfn convert_uint2_sat_rte(ushort2);
  1498. uint2 __ovld __cnfn convert_uint2_rtz(ushort2);
  1499. uint2 __ovld __cnfn convert_uint2_sat_rtz(ushort2);
  1500. uint2 __ovld __cnfn convert_uint2_rtp(ushort2);
  1501. uint2 __ovld __cnfn convert_uint2_sat_rtp(ushort2);
  1502. uint2 __ovld __cnfn convert_uint2_rtn(ushort2);
  1503. uint2 __ovld __cnfn convert_uint2_sat_rtn(ushort2);
  1504. uint2 __ovld __cnfn convert_uint2(ushort2);
  1505. uint2 __ovld __cnfn convert_uint2_sat(ushort2);
  1506. uint2 __ovld __cnfn convert_uint2_rte(int2);
  1507. uint2 __ovld __cnfn convert_uint2_sat_rte(int2);
  1508. uint2 __ovld __cnfn convert_uint2_rtz(int2);
  1509. uint2 __ovld __cnfn convert_uint2_sat_rtz(int2);
  1510. uint2 __ovld __cnfn convert_uint2_rtp(int2);
  1511. uint2 __ovld __cnfn convert_uint2_sat_rtp(int2);
  1512. uint2 __ovld __cnfn convert_uint2_rtn(int2);
  1513. uint2 __ovld __cnfn convert_uint2_sat_rtn(int2);
  1514. uint2 __ovld __cnfn convert_uint2(int2);
  1515. uint2 __ovld __cnfn convert_uint2_sat(int2);
  1516. uint2 __ovld __cnfn convert_uint2_rte(uint2);
  1517. uint2 __ovld __cnfn convert_uint2_sat_rte(uint2);
  1518. uint2 __ovld __cnfn convert_uint2_rtz(uint2);
  1519. uint2 __ovld __cnfn convert_uint2_sat_rtz(uint2);
  1520. uint2 __ovld __cnfn convert_uint2_rtp(uint2);
  1521. uint2 __ovld __cnfn convert_uint2_sat_rtp(uint2);
  1522. uint2 __ovld __cnfn convert_uint2_rtn(uint2);
  1523. uint2 __ovld __cnfn convert_uint2_sat_rtn(uint2);
  1524. uint2 __ovld __cnfn convert_uint2(uint2);
  1525. uint2 __ovld __cnfn convert_uint2_sat(uint2);
  1526. uint2 __ovld __cnfn convert_uint2_rte(long2);
  1527. uint2 __ovld __cnfn convert_uint2_sat_rte(long2);
  1528. uint2 __ovld __cnfn convert_uint2_rtz(long2);
  1529. uint2 __ovld __cnfn convert_uint2_sat_rtz(long2);
  1530. uint2 __ovld __cnfn convert_uint2_rtp(long2);
  1531. uint2 __ovld __cnfn convert_uint2_sat_rtp(long2);
  1532. uint2 __ovld __cnfn convert_uint2_rtn(long2);
  1533. uint2 __ovld __cnfn convert_uint2_sat_rtn(long2);
  1534. uint2 __ovld __cnfn convert_uint2(long2);
  1535. uint2 __ovld __cnfn convert_uint2_sat(long2);
  1536. uint2 __ovld __cnfn convert_uint2_rte(ulong2);
  1537. uint2 __ovld __cnfn convert_uint2_sat_rte(ulong2);
  1538. uint2 __ovld __cnfn convert_uint2_rtz(ulong2);
  1539. uint2 __ovld __cnfn convert_uint2_sat_rtz(ulong2);
  1540. uint2 __ovld __cnfn convert_uint2_rtp(ulong2);
  1541. uint2 __ovld __cnfn convert_uint2_sat_rtp(ulong2);
  1542. uint2 __ovld __cnfn convert_uint2_rtn(ulong2);
  1543. uint2 __ovld __cnfn convert_uint2_sat_rtn(ulong2);
  1544. uint2 __ovld __cnfn convert_uint2(ulong2);
  1545. uint2 __ovld __cnfn convert_uint2_sat(ulong2);
  1546. uint2 __ovld __cnfn convert_uint2_rte(float2);
  1547. uint2 __ovld __cnfn convert_uint2_sat_rte(float2);
  1548. uint2 __ovld __cnfn convert_uint2_rtz(float2);
  1549. uint2 __ovld __cnfn convert_uint2_sat_rtz(float2);
  1550. uint2 __ovld __cnfn convert_uint2_rtp(float2);
  1551. uint2 __ovld __cnfn convert_uint2_sat_rtp(float2);
  1552. uint2 __ovld __cnfn convert_uint2_rtn(float2);
  1553. uint2 __ovld __cnfn convert_uint2_sat_rtn(float2);
  1554. uint2 __ovld __cnfn convert_uint2(float2);
  1555. uint2 __ovld __cnfn convert_uint2_sat(float2);
  1556. long2 __ovld __cnfn convert_long2_rte(char2);
  1557. long2 __ovld __cnfn convert_long2_sat_rte(char2);
  1558. long2 __ovld __cnfn convert_long2_rtz(char2);
  1559. long2 __ovld __cnfn convert_long2_sat_rtz(char2);
  1560. long2 __ovld __cnfn convert_long2_rtp(char2);
  1561. long2 __ovld __cnfn convert_long2_sat_rtp(char2);
  1562. long2 __ovld __cnfn convert_long2_rtn(char2);
  1563. long2 __ovld __cnfn convert_long2_sat_rtn(char2);
  1564. long2 __ovld __cnfn convert_long2(char2);
  1565. long2 __ovld __cnfn convert_long2_sat(char2);
  1566. long2 __ovld __cnfn convert_long2_rte(uchar2);
  1567. long2 __ovld __cnfn convert_long2_sat_rte(uchar2);
  1568. long2 __ovld __cnfn convert_long2_rtz(uchar2);
  1569. long2 __ovld __cnfn convert_long2_sat_rtz(uchar2);
  1570. long2 __ovld __cnfn convert_long2_rtp(uchar2);
  1571. long2 __ovld __cnfn convert_long2_sat_rtp(uchar2);
  1572. long2 __ovld __cnfn convert_long2_rtn(uchar2);
  1573. long2 __ovld __cnfn convert_long2_sat_rtn(uchar2);
  1574. long2 __ovld __cnfn convert_long2(uchar2);
  1575. long2 __ovld __cnfn convert_long2_sat(uchar2);
  1576. long2 __ovld __cnfn convert_long2_rte(short2);
  1577. long2 __ovld __cnfn convert_long2_sat_rte(short2);
  1578. long2 __ovld __cnfn convert_long2_rtz(short2);
  1579. long2 __ovld __cnfn convert_long2_sat_rtz(short2);
  1580. long2 __ovld __cnfn convert_long2_rtp(short2);
  1581. long2 __ovld __cnfn convert_long2_sat_rtp(short2);
  1582. long2 __ovld __cnfn convert_long2_rtn(short2);
  1583. long2 __ovld __cnfn convert_long2_sat_rtn(short2);
  1584. long2 __ovld __cnfn convert_long2(short2);
  1585. long2 __ovld __cnfn convert_long2_sat(short2);
  1586. long2 __ovld __cnfn convert_long2_rte(ushort2);
  1587. long2 __ovld __cnfn convert_long2_sat_rte(ushort2);
  1588. long2 __ovld __cnfn convert_long2_rtz(ushort2);
  1589. long2 __ovld __cnfn convert_long2_sat_rtz(ushort2);
  1590. long2 __ovld __cnfn convert_long2_rtp(ushort2);
  1591. long2 __ovld __cnfn convert_long2_sat_rtp(ushort2);
  1592. long2 __ovld __cnfn convert_long2_rtn(ushort2);
  1593. long2 __ovld __cnfn convert_long2_sat_rtn(ushort2);
  1594. long2 __ovld __cnfn convert_long2(ushort2);
  1595. long2 __ovld __cnfn convert_long2_sat(ushort2);
  1596. long2 __ovld __cnfn convert_long2_rte(int2);
  1597. long2 __ovld __cnfn convert_long2_sat_rte(int2);
  1598. long2 __ovld __cnfn convert_long2_rtz(int2);
  1599. long2 __ovld __cnfn convert_long2_sat_rtz(int2);
  1600. long2 __ovld __cnfn convert_long2_rtp(int2);
  1601. long2 __ovld __cnfn convert_long2_sat_rtp(int2);
  1602. long2 __ovld __cnfn convert_long2_rtn(int2);
  1603. long2 __ovld __cnfn convert_long2_sat_rtn(int2);
  1604. long2 __ovld __cnfn convert_long2(int2);
  1605. long2 __ovld __cnfn convert_long2_sat(int2);
  1606. long2 __ovld __cnfn convert_long2_rte(uint2);
  1607. long2 __ovld __cnfn convert_long2_sat_rte(uint2);
  1608. long2 __ovld __cnfn convert_long2_rtz(uint2);
  1609. long2 __ovld __cnfn convert_long2_sat_rtz(uint2);
  1610. long2 __ovld __cnfn convert_long2_rtp(uint2);
  1611. long2 __ovld __cnfn convert_long2_sat_rtp(uint2);
  1612. long2 __ovld __cnfn convert_long2_rtn(uint2);
  1613. long2 __ovld __cnfn convert_long2_sat_rtn(uint2);
  1614. long2 __ovld __cnfn convert_long2(uint2);
  1615. long2 __ovld __cnfn convert_long2_sat(uint2);
  1616. long2 __ovld __cnfn convert_long2_rte(long2);
  1617. long2 __ovld __cnfn convert_long2_sat_rte(long2);
  1618. long2 __ovld __cnfn convert_long2_rtz(long2);
  1619. long2 __ovld __cnfn convert_long2_sat_rtz(long2);
  1620. long2 __ovld __cnfn convert_long2_rtp(long2);
  1621. long2 __ovld __cnfn convert_long2_sat_rtp(long2);
  1622. long2 __ovld __cnfn convert_long2_rtn(long2);
  1623. long2 __ovld __cnfn convert_long2_sat_rtn(long2);
  1624. long2 __ovld __cnfn convert_long2(long2);
  1625. long2 __ovld __cnfn convert_long2_sat(long2);
  1626. long2 __ovld __cnfn convert_long2_rte(ulong2);
  1627. long2 __ovld __cnfn convert_long2_sat_rte(ulong2);
  1628. long2 __ovld __cnfn convert_long2_rtz(ulong2);
  1629. long2 __ovld __cnfn convert_long2_sat_rtz(ulong2);
  1630. long2 __ovld __cnfn convert_long2_rtp(ulong2);
  1631. long2 __ovld __cnfn convert_long2_sat_rtp(ulong2);
  1632. long2 __ovld __cnfn convert_long2_rtn(ulong2);
  1633. long2 __ovld __cnfn convert_long2_sat_rtn(ulong2);
  1634. long2 __ovld __cnfn convert_long2(ulong2);
  1635. long2 __ovld __cnfn convert_long2_sat(ulong2);
  1636. long2 __ovld __cnfn convert_long2_rte(float2);
  1637. long2 __ovld __cnfn convert_long2_sat_rte(float2);
  1638. long2 __ovld __cnfn convert_long2_rtz(float2);
  1639. long2 __ovld __cnfn convert_long2_sat_rtz(float2);
  1640. long2 __ovld __cnfn convert_long2_rtp(float2);
  1641. long2 __ovld __cnfn convert_long2_sat_rtp(float2);
  1642. long2 __ovld __cnfn convert_long2_rtn(float2);
  1643. long2 __ovld __cnfn convert_long2_sat_rtn(float2);
  1644. long2 __ovld __cnfn convert_long2(float2);
  1645. long2 __ovld __cnfn convert_long2_sat(float2);
  1646. ulong2 __ovld __cnfn convert_ulong2_rte(char2);
  1647. ulong2 __ovld __cnfn convert_ulong2_sat_rte(char2);
  1648. ulong2 __ovld __cnfn convert_ulong2_rtz(char2);
  1649. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(char2);
  1650. ulong2 __ovld __cnfn convert_ulong2_rtp(char2);
  1651. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(char2);
  1652. ulong2 __ovld __cnfn convert_ulong2_rtn(char2);
  1653. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(char2);
  1654. ulong2 __ovld __cnfn convert_ulong2(char2);
  1655. ulong2 __ovld __cnfn convert_ulong2_sat(char2);
  1656. ulong2 __ovld __cnfn convert_ulong2_rte(uchar2);
  1657. ulong2 __ovld __cnfn convert_ulong2_sat_rte(uchar2);
  1658. ulong2 __ovld __cnfn convert_ulong2_rtz(uchar2);
  1659. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(uchar2);
  1660. ulong2 __ovld __cnfn convert_ulong2_rtp(uchar2);
  1661. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(uchar2);
  1662. ulong2 __ovld __cnfn convert_ulong2_rtn(uchar2);
  1663. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(uchar2);
  1664. ulong2 __ovld __cnfn convert_ulong2(uchar2);
  1665. ulong2 __ovld __cnfn convert_ulong2_sat(uchar2);
  1666. ulong2 __ovld __cnfn convert_ulong2_rte(short2);
  1667. ulong2 __ovld __cnfn convert_ulong2_sat_rte(short2);
  1668. ulong2 __ovld __cnfn convert_ulong2_rtz(short2);
  1669. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(short2);
  1670. ulong2 __ovld __cnfn convert_ulong2_rtp(short2);
  1671. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(short2);
  1672. ulong2 __ovld __cnfn convert_ulong2_rtn(short2);
  1673. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(short2);
  1674. ulong2 __ovld __cnfn convert_ulong2(short2);
  1675. ulong2 __ovld __cnfn convert_ulong2_sat(short2);
  1676. ulong2 __ovld __cnfn convert_ulong2_rte(ushort2);
  1677. ulong2 __ovld __cnfn convert_ulong2_sat_rte(ushort2);
  1678. ulong2 __ovld __cnfn convert_ulong2_rtz(ushort2);
  1679. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(ushort2);
  1680. ulong2 __ovld __cnfn convert_ulong2_rtp(ushort2);
  1681. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(ushort2);
  1682. ulong2 __ovld __cnfn convert_ulong2_rtn(ushort2);
  1683. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(ushort2);
  1684. ulong2 __ovld __cnfn convert_ulong2(ushort2);
  1685. ulong2 __ovld __cnfn convert_ulong2_sat(ushort2);
  1686. ulong2 __ovld __cnfn convert_ulong2_rte(int2);
  1687. ulong2 __ovld __cnfn convert_ulong2_sat_rte(int2);
  1688. ulong2 __ovld __cnfn convert_ulong2_rtz(int2);
  1689. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(int2);
  1690. ulong2 __ovld __cnfn convert_ulong2_rtp(int2);
  1691. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(int2);
  1692. ulong2 __ovld __cnfn convert_ulong2_rtn(int2);
  1693. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(int2);
  1694. ulong2 __ovld __cnfn convert_ulong2(int2);
  1695. ulong2 __ovld __cnfn convert_ulong2_sat(int2);
  1696. ulong2 __ovld __cnfn convert_ulong2_rte(uint2);
  1697. ulong2 __ovld __cnfn convert_ulong2_sat_rte(uint2);
  1698. ulong2 __ovld __cnfn convert_ulong2_rtz(uint2);
  1699. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(uint2);
  1700. ulong2 __ovld __cnfn convert_ulong2_rtp(uint2);
  1701. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(uint2);
  1702. ulong2 __ovld __cnfn convert_ulong2_rtn(uint2);
  1703. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(uint2);
  1704. ulong2 __ovld __cnfn convert_ulong2(uint2);
  1705. ulong2 __ovld __cnfn convert_ulong2_sat(uint2);
  1706. ulong2 __ovld __cnfn convert_ulong2_rte(long2);
  1707. ulong2 __ovld __cnfn convert_ulong2_sat_rte(long2);
  1708. ulong2 __ovld __cnfn convert_ulong2_rtz(long2);
  1709. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(long2);
  1710. ulong2 __ovld __cnfn convert_ulong2_rtp(long2);
  1711. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(long2);
  1712. ulong2 __ovld __cnfn convert_ulong2_rtn(long2);
  1713. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(long2);
  1714. ulong2 __ovld __cnfn convert_ulong2(long2);
  1715. ulong2 __ovld __cnfn convert_ulong2_sat(long2);
  1716. ulong2 __ovld __cnfn convert_ulong2_rte(ulong2);
  1717. ulong2 __ovld __cnfn convert_ulong2_sat_rte(ulong2);
  1718. ulong2 __ovld __cnfn convert_ulong2_rtz(ulong2);
  1719. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(ulong2);
  1720. ulong2 __ovld __cnfn convert_ulong2_rtp(ulong2);
  1721. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(ulong2);
  1722. ulong2 __ovld __cnfn convert_ulong2_rtn(ulong2);
  1723. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(ulong2);
  1724. ulong2 __ovld __cnfn convert_ulong2(ulong2);
  1725. ulong2 __ovld __cnfn convert_ulong2_sat(ulong2);
  1726. ulong2 __ovld __cnfn convert_ulong2_rte(float2);
  1727. ulong2 __ovld __cnfn convert_ulong2_sat_rte(float2);
  1728. ulong2 __ovld __cnfn convert_ulong2_rtz(float2);
  1729. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(float2);
  1730. ulong2 __ovld __cnfn convert_ulong2_rtp(float2);
  1731. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(float2);
  1732. ulong2 __ovld __cnfn convert_ulong2_rtn(float2);
  1733. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(float2);
  1734. ulong2 __ovld __cnfn convert_ulong2(float2);
  1735. ulong2 __ovld __cnfn convert_ulong2_sat(float2);
  1736. float2 __ovld __cnfn convert_float2_rte(char2);
  1737. float2 __ovld __cnfn convert_float2_rtz(char2);
  1738. float2 __ovld __cnfn convert_float2_rtp(char2);
  1739. float2 __ovld __cnfn convert_float2_rtn(char2);
  1740. float2 __ovld __cnfn convert_float2(char2);
  1741. float2 __ovld __cnfn convert_float2_rte(uchar2);
  1742. float2 __ovld __cnfn convert_float2_rtz(uchar2);
  1743. float2 __ovld __cnfn convert_float2_rtp(uchar2);
  1744. float2 __ovld __cnfn convert_float2_rtn(uchar2);
  1745. float2 __ovld __cnfn convert_float2(uchar2);
  1746. float2 __ovld __cnfn convert_float2_rte(short2);
  1747. float2 __ovld __cnfn convert_float2_rtz(short2);
  1748. float2 __ovld __cnfn convert_float2_rtp(short2);
  1749. float2 __ovld __cnfn convert_float2_rtn(short2);
  1750. float2 __ovld __cnfn convert_float2(short2);
  1751. float2 __ovld __cnfn convert_float2_rte(ushort2);
  1752. float2 __ovld __cnfn convert_float2_rtz(ushort2);
  1753. float2 __ovld __cnfn convert_float2_rtp(ushort2);
  1754. float2 __ovld __cnfn convert_float2_rtn(ushort2);
  1755. float2 __ovld __cnfn convert_float2(ushort2);
  1756. float2 __ovld __cnfn convert_float2_rte(int2);
  1757. float2 __ovld __cnfn convert_float2_rtz(int2);
  1758. float2 __ovld __cnfn convert_float2_rtp(int2);
  1759. float2 __ovld __cnfn convert_float2_rtn(int2);
  1760. float2 __ovld __cnfn convert_float2(int2);
  1761. float2 __ovld __cnfn convert_float2_rte(uint2);
  1762. float2 __ovld __cnfn convert_float2_rtz(uint2);
  1763. float2 __ovld __cnfn convert_float2_rtp(uint2);
  1764. float2 __ovld __cnfn convert_float2_rtn(uint2);
  1765. float2 __ovld __cnfn convert_float2(uint2);
  1766. float2 __ovld __cnfn convert_float2_rte(long2);
  1767. float2 __ovld __cnfn convert_float2_rtz(long2);
  1768. float2 __ovld __cnfn convert_float2_rtp(long2);
  1769. float2 __ovld __cnfn convert_float2_rtn(long2);
  1770. float2 __ovld __cnfn convert_float2(long2);
  1771. float2 __ovld __cnfn convert_float2_rte(ulong2);
  1772. float2 __ovld __cnfn convert_float2_rtz(ulong2);
  1773. float2 __ovld __cnfn convert_float2_rtp(ulong2);
  1774. float2 __ovld __cnfn convert_float2_rtn(ulong2);
  1775. float2 __ovld __cnfn convert_float2(ulong2);
  1776. float2 __ovld __cnfn convert_float2_rte(float2);
  1777. float2 __ovld __cnfn convert_float2_rtz(float2);
  1778. float2 __ovld __cnfn convert_float2_rtp(float2);
  1779. float2 __ovld __cnfn convert_float2_rtn(float2);
  1780. float2 __ovld __cnfn convert_float2(float2);
  1781. char3 __ovld __cnfn convert_char3_rte(char3);
  1782. char3 __ovld __cnfn convert_char3_sat_rte(char3);
  1783. char3 __ovld __cnfn convert_char3_rtz(char3);
  1784. char3 __ovld __cnfn convert_char3_sat_rtz(char3);
  1785. char3 __ovld __cnfn convert_char3_rtp(char3);
  1786. char3 __ovld __cnfn convert_char3_sat_rtp(char3);
  1787. char3 __ovld __cnfn convert_char3_rtn(char3);
  1788. char3 __ovld __cnfn convert_char3_sat_rtn(char3);
  1789. char3 __ovld __cnfn convert_char3(char3);
  1790. char3 __ovld __cnfn convert_char3_sat(char3);
  1791. char3 __ovld __cnfn convert_char3_rte(uchar3);
  1792. char3 __ovld __cnfn convert_char3_sat_rte(uchar3);
  1793. char3 __ovld __cnfn convert_char3_rtz(uchar3);
  1794. char3 __ovld __cnfn convert_char3_sat_rtz(uchar3);
  1795. char3 __ovld __cnfn convert_char3_rtp(uchar3);
  1796. char3 __ovld __cnfn convert_char3_sat_rtp(uchar3);
  1797. char3 __ovld __cnfn convert_char3_rtn(uchar3);
  1798. char3 __ovld __cnfn convert_char3_sat_rtn(uchar3);
  1799. char3 __ovld __cnfn convert_char3(uchar3);
  1800. char3 __ovld __cnfn convert_char3_sat(uchar3);
  1801. char3 __ovld __cnfn convert_char3_rte(short3);
  1802. char3 __ovld __cnfn convert_char3_sat_rte(short3);
  1803. char3 __ovld __cnfn convert_char3_rtz(short3);
  1804. char3 __ovld __cnfn convert_char3_sat_rtz(short3);
  1805. char3 __ovld __cnfn convert_char3_rtp(short3);
  1806. char3 __ovld __cnfn convert_char3_sat_rtp(short3);
  1807. char3 __ovld __cnfn convert_char3_rtn(short3);
  1808. char3 __ovld __cnfn convert_char3_sat_rtn(short3);
  1809. char3 __ovld __cnfn convert_char3(short3);
  1810. char3 __ovld __cnfn convert_char3_sat(short3);
  1811. char3 __ovld __cnfn convert_char3_rte(ushort3);
  1812. char3 __ovld __cnfn convert_char3_sat_rte(ushort3);
  1813. char3 __ovld __cnfn convert_char3_rtz(ushort3);
  1814. char3 __ovld __cnfn convert_char3_sat_rtz(ushort3);
  1815. char3 __ovld __cnfn convert_char3_rtp(ushort3);
  1816. char3 __ovld __cnfn convert_char3_sat_rtp(ushort3);
  1817. char3 __ovld __cnfn convert_char3_rtn(ushort3);
  1818. char3 __ovld __cnfn convert_char3_sat_rtn(ushort3);
  1819. char3 __ovld __cnfn convert_char3(ushort3);
  1820. char3 __ovld __cnfn convert_char3_sat(ushort3);
  1821. char3 __ovld __cnfn convert_char3_rte(int3);
  1822. char3 __ovld __cnfn convert_char3_sat_rte(int3);
  1823. char3 __ovld __cnfn convert_char3_rtz(int3);
  1824. char3 __ovld __cnfn convert_char3_sat_rtz(int3);
  1825. char3 __ovld __cnfn convert_char3_rtp(int3);
  1826. char3 __ovld __cnfn convert_char3_sat_rtp(int3);
  1827. char3 __ovld __cnfn convert_char3_rtn(int3);
  1828. char3 __ovld __cnfn convert_char3_sat_rtn(int3);
  1829. char3 __ovld __cnfn convert_char3(int3);
  1830. char3 __ovld __cnfn convert_char3_sat(int3);
  1831. char3 __ovld __cnfn convert_char3_rte(uint3);
  1832. char3 __ovld __cnfn convert_char3_sat_rte(uint3);
  1833. char3 __ovld __cnfn convert_char3_rtz(uint3);
  1834. char3 __ovld __cnfn convert_char3_sat_rtz(uint3);
  1835. char3 __ovld __cnfn convert_char3_rtp(uint3);
  1836. char3 __ovld __cnfn convert_char3_sat_rtp(uint3);
  1837. char3 __ovld __cnfn convert_char3_rtn(uint3);
  1838. char3 __ovld __cnfn convert_char3_sat_rtn(uint3);
  1839. char3 __ovld __cnfn convert_char3(uint3);
  1840. char3 __ovld __cnfn convert_char3_sat(uint3);
  1841. char3 __ovld __cnfn convert_char3_rte(long3);
  1842. char3 __ovld __cnfn convert_char3_sat_rte(long3);
  1843. char3 __ovld __cnfn convert_char3_rtz(long3);
  1844. char3 __ovld __cnfn convert_char3_sat_rtz(long3);
  1845. char3 __ovld __cnfn convert_char3_rtp(long3);
  1846. char3 __ovld __cnfn convert_char3_sat_rtp(long3);
  1847. char3 __ovld __cnfn convert_char3_rtn(long3);
  1848. char3 __ovld __cnfn convert_char3_sat_rtn(long3);
  1849. char3 __ovld __cnfn convert_char3(long3);
  1850. char3 __ovld __cnfn convert_char3_sat(long3);
  1851. char3 __ovld __cnfn convert_char3_rte(ulong3);
  1852. char3 __ovld __cnfn convert_char3_sat_rte(ulong3);
  1853. char3 __ovld __cnfn convert_char3_rtz(ulong3);
  1854. char3 __ovld __cnfn convert_char3_sat_rtz(ulong3);
  1855. char3 __ovld __cnfn convert_char3_rtp(ulong3);
  1856. char3 __ovld __cnfn convert_char3_sat_rtp(ulong3);
  1857. char3 __ovld __cnfn convert_char3_rtn(ulong3);
  1858. char3 __ovld __cnfn convert_char3_sat_rtn(ulong3);
  1859. char3 __ovld __cnfn convert_char3(ulong3);
  1860. char3 __ovld __cnfn convert_char3_sat(ulong3);
  1861. char3 __ovld __cnfn convert_char3_rte(float3);
  1862. char3 __ovld __cnfn convert_char3_sat_rte(float3);
  1863. char3 __ovld __cnfn convert_char3_rtz(float3);
  1864. char3 __ovld __cnfn convert_char3_sat_rtz(float3);
  1865. char3 __ovld __cnfn convert_char3_rtp(float3);
  1866. char3 __ovld __cnfn convert_char3_sat_rtp(float3);
  1867. char3 __ovld __cnfn convert_char3_rtn(float3);
  1868. char3 __ovld __cnfn convert_char3_sat_rtn(float3);
  1869. char3 __ovld __cnfn convert_char3(float3);
  1870. char3 __ovld __cnfn convert_char3_sat(float3);
  1871. uchar3 __ovld __cnfn convert_uchar3_rte(char3);
  1872. uchar3 __ovld __cnfn convert_uchar3_sat_rte(char3);
  1873. uchar3 __ovld __cnfn convert_uchar3_rtz(char3);
  1874. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(char3);
  1875. uchar3 __ovld __cnfn convert_uchar3_rtp(char3);
  1876. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(char3);
  1877. uchar3 __ovld __cnfn convert_uchar3_rtn(char3);
  1878. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(char3);
  1879. uchar3 __ovld __cnfn convert_uchar3(char3);
  1880. uchar3 __ovld __cnfn convert_uchar3_sat(char3);
  1881. uchar3 __ovld __cnfn convert_uchar3_rte(uchar3);
  1882. uchar3 __ovld __cnfn convert_uchar3_sat_rte(uchar3);
  1883. uchar3 __ovld __cnfn convert_uchar3_rtz(uchar3);
  1884. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(uchar3);
  1885. uchar3 __ovld __cnfn convert_uchar3_rtp(uchar3);
  1886. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(uchar3);
  1887. uchar3 __ovld __cnfn convert_uchar3_rtn(uchar3);
  1888. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(uchar3);
  1889. uchar3 __ovld __cnfn convert_uchar3(uchar3);
  1890. uchar3 __ovld __cnfn convert_uchar3_sat(uchar3);
  1891. uchar3 __ovld __cnfn convert_uchar3_rte(short3);
  1892. uchar3 __ovld __cnfn convert_uchar3_sat_rte(short3);
  1893. uchar3 __ovld __cnfn convert_uchar3_rtz(short3);
  1894. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(short3);
  1895. uchar3 __ovld __cnfn convert_uchar3_rtp(short3);
  1896. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(short3);
  1897. uchar3 __ovld __cnfn convert_uchar3_rtn(short3);
  1898. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(short3);
  1899. uchar3 __ovld __cnfn convert_uchar3(short3);
  1900. uchar3 __ovld __cnfn convert_uchar3_sat(short3);
  1901. uchar3 __ovld __cnfn convert_uchar3_rte(ushort3);
  1902. uchar3 __ovld __cnfn convert_uchar3_sat_rte(ushort3);
  1903. uchar3 __ovld __cnfn convert_uchar3_rtz(ushort3);
  1904. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(ushort3);
  1905. uchar3 __ovld __cnfn convert_uchar3_rtp(ushort3);
  1906. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(ushort3);
  1907. uchar3 __ovld __cnfn convert_uchar3_rtn(ushort3);
  1908. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(ushort3);
  1909. uchar3 __ovld __cnfn convert_uchar3(ushort3);
  1910. uchar3 __ovld __cnfn convert_uchar3_sat(ushort3);
  1911. uchar3 __ovld __cnfn convert_uchar3_rte(int3);
  1912. uchar3 __ovld __cnfn convert_uchar3_sat_rte(int3);
  1913. uchar3 __ovld __cnfn convert_uchar3_rtz(int3);
  1914. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(int3);
  1915. uchar3 __ovld __cnfn convert_uchar3_rtp(int3);
  1916. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(int3);
  1917. uchar3 __ovld __cnfn convert_uchar3_rtn(int3);
  1918. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(int3);
  1919. uchar3 __ovld __cnfn convert_uchar3(int3);
  1920. uchar3 __ovld __cnfn convert_uchar3_sat(int3);
  1921. uchar3 __ovld __cnfn convert_uchar3_rte(uint3);
  1922. uchar3 __ovld __cnfn convert_uchar3_sat_rte(uint3);
  1923. uchar3 __ovld __cnfn convert_uchar3_rtz(uint3);
  1924. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(uint3);
  1925. uchar3 __ovld __cnfn convert_uchar3_rtp(uint3);
  1926. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(uint3);
  1927. uchar3 __ovld __cnfn convert_uchar3_rtn(uint3);
  1928. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(uint3);
  1929. uchar3 __ovld __cnfn convert_uchar3(uint3);
  1930. uchar3 __ovld __cnfn convert_uchar3_sat(uint3);
  1931. uchar3 __ovld __cnfn convert_uchar3_rte(long3);
  1932. uchar3 __ovld __cnfn convert_uchar3_sat_rte(long3);
  1933. uchar3 __ovld __cnfn convert_uchar3_rtz(long3);
  1934. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(long3);
  1935. uchar3 __ovld __cnfn convert_uchar3_rtp(long3);
  1936. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(long3);
  1937. uchar3 __ovld __cnfn convert_uchar3_rtn(long3);
  1938. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(long3);
  1939. uchar3 __ovld __cnfn convert_uchar3(long3);
  1940. uchar3 __ovld __cnfn convert_uchar3_sat(long3);
  1941. uchar3 __ovld __cnfn convert_uchar3_rte(ulong3);
  1942. uchar3 __ovld __cnfn convert_uchar3_sat_rte(ulong3);
  1943. uchar3 __ovld __cnfn convert_uchar3_rtz(ulong3);
  1944. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(ulong3);
  1945. uchar3 __ovld __cnfn convert_uchar3_rtp(ulong3);
  1946. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(ulong3);
  1947. uchar3 __ovld __cnfn convert_uchar3_rtn(ulong3);
  1948. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(ulong3);
  1949. uchar3 __ovld __cnfn convert_uchar3(ulong3);
  1950. uchar3 __ovld __cnfn convert_uchar3_sat(ulong3);
  1951. uchar3 __ovld __cnfn convert_uchar3_rte(float3);
  1952. uchar3 __ovld __cnfn convert_uchar3_sat_rte(float3);
  1953. uchar3 __ovld __cnfn convert_uchar3_rtz(float3);
  1954. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(float3);
  1955. uchar3 __ovld __cnfn convert_uchar3_rtp(float3);
  1956. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(float3);
  1957. uchar3 __ovld __cnfn convert_uchar3_rtn(float3);
  1958. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(float3);
  1959. uchar3 __ovld __cnfn convert_uchar3(float3);
  1960. uchar3 __ovld __cnfn convert_uchar3_sat(float3);
  1961. short3 __ovld __cnfn convert_short3_rte(char3);
  1962. short3 __ovld __cnfn convert_short3_sat_rte(char3);
  1963. short3 __ovld __cnfn convert_short3_rtz(char3);
  1964. short3 __ovld __cnfn convert_short3_sat_rtz(char3);
  1965. short3 __ovld __cnfn convert_short3_rtp(char3);
  1966. short3 __ovld __cnfn convert_short3_sat_rtp(char3);
  1967. short3 __ovld __cnfn convert_short3_rtn(char3);
  1968. short3 __ovld __cnfn convert_short3_sat_rtn(char3);
  1969. short3 __ovld __cnfn convert_short3(char3);
  1970. short3 __ovld __cnfn convert_short3_sat(char3);
  1971. short3 __ovld __cnfn convert_short3_rte(uchar3);
  1972. short3 __ovld __cnfn convert_short3_sat_rte(uchar3);
  1973. short3 __ovld __cnfn convert_short3_rtz(uchar3);
  1974. short3 __ovld __cnfn convert_short3_sat_rtz(uchar3);
  1975. short3 __ovld __cnfn convert_short3_rtp(uchar3);
  1976. short3 __ovld __cnfn convert_short3_sat_rtp(uchar3);
  1977. short3 __ovld __cnfn convert_short3_rtn(uchar3);
  1978. short3 __ovld __cnfn convert_short3_sat_rtn(uchar3);
  1979. short3 __ovld __cnfn convert_short3(uchar3);
  1980. short3 __ovld __cnfn convert_short3_sat(uchar3);
  1981. short3 __ovld __cnfn convert_short3_rte(short3);
  1982. short3 __ovld __cnfn convert_short3_sat_rte(short3);
  1983. short3 __ovld __cnfn convert_short3_rtz(short3);
  1984. short3 __ovld __cnfn convert_short3_sat_rtz(short3);
  1985. short3 __ovld __cnfn convert_short3_rtp(short3);
  1986. short3 __ovld __cnfn convert_short3_sat_rtp(short3);
  1987. short3 __ovld __cnfn convert_short3_rtn(short3);
  1988. short3 __ovld __cnfn convert_short3_sat_rtn(short3);
  1989. short3 __ovld __cnfn convert_short3(short3);
  1990. short3 __ovld __cnfn convert_short3_sat(short3);
  1991. short3 __ovld __cnfn convert_short3_rte(ushort3);
  1992. short3 __ovld __cnfn convert_short3_sat_rte(ushort3);
  1993. short3 __ovld __cnfn convert_short3_rtz(ushort3);
  1994. short3 __ovld __cnfn convert_short3_sat_rtz(ushort3);
  1995. short3 __ovld __cnfn convert_short3_rtp(ushort3);
  1996. short3 __ovld __cnfn convert_short3_sat_rtp(ushort3);
  1997. short3 __ovld __cnfn convert_short3_rtn(ushort3);
  1998. short3 __ovld __cnfn convert_short3_sat_rtn(ushort3);
  1999. short3 __ovld __cnfn convert_short3(ushort3);
  2000. short3 __ovld __cnfn convert_short3_sat(ushort3);
  2001. short3 __ovld __cnfn convert_short3_rte(int3);
  2002. short3 __ovld __cnfn convert_short3_sat_rte(int3);
  2003. short3 __ovld __cnfn convert_short3_rtz(int3);
  2004. short3 __ovld __cnfn convert_short3_sat_rtz(int3);
  2005. short3 __ovld __cnfn convert_short3_rtp(int3);
  2006. short3 __ovld __cnfn convert_short3_sat_rtp(int3);
  2007. short3 __ovld __cnfn convert_short3_rtn(int3);
  2008. short3 __ovld __cnfn convert_short3_sat_rtn(int3);
  2009. short3 __ovld __cnfn convert_short3(int3);
  2010. short3 __ovld __cnfn convert_short3_sat(int3);
  2011. short3 __ovld __cnfn convert_short3_rte(uint3);
  2012. short3 __ovld __cnfn convert_short3_sat_rte(uint3);
  2013. short3 __ovld __cnfn convert_short3_rtz(uint3);
  2014. short3 __ovld __cnfn convert_short3_sat_rtz(uint3);
  2015. short3 __ovld __cnfn convert_short3_rtp(uint3);
  2016. short3 __ovld __cnfn convert_short3_sat_rtp(uint3);
  2017. short3 __ovld __cnfn convert_short3_rtn(uint3);
  2018. short3 __ovld __cnfn convert_short3_sat_rtn(uint3);
  2019. short3 __ovld __cnfn convert_short3(uint3);
  2020. short3 __ovld __cnfn convert_short3_sat(uint3);
  2021. short3 __ovld __cnfn convert_short3_rte(long3);
  2022. short3 __ovld __cnfn convert_short3_sat_rte(long3);
  2023. short3 __ovld __cnfn convert_short3_rtz(long3);
  2024. short3 __ovld __cnfn convert_short3_sat_rtz(long3);
  2025. short3 __ovld __cnfn convert_short3_rtp(long3);
  2026. short3 __ovld __cnfn convert_short3_sat_rtp(long3);
  2027. short3 __ovld __cnfn convert_short3_rtn(long3);
  2028. short3 __ovld __cnfn convert_short3_sat_rtn(long3);
  2029. short3 __ovld __cnfn convert_short3(long3);
  2030. short3 __ovld __cnfn convert_short3_sat(long3);
  2031. short3 __ovld __cnfn convert_short3_rte(ulong3);
  2032. short3 __ovld __cnfn convert_short3_sat_rte(ulong3);
  2033. short3 __ovld __cnfn convert_short3_rtz(ulong3);
  2034. short3 __ovld __cnfn convert_short3_sat_rtz(ulong3);
  2035. short3 __ovld __cnfn convert_short3_rtp(ulong3);
  2036. short3 __ovld __cnfn convert_short3_sat_rtp(ulong3);
  2037. short3 __ovld __cnfn convert_short3_rtn(ulong3);
  2038. short3 __ovld __cnfn convert_short3_sat_rtn(ulong3);
  2039. short3 __ovld __cnfn convert_short3(ulong3);
  2040. short3 __ovld __cnfn convert_short3_sat(ulong3);
  2041. short3 __ovld __cnfn convert_short3_rte(float3);
  2042. short3 __ovld __cnfn convert_short3_sat_rte(float3);
  2043. short3 __ovld __cnfn convert_short3_rtz(float3);
  2044. short3 __ovld __cnfn convert_short3_sat_rtz(float3);
  2045. short3 __ovld __cnfn convert_short3_rtp(float3);
  2046. short3 __ovld __cnfn convert_short3_sat_rtp(float3);
  2047. short3 __ovld __cnfn convert_short3_rtn(float3);
  2048. short3 __ovld __cnfn convert_short3_sat_rtn(float3);
  2049. short3 __ovld __cnfn convert_short3(float3);
  2050. short3 __ovld __cnfn convert_short3_sat(float3);
  2051. ushort3 __ovld __cnfn convert_ushort3_rte(char3);
  2052. ushort3 __ovld __cnfn convert_ushort3_sat_rte(char3);
  2053. ushort3 __ovld __cnfn convert_ushort3_rtz(char3);
  2054. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(char3);
  2055. ushort3 __ovld __cnfn convert_ushort3_rtp(char3);
  2056. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(char3);
  2057. ushort3 __ovld __cnfn convert_ushort3_rtn(char3);
  2058. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(char3);
  2059. ushort3 __ovld __cnfn convert_ushort3(char3);
  2060. ushort3 __ovld __cnfn convert_ushort3_sat(char3);
  2061. ushort3 __ovld __cnfn convert_ushort3_rte(uchar3);
  2062. ushort3 __ovld __cnfn convert_ushort3_sat_rte(uchar3);
  2063. ushort3 __ovld __cnfn convert_ushort3_rtz(uchar3);
  2064. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(uchar3);
  2065. ushort3 __ovld __cnfn convert_ushort3_rtp(uchar3);
  2066. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(uchar3);
  2067. ushort3 __ovld __cnfn convert_ushort3_rtn(uchar3);
  2068. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(uchar3);
  2069. ushort3 __ovld __cnfn convert_ushort3(uchar3);
  2070. ushort3 __ovld __cnfn convert_ushort3_sat(uchar3);
  2071. ushort3 __ovld __cnfn convert_ushort3_rte(short3);
  2072. ushort3 __ovld __cnfn convert_ushort3_sat_rte(short3);
  2073. ushort3 __ovld __cnfn convert_ushort3_rtz(short3);
  2074. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(short3);
  2075. ushort3 __ovld __cnfn convert_ushort3_rtp(short3);
  2076. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(short3);
  2077. ushort3 __ovld __cnfn convert_ushort3_rtn(short3);
  2078. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(short3);
  2079. ushort3 __ovld __cnfn convert_ushort3(short3);
  2080. ushort3 __ovld __cnfn convert_ushort3_sat(short3);
  2081. ushort3 __ovld __cnfn convert_ushort3_rte(ushort3);
  2082. ushort3 __ovld __cnfn convert_ushort3_sat_rte(ushort3);
  2083. ushort3 __ovld __cnfn convert_ushort3_rtz(ushort3);
  2084. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(ushort3);
  2085. ushort3 __ovld __cnfn convert_ushort3_rtp(ushort3);
  2086. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(ushort3);
  2087. ushort3 __ovld __cnfn convert_ushort3_rtn(ushort3);
  2088. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(ushort3);
  2089. ushort3 __ovld __cnfn convert_ushort3(ushort3);
  2090. ushort3 __ovld __cnfn convert_ushort3_sat(ushort3);
  2091. ushort3 __ovld __cnfn convert_ushort3_rte(int3);
  2092. ushort3 __ovld __cnfn convert_ushort3_sat_rte(int3);
  2093. ushort3 __ovld __cnfn convert_ushort3_rtz(int3);
  2094. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(int3);
  2095. ushort3 __ovld __cnfn convert_ushort3_rtp(int3);
  2096. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(int3);
  2097. ushort3 __ovld __cnfn convert_ushort3_rtn(int3);
  2098. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(int3);
  2099. ushort3 __ovld __cnfn convert_ushort3(int3);
  2100. ushort3 __ovld __cnfn convert_ushort3_sat(int3);
  2101. ushort3 __ovld __cnfn convert_ushort3_rte(uint3);
  2102. ushort3 __ovld __cnfn convert_ushort3_sat_rte(uint3);
  2103. ushort3 __ovld __cnfn convert_ushort3_rtz(uint3);
  2104. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(uint3);
  2105. ushort3 __ovld __cnfn convert_ushort3_rtp(uint3);
  2106. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(uint3);
  2107. ushort3 __ovld __cnfn convert_ushort3_rtn(uint3);
  2108. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(uint3);
  2109. ushort3 __ovld __cnfn convert_ushort3(uint3);
  2110. ushort3 __ovld __cnfn convert_ushort3_sat(uint3);
  2111. ushort3 __ovld __cnfn convert_ushort3_rte(long3);
  2112. ushort3 __ovld __cnfn convert_ushort3_sat_rte(long3);
  2113. ushort3 __ovld __cnfn convert_ushort3_rtz(long3);
  2114. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(long3);
  2115. ushort3 __ovld __cnfn convert_ushort3_rtp(long3);
  2116. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(long3);
  2117. ushort3 __ovld __cnfn convert_ushort3_rtn(long3);
  2118. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(long3);
  2119. ushort3 __ovld __cnfn convert_ushort3(long3);
  2120. ushort3 __ovld __cnfn convert_ushort3_sat(long3);
  2121. ushort3 __ovld __cnfn convert_ushort3_rte(ulong3);
  2122. ushort3 __ovld __cnfn convert_ushort3_sat_rte(ulong3);
  2123. ushort3 __ovld __cnfn convert_ushort3_rtz(ulong3);
  2124. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(ulong3);
  2125. ushort3 __ovld __cnfn convert_ushort3_rtp(ulong3);
  2126. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(ulong3);
  2127. ushort3 __ovld __cnfn convert_ushort3_rtn(ulong3);
  2128. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(ulong3);
  2129. ushort3 __ovld __cnfn convert_ushort3(ulong3);
  2130. ushort3 __ovld __cnfn convert_ushort3_sat(ulong3);
  2131. ushort3 __ovld __cnfn convert_ushort3_rte(float3);
  2132. ushort3 __ovld __cnfn convert_ushort3_sat_rte(float3);
  2133. ushort3 __ovld __cnfn convert_ushort3_rtz(float3);
  2134. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(float3);
  2135. ushort3 __ovld __cnfn convert_ushort3_rtp(float3);
  2136. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(float3);
  2137. ushort3 __ovld __cnfn convert_ushort3_rtn(float3);
  2138. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(float3);
  2139. ushort3 __ovld __cnfn convert_ushort3(float3);
  2140. ushort3 __ovld __cnfn convert_ushort3_sat(float3);
  2141. int3 __ovld __cnfn convert_int3_rte(char3);
  2142. int3 __ovld __cnfn convert_int3_sat_rte(char3);
  2143. int3 __ovld __cnfn convert_int3_rtz(char3);
  2144. int3 __ovld __cnfn convert_int3_sat_rtz(char3);
  2145. int3 __ovld __cnfn convert_int3_rtp(char3);
  2146. int3 __ovld __cnfn convert_int3_sat_rtp(char3);
  2147. int3 __ovld __cnfn convert_int3_rtn(char3);
  2148. int3 __ovld __cnfn convert_int3_sat_rtn(char3);
  2149. int3 __ovld __cnfn convert_int3(char3);
  2150. int3 __ovld __cnfn convert_int3_sat(char3);
  2151. int3 __ovld __cnfn convert_int3_rte(uchar3);
  2152. int3 __ovld __cnfn convert_int3_sat_rte(uchar3);
  2153. int3 __ovld __cnfn convert_int3_rtz(uchar3);
  2154. int3 __ovld __cnfn convert_int3_sat_rtz(uchar3);
  2155. int3 __ovld __cnfn convert_int3_rtp(uchar3);
  2156. int3 __ovld __cnfn convert_int3_sat_rtp(uchar3);
  2157. int3 __ovld __cnfn convert_int3_rtn(uchar3);
  2158. int3 __ovld __cnfn convert_int3_sat_rtn(uchar3);
  2159. int3 __ovld __cnfn convert_int3(uchar3);
  2160. int3 __ovld __cnfn convert_int3_sat(uchar3);
  2161. int3 __ovld __cnfn convert_int3_rte(short3);
  2162. int3 __ovld __cnfn convert_int3_sat_rte(short3);
  2163. int3 __ovld __cnfn convert_int3_rtz(short3);
  2164. int3 __ovld __cnfn convert_int3_sat_rtz(short3);
  2165. int3 __ovld __cnfn convert_int3_rtp(short3);
  2166. int3 __ovld __cnfn convert_int3_sat_rtp(short3);
  2167. int3 __ovld __cnfn convert_int3_rtn(short3);
  2168. int3 __ovld __cnfn convert_int3_sat_rtn(short3);
  2169. int3 __ovld __cnfn convert_int3(short3);
  2170. int3 __ovld __cnfn convert_int3_sat(short3);
  2171. int3 __ovld __cnfn convert_int3_rte(ushort3);
  2172. int3 __ovld __cnfn convert_int3_sat_rte(ushort3);
  2173. int3 __ovld __cnfn convert_int3_rtz(ushort3);
  2174. int3 __ovld __cnfn convert_int3_sat_rtz(ushort3);
  2175. int3 __ovld __cnfn convert_int3_rtp(ushort3);
  2176. int3 __ovld __cnfn convert_int3_sat_rtp(ushort3);
  2177. int3 __ovld __cnfn convert_int3_rtn(ushort3);
  2178. int3 __ovld __cnfn convert_int3_sat_rtn(ushort3);
  2179. int3 __ovld __cnfn convert_int3(ushort3);
  2180. int3 __ovld __cnfn convert_int3_sat(ushort3);
  2181. int3 __ovld __cnfn convert_int3_rte(int3);
  2182. int3 __ovld __cnfn convert_int3_sat_rte(int3);
  2183. int3 __ovld __cnfn convert_int3_rtz(int3);
  2184. int3 __ovld __cnfn convert_int3_sat_rtz(int3);
  2185. int3 __ovld __cnfn convert_int3_rtp(int3);
  2186. int3 __ovld __cnfn convert_int3_sat_rtp(int3);
  2187. int3 __ovld __cnfn convert_int3_rtn(int3);
  2188. int3 __ovld __cnfn convert_int3_sat_rtn(int3);
  2189. int3 __ovld __cnfn convert_int3(int3);
  2190. int3 __ovld __cnfn convert_int3_sat(int3);
  2191. int3 __ovld __cnfn convert_int3_rte(uint3);
  2192. int3 __ovld __cnfn convert_int3_sat_rte(uint3);
  2193. int3 __ovld __cnfn convert_int3_rtz(uint3);
  2194. int3 __ovld __cnfn convert_int3_sat_rtz(uint3);
  2195. int3 __ovld __cnfn convert_int3_rtp(uint3);
  2196. int3 __ovld __cnfn convert_int3_sat_rtp(uint3);
  2197. int3 __ovld __cnfn convert_int3_rtn(uint3);
  2198. int3 __ovld __cnfn convert_int3_sat_rtn(uint3);
  2199. int3 __ovld __cnfn convert_int3(uint3);
  2200. int3 __ovld __cnfn convert_int3_sat(uint3);
  2201. int3 __ovld __cnfn convert_int3_rte(long3);
  2202. int3 __ovld __cnfn convert_int3_sat_rte(long3);
  2203. int3 __ovld __cnfn convert_int3_rtz(long3);
  2204. int3 __ovld __cnfn convert_int3_sat_rtz(long3);
  2205. int3 __ovld __cnfn convert_int3_rtp(long3);
  2206. int3 __ovld __cnfn convert_int3_sat_rtp(long3);
  2207. int3 __ovld __cnfn convert_int3_rtn(long3);
  2208. int3 __ovld __cnfn convert_int3_sat_rtn(long3);
  2209. int3 __ovld __cnfn convert_int3(long3);
  2210. int3 __ovld __cnfn convert_int3_sat(long3);
  2211. int3 __ovld __cnfn convert_int3_rte(ulong3);
  2212. int3 __ovld __cnfn convert_int3_sat_rte(ulong3);
  2213. int3 __ovld __cnfn convert_int3_rtz(ulong3);
  2214. int3 __ovld __cnfn convert_int3_sat_rtz(ulong3);
  2215. int3 __ovld __cnfn convert_int3_rtp(ulong3);
  2216. int3 __ovld __cnfn convert_int3_sat_rtp(ulong3);
  2217. int3 __ovld __cnfn convert_int3_rtn(ulong3);
  2218. int3 __ovld __cnfn convert_int3_sat_rtn(ulong3);
  2219. int3 __ovld __cnfn convert_int3(ulong3);
  2220. int3 __ovld __cnfn convert_int3_sat(ulong3);
  2221. int3 __ovld __cnfn convert_int3_rte(float3);
  2222. int3 __ovld __cnfn convert_int3_sat_rte(float3);
  2223. int3 __ovld __cnfn convert_int3_rtz(float3);
  2224. int3 __ovld __cnfn convert_int3_sat_rtz(float3);
  2225. int3 __ovld __cnfn convert_int3_rtp(float3);
  2226. int3 __ovld __cnfn convert_int3_sat_rtp(float3);
  2227. int3 __ovld __cnfn convert_int3_rtn(float3);
  2228. int3 __ovld __cnfn convert_int3_sat_rtn(float3);
  2229. int3 __ovld __cnfn convert_int3(float3);
  2230. int3 __ovld __cnfn convert_int3_sat(float3);
  2231. uint3 __ovld __cnfn convert_uint3_rte(char3);
  2232. uint3 __ovld __cnfn convert_uint3_sat_rte(char3);
  2233. uint3 __ovld __cnfn convert_uint3_rtz(char3);
  2234. uint3 __ovld __cnfn convert_uint3_sat_rtz(char3);
  2235. uint3 __ovld __cnfn convert_uint3_rtp(char3);
  2236. uint3 __ovld __cnfn convert_uint3_sat_rtp(char3);
  2237. uint3 __ovld __cnfn convert_uint3_rtn(char3);
  2238. uint3 __ovld __cnfn convert_uint3_sat_rtn(char3);
  2239. uint3 __ovld __cnfn convert_uint3(char3);
  2240. uint3 __ovld __cnfn convert_uint3_sat(char3);
  2241. uint3 __ovld __cnfn convert_uint3_rte(uchar3);
  2242. uint3 __ovld __cnfn convert_uint3_sat_rte(uchar3);
  2243. uint3 __ovld __cnfn convert_uint3_rtz(uchar3);
  2244. uint3 __ovld __cnfn convert_uint3_sat_rtz(uchar3);
  2245. uint3 __ovld __cnfn convert_uint3_rtp(uchar3);
  2246. uint3 __ovld __cnfn convert_uint3_sat_rtp(uchar3);
  2247. uint3 __ovld __cnfn convert_uint3_rtn(uchar3);
  2248. uint3 __ovld __cnfn convert_uint3_sat_rtn(uchar3);
  2249. uint3 __ovld __cnfn convert_uint3(uchar3);
  2250. uint3 __ovld __cnfn convert_uint3_sat(uchar3);
  2251. uint3 __ovld __cnfn convert_uint3_rte(short3);
  2252. uint3 __ovld __cnfn convert_uint3_sat_rte(short3);
  2253. uint3 __ovld __cnfn convert_uint3_rtz(short3);
  2254. uint3 __ovld __cnfn convert_uint3_sat_rtz(short3);
  2255. uint3 __ovld __cnfn convert_uint3_rtp(short3);
  2256. uint3 __ovld __cnfn convert_uint3_sat_rtp(short3);
  2257. uint3 __ovld __cnfn convert_uint3_rtn(short3);
  2258. uint3 __ovld __cnfn convert_uint3_sat_rtn(short3);
  2259. uint3 __ovld __cnfn convert_uint3(short3);
  2260. uint3 __ovld __cnfn convert_uint3_sat(short3);
  2261. uint3 __ovld __cnfn convert_uint3_rte(ushort3);
  2262. uint3 __ovld __cnfn convert_uint3_sat_rte(ushort3);
  2263. uint3 __ovld __cnfn convert_uint3_rtz(ushort3);
  2264. uint3 __ovld __cnfn convert_uint3_sat_rtz(ushort3);
  2265. uint3 __ovld __cnfn convert_uint3_rtp(ushort3);
  2266. uint3 __ovld __cnfn convert_uint3_sat_rtp(ushort3);
  2267. uint3 __ovld __cnfn convert_uint3_rtn(ushort3);
  2268. uint3 __ovld __cnfn convert_uint3_sat_rtn(ushort3);
  2269. uint3 __ovld __cnfn convert_uint3(ushort3);
  2270. uint3 __ovld __cnfn convert_uint3_sat(ushort3);
  2271. uint3 __ovld __cnfn convert_uint3_rte(int3);
  2272. uint3 __ovld __cnfn convert_uint3_sat_rte(int3);
  2273. uint3 __ovld __cnfn convert_uint3_rtz(int3);
  2274. uint3 __ovld __cnfn convert_uint3_sat_rtz(int3);
  2275. uint3 __ovld __cnfn convert_uint3_rtp(int3);
  2276. uint3 __ovld __cnfn convert_uint3_sat_rtp(int3);
  2277. uint3 __ovld __cnfn convert_uint3_rtn(int3);
  2278. uint3 __ovld __cnfn convert_uint3_sat_rtn(int3);
  2279. uint3 __ovld __cnfn convert_uint3(int3);
  2280. uint3 __ovld __cnfn convert_uint3_sat(int3);
  2281. uint3 __ovld __cnfn convert_uint3_rte(uint3);
  2282. uint3 __ovld __cnfn convert_uint3_sat_rte(uint3);
  2283. uint3 __ovld __cnfn convert_uint3_rtz(uint3);
  2284. uint3 __ovld __cnfn convert_uint3_sat_rtz(uint3);
  2285. uint3 __ovld __cnfn convert_uint3_rtp(uint3);
  2286. uint3 __ovld __cnfn convert_uint3_sat_rtp(uint3);
  2287. uint3 __ovld __cnfn convert_uint3_rtn(uint3);
  2288. uint3 __ovld __cnfn convert_uint3_sat_rtn(uint3);
  2289. uint3 __ovld __cnfn convert_uint3(uint3);
  2290. uint3 __ovld __cnfn convert_uint3_sat(uint3);
  2291. uint3 __ovld __cnfn convert_uint3_rte(long3);
  2292. uint3 __ovld __cnfn convert_uint3_sat_rte(long3);
  2293. uint3 __ovld __cnfn convert_uint3_rtz(long3);
  2294. uint3 __ovld __cnfn convert_uint3_sat_rtz(long3);
  2295. uint3 __ovld __cnfn convert_uint3_rtp(long3);
  2296. uint3 __ovld __cnfn convert_uint3_sat_rtp(long3);
  2297. uint3 __ovld __cnfn convert_uint3_rtn(long3);
  2298. uint3 __ovld __cnfn convert_uint3_sat_rtn(long3);
  2299. uint3 __ovld __cnfn convert_uint3(long3);
  2300. uint3 __ovld __cnfn convert_uint3_sat(long3);
  2301. uint3 __ovld __cnfn convert_uint3_rte(ulong3);
  2302. uint3 __ovld __cnfn convert_uint3_sat_rte(ulong3);
  2303. uint3 __ovld __cnfn convert_uint3_rtz(ulong3);
  2304. uint3 __ovld __cnfn convert_uint3_sat_rtz(ulong3);
  2305. uint3 __ovld __cnfn convert_uint3_rtp(ulong3);
  2306. uint3 __ovld __cnfn convert_uint3_sat_rtp(ulong3);
  2307. uint3 __ovld __cnfn convert_uint3_rtn(ulong3);
  2308. uint3 __ovld __cnfn convert_uint3_sat_rtn(ulong3);
  2309. uint3 __ovld __cnfn convert_uint3(ulong3);
  2310. uint3 __ovld __cnfn convert_uint3_sat(ulong3);
  2311. uint3 __ovld __cnfn convert_uint3_rte(float3);
  2312. uint3 __ovld __cnfn convert_uint3_sat_rte(float3);
  2313. uint3 __ovld __cnfn convert_uint3_rtz(float3);
  2314. uint3 __ovld __cnfn convert_uint3_sat_rtz(float3);
  2315. uint3 __ovld __cnfn convert_uint3_rtp(float3);
  2316. uint3 __ovld __cnfn convert_uint3_sat_rtp(float3);
  2317. uint3 __ovld __cnfn convert_uint3_rtn(float3);
  2318. uint3 __ovld __cnfn convert_uint3_sat_rtn(float3);
  2319. uint3 __ovld __cnfn convert_uint3(float3);
  2320. uint3 __ovld __cnfn convert_uint3_sat(float3);
  2321. long3 __ovld __cnfn convert_long3_rte(char3);
  2322. long3 __ovld __cnfn convert_long3_sat_rte(char3);
  2323. long3 __ovld __cnfn convert_long3_rtz(char3);
  2324. long3 __ovld __cnfn convert_long3_sat_rtz(char3);
  2325. long3 __ovld __cnfn convert_long3_rtp(char3);
  2326. long3 __ovld __cnfn convert_long3_sat_rtp(char3);
  2327. long3 __ovld __cnfn convert_long3_rtn(char3);
  2328. long3 __ovld __cnfn convert_long3_sat_rtn(char3);
  2329. long3 __ovld __cnfn convert_long3(char3);
  2330. long3 __ovld __cnfn convert_long3_sat(char3);
  2331. long3 __ovld __cnfn convert_long3_rte(uchar3);
  2332. long3 __ovld __cnfn convert_long3_sat_rte(uchar3);
  2333. long3 __ovld __cnfn convert_long3_rtz(uchar3);
  2334. long3 __ovld __cnfn convert_long3_sat_rtz(uchar3);
  2335. long3 __ovld __cnfn convert_long3_rtp(uchar3);
  2336. long3 __ovld __cnfn convert_long3_sat_rtp(uchar3);
  2337. long3 __ovld __cnfn convert_long3_rtn(uchar3);
  2338. long3 __ovld __cnfn convert_long3_sat_rtn(uchar3);
  2339. long3 __ovld __cnfn convert_long3(uchar3);
  2340. long3 __ovld __cnfn convert_long3_sat(uchar3);
  2341. long3 __ovld __cnfn convert_long3_rte(short3);
  2342. long3 __ovld __cnfn convert_long3_sat_rte(short3);
  2343. long3 __ovld __cnfn convert_long3_rtz(short3);
  2344. long3 __ovld __cnfn convert_long3_sat_rtz(short3);
  2345. long3 __ovld __cnfn convert_long3_rtp(short3);
  2346. long3 __ovld __cnfn convert_long3_sat_rtp(short3);
  2347. long3 __ovld __cnfn convert_long3_rtn(short3);
  2348. long3 __ovld __cnfn convert_long3_sat_rtn(short3);
  2349. long3 __ovld __cnfn convert_long3(short3);
  2350. long3 __ovld __cnfn convert_long3_sat(short3);
  2351. long3 __ovld __cnfn convert_long3_rte(ushort3);
  2352. long3 __ovld __cnfn convert_long3_sat_rte(ushort3);
  2353. long3 __ovld __cnfn convert_long3_rtz(ushort3);
  2354. long3 __ovld __cnfn convert_long3_sat_rtz(ushort3);
  2355. long3 __ovld __cnfn convert_long3_rtp(ushort3);
  2356. long3 __ovld __cnfn convert_long3_sat_rtp(ushort3);
  2357. long3 __ovld __cnfn convert_long3_rtn(ushort3);
  2358. long3 __ovld __cnfn convert_long3_sat_rtn(ushort3);
  2359. long3 __ovld __cnfn convert_long3(ushort3);
  2360. long3 __ovld __cnfn convert_long3_sat(ushort3);
  2361. long3 __ovld __cnfn convert_long3_rte(int3);
  2362. long3 __ovld __cnfn convert_long3_sat_rte(int3);
  2363. long3 __ovld __cnfn convert_long3_rtz(int3);
  2364. long3 __ovld __cnfn convert_long3_sat_rtz(int3);
  2365. long3 __ovld __cnfn convert_long3_rtp(int3);
  2366. long3 __ovld __cnfn convert_long3_sat_rtp(int3);
  2367. long3 __ovld __cnfn convert_long3_rtn(int3);
  2368. long3 __ovld __cnfn convert_long3_sat_rtn(int3);
  2369. long3 __ovld __cnfn convert_long3(int3);
  2370. long3 __ovld __cnfn convert_long3_sat(int3);
  2371. long3 __ovld __cnfn convert_long3_rte(uint3);
  2372. long3 __ovld __cnfn convert_long3_sat_rte(uint3);
  2373. long3 __ovld __cnfn convert_long3_rtz(uint3);
  2374. long3 __ovld __cnfn convert_long3_sat_rtz(uint3);
  2375. long3 __ovld __cnfn convert_long3_rtp(uint3);
  2376. long3 __ovld __cnfn convert_long3_sat_rtp(uint3);
  2377. long3 __ovld __cnfn convert_long3_rtn(uint3);
  2378. long3 __ovld __cnfn convert_long3_sat_rtn(uint3);
  2379. long3 __ovld __cnfn convert_long3(uint3);
  2380. long3 __ovld __cnfn convert_long3_sat(uint3);
  2381. long3 __ovld __cnfn convert_long3_rte(long3);
  2382. long3 __ovld __cnfn convert_long3_sat_rte(long3);
  2383. long3 __ovld __cnfn convert_long3_rtz(long3);
  2384. long3 __ovld __cnfn convert_long3_sat_rtz(long3);
  2385. long3 __ovld __cnfn convert_long3_rtp(long3);
  2386. long3 __ovld __cnfn convert_long3_sat_rtp(long3);
  2387. long3 __ovld __cnfn convert_long3_rtn(long3);
  2388. long3 __ovld __cnfn convert_long3_sat_rtn(long3);
  2389. long3 __ovld __cnfn convert_long3(long3);
  2390. long3 __ovld __cnfn convert_long3_sat(long3);
  2391. long3 __ovld __cnfn convert_long3_rte(ulong3);
  2392. long3 __ovld __cnfn convert_long3_sat_rte(ulong3);
  2393. long3 __ovld __cnfn convert_long3_rtz(ulong3);
  2394. long3 __ovld __cnfn convert_long3_sat_rtz(ulong3);
  2395. long3 __ovld __cnfn convert_long3_rtp(ulong3);
  2396. long3 __ovld __cnfn convert_long3_sat_rtp(ulong3);
  2397. long3 __ovld __cnfn convert_long3_rtn(ulong3);
  2398. long3 __ovld __cnfn convert_long3_sat_rtn(ulong3);
  2399. long3 __ovld __cnfn convert_long3(ulong3);
  2400. long3 __ovld __cnfn convert_long3_sat(ulong3);
  2401. long3 __ovld __cnfn convert_long3_rte(float3);
  2402. long3 __ovld __cnfn convert_long3_sat_rte(float3);
  2403. long3 __ovld __cnfn convert_long3_rtz(float3);
  2404. long3 __ovld __cnfn convert_long3_sat_rtz(float3);
  2405. long3 __ovld __cnfn convert_long3_rtp(float3);
  2406. long3 __ovld __cnfn convert_long3_sat_rtp(float3);
  2407. long3 __ovld __cnfn convert_long3_rtn(float3);
  2408. long3 __ovld __cnfn convert_long3_sat_rtn(float3);
  2409. long3 __ovld __cnfn convert_long3(float3);
  2410. long3 __ovld __cnfn convert_long3_sat(float3);
  2411. ulong3 __ovld __cnfn convert_ulong3_rte(char3);
  2412. ulong3 __ovld __cnfn convert_ulong3_sat_rte(char3);
  2413. ulong3 __ovld __cnfn convert_ulong3_rtz(char3);
  2414. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(char3);
  2415. ulong3 __ovld __cnfn convert_ulong3_rtp(char3);
  2416. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(char3);
  2417. ulong3 __ovld __cnfn convert_ulong3_rtn(char3);
  2418. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(char3);
  2419. ulong3 __ovld __cnfn convert_ulong3(char3);
  2420. ulong3 __ovld __cnfn convert_ulong3_sat(char3);
  2421. ulong3 __ovld __cnfn convert_ulong3_rte(uchar3);
  2422. ulong3 __ovld __cnfn convert_ulong3_sat_rte(uchar3);
  2423. ulong3 __ovld __cnfn convert_ulong3_rtz(uchar3);
  2424. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(uchar3);
  2425. ulong3 __ovld __cnfn convert_ulong3_rtp(uchar3);
  2426. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(uchar3);
  2427. ulong3 __ovld __cnfn convert_ulong3_rtn(uchar3);
  2428. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(uchar3);
  2429. ulong3 __ovld __cnfn convert_ulong3(uchar3);
  2430. ulong3 __ovld __cnfn convert_ulong3_sat(uchar3);
  2431. ulong3 __ovld __cnfn convert_ulong3_rte(short3);
  2432. ulong3 __ovld __cnfn convert_ulong3_sat_rte(short3);
  2433. ulong3 __ovld __cnfn convert_ulong3_rtz(short3);
  2434. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(short3);
  2435. ulong3 __ovld __cnfn convert_ulong3_rtp(short3);
  2436. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(short3);
  2437. ulong3 __ovld __cnfn convert_ulong3_rtn(short3);
  2438. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(short3);
  2439. ulong3 __ovld __cnfn convert_ulong3(short3);
  2440. ulong3 __ovld __cnfn convert_ulong3_sat(short3);
  2441. ulong3 __ovld __cnfn convert_ulong3_rte(ushort3);
  2442. ulong3 __ovld __cnfn convert_ulong3_sat_rte(ushort3);
  2443. ulong3 __ovld __cnfn convert_ulong3_rtz(ushort3);
  2444. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(ushort3);
  2445. ulong3 __ovld __cnfn convert_ulong3_rtp(ushort3);
  2446. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(ushort3);
  2447. ulong3 __ovld __cnfn convert_ulong3_rtn(ushort3);
  2448. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(ushort3);
  2449. ulong3 __ovld __cnfn convert_ulong3(ushort3);
  2450. ulong3 __ovld __cnfn convert_ulong3_sat(ushort3);
  2451. ulong3 __ovld __cnfn convert_ulong3_rte(int3);
  2452. ulong3 __ovld __cnfn convert_ulong3_sat_rte(int3);
  2453. ulong3 __ovld __cnfn convert_ulong3_rtz(int3);
  2454. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(int3);
  2455. ulong3 __ovld __cnfn convert_ulong3_rtp(int3);
  2456. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(int3);
  2457. ulong3 __ovld __cnfn convert_ulong3_rtn(int3);
  2458. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(int3);
  2459. ulong3 __ovld __cnfn convert_ulong3(int3);
  2460. ulong3 __ovld __cnfn convert_ulong3_sat(int3);
  2461. ulong3 __ovld __cnfn convert_ulong3_rte(uint3);
  2462. ulong3 __ovld __cnfn convert_ulong3_sat_rte(uint3);
  2463. ulong3 __ovld __cnfn convert_ulong3_rtz(uint3);
  2464. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(uint3);
  2465. ulong3 __ovld __cnfn convert_ulong3_rtp(uint3);
  2466. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(uint3);
  2467. ulong3 __ovld __cnfn convert_ulong3_rtn(uint3);
  2468. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(uint3);
  2469. ulong3 __ovld __cnfn convert_ulong3(uint3);
  2470. ulong3 __ovld __cnfn convert_ulong3_sat(uint3);
  2471. ulong3 __ovld __cnfn convert_ulong3_rte(long3);
  2472. ulong3 __ovld __cnfn convert_ulong3_sat_rte(long3);
  2473. ulong3 __ovld __cnfn convert_ulong3_rtz(long3);
  2474. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(long3);
  2475. ulong3 __ovld __cnfn convert_ulong3_rtp(long3);
  2476. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(long3);
  2477. ulong3 __ovld __cnfn convert_ulong3_rtn(long3);
  2478. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(long3);
  2479. ulong3 __ovld __cnfn convert_ulong3(long3);
  2480. ulong3 __ovld __cnfn convert_ulong3_sat(long3);
  2481. ulong3 __ovld __cnfn convert_ulong3_rte(ulong3);
  2482. ulong3 __ovld __cnfn convert_ulong3_sat_rte(ulong3);
  2483. ulong3 __ovld __cnfn convert_ulong3_rtz(ulong3);
  2484. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(ulong3);
  2485. ulong3 __ovld __cnfn convert_ulong3_rtp(ulong3);
  2486. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(ulong3);
  2487. ulong3 __ovld __cnfn convert_ulong3_rtn(ulong3);
  2488. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(ulong3);
  2489. ulong3 __ovld __cnfn convert_ulong3(ulong3);
  2490. ulong3 __ovld __cnfn convert_ulong3_sat(ulong3);
  2491. ulong3 __ovld __cnfn convert_ulong3_rte(float3);
  2492. ulong3 __ovld __cnfn convert_ulong3_sat_rte(float3);
  2493. ulong3 __ovld __cnfn convert_ulong3_rtz(float3);
  2494. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(float3);
  2495. ulong3 __ovld __cnfn convert_ulong3_rtp(float3);
  2496. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(float3);
  2497. ulong3 __ovld __cnfn convert_ulong3_rtn(float3);
  2498. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(float3);
  2499. ulong3 __ovld __cnfn convert_ulong3(float3);
  2500. ulong3 __ovld __cnfn convert_ulong3_sat(float3);
  2501. float3 __ovld __cnfn convert_float3_rte(char3);
  2502. float3 __ovld __cnfn convert_float3_rtz(char3);
  2503. float3 __ovld __cnfn convert_float3_rtp(char3);
  2504. float3 __ovld __cnfn convert_float3_rtn(char3);
  2505. float3 __ovld __cnfn convert_float3(char3);
  2506. float3 __ovld __cnfn convert_float3_rte(uchar3);
  2507. float3 __ovld __cnfn convert_float3_rtz(uchar3);
  2508. float3 __ovld __cnfn convert_float3_rtp(uchar3);
  2509. float3 __ovld __cnfn convert_float3_rtn(uchar3);
  2510. float3 __ovld __cnfn convert_float3(uchar3);
  2511. float3 __ovld __cnfn convert_float3_rte(short3);
  2512. float3 __ovld __cnfn convert_float3_rtz(short3);
  2513. float3 __ovld __cnfn convert_float3_rtp(short3);
  2514. float3 __ovld __cnfn convert_float3_rtn(short3);
  2515. float3 __ovld __cnfn convert_float3(short3);
  2516. float3 __ovld __cnfn convert_float3_rte(ushort3);
  2517. float3 __ovld __cnfn convert_float3_rtz(ushort3);
  2518. float3 __ovld __cnfn convert_float3_rtp(ushort3);
  2519. float3 __ovld __cnfn convert_float3_rtn(ushort3);
  2520. float3 __ovld __cnfn convert_float3(ushort3);
  2521. float3 __ovld __cnfn convert_float3_rte(int3);
  2522. float3 __ovld __cnfn convert_float3_rtz(int3);
  2523. float3 __ovld __cnfn convert_float3_rtp(int3);
  2524. float3 __ovld __cnfn convert_float3_rtn(int3);
  2525. float3 __ovld __cnfn convert_float3(int3);
  2526. float3 __ovld __cnfn convert_float3_rte(uint3);
  2527. float3 __ovld __cnfn convert_float3_rtz(uint3);
  2528. float3 __ovld __cnfn convert_float3_rtp(uint3);
  2529. float3 __ovld __cnfn convert_float3_rtn(uint3);
  2530. float3 __ovld __cnfn convert_float3(uint3);
  2531. float3 __ovld __cnfn convert_float3_rte(long3);
  2532. float3 __ovld __cnfn convert_float3_rtz(long3);
  2533. float3 __ovld __cnfn convert_float3_rtp(long3);
  2534. float3 __ovld __cnfn convert_float3_rtn(long3);
  2535. float3 __ovld __cnfn convert_float3(long3);
  2536. float3 __ovld __cnfn convert_float3_rte(ulong3);
  2537. float3 __ovld __cnfn convert_float3_rtz(ulong3);
  2538. float3 __ovld __cnfn convert_float3_rtp(ulong3);
  2539. float3 __ovld __cnfn convert_float3_rtn(ulong3);
  2540. float3 __ovld __cnfn convert_float3(ulong3);
  2541. float3 __ovld __cnfn convert_float3_rte(float3);
  2542. float3 __ovld __cnfn convert_float3_rtz(float3);
  2543. float3 __ovld __cnfn convert_float3_rtp(float3);
  2544. float3 __ovld __cnfn convert_float3_rtn(float3);
  2545. float3 __ovld __cnfn convert_float3(float3);
  2546. char4 __ovld __cnfn convert_char4_rte(char4);
  2547. char4 __ovld __cnfn convert_char4_sat_rte(char4);
  2548. char4 __ovld __cnfn convert_char4_rtz(char4);
  2549. char4 __ovld __cnfn convert_char4_sat_rtz(char4);
  2550. char4 __ovld __cnfn convert_char4_rtp(char4);
  2551. char4 __ovld __cnfn convert_char4_sat_rtp(char4);
  2552. char4 __ovld __cnfn convert_char4_rtn(char4);
  2553. char4 __ovld __cnfn convert_char4_sat_rtn(char4);
  2554. char4 __ovld __cnfn convert_char4(char4);
  2555. char4 __ovld __cnfn convert_char4_sat(char4);
  2556. char4 __ovld __cnfn convert_char4_rte(uchar4);
  2557. char4 __ovld __cnfn convert_char4_sat_rte(uchar4);
  2558. char4 __ovld __cnfn convert_char4_rtz(uchar4);
  2559. char4 __ovld __cnfn convert_char4_sat_rtz(uchar4);
  2560. char4 __ovld __cnfn convert_char4_rtp(uchar4);
  2561. char4 __ovld __cnfn convert_char4_sat_rtp(uchar4);
  2562. char4 __ovld __cnfn convert_char4_rtn(uchar4);
  2563. char4 __ovld __cnfn convert_char4_sat_rtn(uchar4);
  2564. char4 __ovld __cnfn convert_char4(uchar4);
  2565. char4 __ovld __cnfn convert_char4_sat(uchar4);
  2566. char4 __ovld __cnfn convert_char4_rte(short4);
  2567. char4 __ovld __cnfn convert_char4_sat_rte(short4);
  2568. char4 __ovld __cnfn convert_char4_rtz(short4);
  2569. char4 __ovld __cnfn convert_char4_sat_rtz(short4);
  2570. char4 __ovld __cnfn convert_char4_rtp(short4);
  2571. char4 __ovld __cnfn convert_char4_sat_rtp(short4);
  2572. char4 __ovld __cnfn convert_char4_rtn(short4);
  2573. char4 __ovld __cnfn convert_char4_sat_rtn(short4);
  2574. char4 __ovld __cnfn convert_char4(short4);
  2575. char4 __ovld __cnfn convert_char4_sat(short4);
  2576. char4 __ovld __cnfn convert_char4_rte(ushort4);
  2577. char4 __ovld __cnfn convert_char4_sat_rte(ushort4);
  2578. char4 __ovld __cnfn convert_char4_rtz(ushort4);
  2579. char4 __ovld __cnfn convert_char4_sat_rtz(ushort4);
  2580. char4 __ovld __cnfn convert_char4_rtp(ushort4);
  2581. char4 __ovld __cnfn convert_char4_sat_rtp(ushort4);
  2582. char4 __ovld __cnfn convert_char4_rtn(ushort4);
  2583. char4 __ovld __cnfn convert_char4_sat_rtn(ushort4);
  2584. char4 __ovld __cnfn convert_char4(ushort4);
  2585. char4 __ovld __cnfn convert_char4_sat(ushort4);
  2586. char4 __ovld __cnfn convert_char4_rte(int4);
  2587. char4 __ovld __cnfn convert_char4_sat_rte(int4);
  2588. char4 __ovld __cnfn convert_char4_rtz(int4);
  2589. char4 __ovld __cnfn convert_char4_sat_rtz(int4);
  2590. char4 __ovld __cnfn convert_char4_rtp(int4);
  2591. char4 __ovld __cnfn convert_char4_sat_rtp(int4);
  2592. char4 __ovld __cnfn convert_char4_rtn(int4);
  2593. char4 __ovld __cnfn convert_char4_sat_rtn(int4);
  2594. char4 __ovld __cnfn convert_char4(int4);
  2595. char4 __ovld __cnfn convert_char4_sat(int4);
  2596. char4 __ovld __cnfn convert_char4_rte(uint4);
  2597. char4 __ovld __cnfn convert_char4_sat_rte(uint4);
  2598. char4 __ovld __cnfn convert_char4_rtz(uint4);
  2599. char4 __ovld __cnfn convert_char4_sat_rtz(uint4);
  2600. char4 __ovld __cnfn convert_char4_rtp(uint4);
  2601. char4 __ovld __cnfn convert_char4_sat_rtp(uint4);
  2602. char4 __ovld __cnfn convert_char4_rtn(uint4);
  2603. char4 __ovld __cnfn convert_char4_sat_rtn(uint4);
  2604. char4 __ovld __cnfn convert_char4(uint4);
  2605. char4 __ovld __cnfn convert_char4_sat(uint4);
  2606. char4 __ovld __cnfn convert_char4_rte(long4);
  2607. char4 __ovld __cnfn convert_char4_sat_rte(long4);
  2608. char4 __ovld __cnfn convert_char4_rtz(long4);
  2609. char4 __ovld __cnfn convert_char4_sat_rtz(long4);
  2610. char4 __ovld __cnfn convert_char4_rtp(long4);
  2611. char4 __ovld __cnfn convert_char4_sat_rtp(long4);
  2612. char4 __ovld __cnfn convert_char4_rtn(long4);
  2613. char4 __ovld __cnfn convert_char4_sat_rtn(long4);
  2614. char4 __ovld __cnfn convert_char4(long4);
  2615. char4 __ovld __cnfn convert_char4_sat(long4);
  2616. char4 __ovld __cnfn convert_char4_rte(ulong4);
  2617. char4 __ovld __cnfn convert_char4_sat_rte(ulong4);
  2618. char4 __ovld __cnfn convert_char4_rtz(ulong4);
  2619. char4 __ovld __cnfn convert_char4_sat_rtz(ulong4);
  2620. char4 __ovld __cnfn convert_char4_rtp(ulong4);
  2621. char4 __ovld __cnfn convert_char4_sat_rtp(ulong4);
  2622. char4 __ovld __cnfn convert_char4_rtn(ulong4);
  2623. char4 __ovld __cnfn convert_char4_sat_rtn(ulong4);
  2624. char4 __ovld __cnfn convert_char4(ulong4);
  2625. char4 __ovld __cnfn convert_char4_sat(ulong4);
  2626. char4 __ovld __cnfn convert_char4_rte(float4);
  2627. char4 __ovld __cnfn convert_char4_sat_rte(float4);
  2628. char4 __ovld __cnfn convert_char4_rtz(float4);
  2629. char4 __ovld __cnfn convert_char4_sat_rtz(float4);
  2630. char4 __ovld __cnfn convert_char4_rtp(float4);
  2631. char4 __ovld __cnfn convert_char4_sat_rtp(float4);
  2632. char4 __ovld __cnfn convert_char4_rtn(float4);
  2633. char4 __ovld __cnfn convert_char4_sat_rtn(float4);
  2634. char4 __ovld __cnfn convert_char4(float4);
  2635. char4 __ovld __cnfn convert_char4_sat(float4);
  2636. uchar4 __ovld __cnfn convert_uchar4_rte(char4);
  2637. uchar4 __ovld __cnfn convert_uchar4_sat_rte(char4);
  2638. uchar4 __ovld __cnfn convert_uchar4_rtz(char4);
  2639. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(char4);
  2640. uchar4 __ovld __cnfn convert_uchar4_rtp(char4);
  2641. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(char4);
  2642. uchar4 __ovld __cnfn convert_uchar4_rtn(char4);
  2643. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(char4);
  2644. uchar4 __ovld __cnfn convert_uchar4(char4);
  2645. uchar4 __ovld __cnfn convert_uchar4_sat(char4);
  2646. uchar4 __ovld __cnfn convert_uchar4_rte(uchar4);
  2647. uchar4 __ovld __cnfn convert_uchar4_sat_rte(uchar4);
  2648. uchar4 __ovld __cnfn convert_uchar4_rtz(uchar4);
  2649. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(uchar4);
  2650. uchar4 __ovld __cnfn convert_uchar4_rtp(uchar4);
  2651. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(uchar4);
  2652. uchar4 __ovld __cnfn convert_uchar4_rtn(uchar4);
  2653. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(uchar4);
  2654. uchar4 __ovld __cnfn convert_uchar4(uchar4);
  2655. uchar4 __ovld __cnfn convert_uchar4_sat(uchar4);
  2656. uchar4 __ovld __cnfn convert_uchar4_rte(short4);
  2657. uchar4 __ovld __cnfn convert_uchar4_sat_rte(short4);
  2658. uchar4 __ovld __cnfn convert_uchar4_rtz(short4);
  2659. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(short4);
  2660. uchar4 __ovld __cnfn convert_uchar4_rtp(short4);
  2661. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(short4);
  2662. uchar4 __ovld __cnfn convert_uchar4_rtn(short4);
  2663. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(short4);
  2664. uchar4 __ovld __cnfn convert_uchar4(short4);
  2665. uchar4 __ovld __cnfn convert_uchar4_sat(short4);
  2666. uchar4 __ovld __cnfn convert_uchar4_rte(ushort4);
  2667. uchar4 __ovld __cnfn convert_uchar4_sat_rte(ushort4);
  2668. uchar4 __ovld __cnfn convert_uchar4_rtz(ushort4);
  2669. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(ushort4);
  2670. uchar4 __ovld __cnfn convert_uchar4_rtp(ushort4);
  2671. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(ushort4);
  2672. uchar4 __ovld __cnfn convert_uchar4_rtn(ushort4);
  2673. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(ushort4);
  2674. uchar4 __ovld __cnfn convert_uchar4(ushort4);
  2675. uchar4 __ovld __cnfn convert_uchar4_sat(ushort4);
  2676. uchar4 __ovld __cnfn convert_uchar4_rte(int4);
  2677. uchar4 __ovld __cnfn convert_uchar4_sat_rte(int4);
  2678. uchar4 __ovld __cnfn convert_uchar4_rtz(int4);
  2679. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(int4);
  2680. uchar4 __ovld __cnfn convert_uchar4_rtp(int4);
  2681. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(int4);
  2682. uchar4 __ovld __cnfn convert_uchar4_rtn(int4);
  2683. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(int4);
  2684. uchar4 __ovld __cnfn convert_uchar4(int4);
  2685. uchar4 __ovld __cnfn convert_uchar4_sat(int4);
  2686. uchar4 __ovld __cnfn convert_uchar4_rte(uint4);
  2687. uchar4 __ovld __cnfn convert_uchar4_sat_rte(uint4);
  2688. uchar4 __ovld __cnfn convert_uchar4_rtz(uint4);
  2689. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(uint4);
  2690. uchar4 __ovld __cnfn convert_uchar4_rtp(uint4);
  2691. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(uint4);
  2692. uchar4 __ovld __cnfn convert_uchar4_rtn(uint4);
  2693. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(uint4);
  2694. uchar4 __ovld __cnfn convert_uchar4(uint4);
  2695. uchar4 __ovld __cnfn convert_uchar4_sat(uint4);
  2696. uchar4 __ovld __cnfn convert_uchar4_rte(long4);
  2697. uchar4 __ovld __cnfn convert_uchar4_sat_rte(long4);
  2698. uchar4 __ovld __cnfn convert_uchar4_rtz(long4);
  2699. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(long4);
  2700. uchar4 __ovld __cnfn convert_uchar4_rtp(long4);
  2701. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(long4);
  2702. uchar4 __ovld __cnfn convert_uchar4_rtn(long4);
  2703. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(long4);
  2704. uchar4 __ovld __cnfn convert_uchar4(long4);
  2705. uchar4 __ovld __cnfn convert_uchar4_sat(long4);
  2706. uchar4 __ovld __cnfn convert_uchar4_rte(ulong4);
  2707. uchar4 __ovld __cnfn convert_uchar4_sat_rte(ulong4);
  2708. uchar4 __ovld __cnfn convert_uchar4_rtz(ulong4);
  2709. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(ulong4);
  2710. uchar4 __ovld __cnfn convert_uchar4_rtp(ulong4);
  2711. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(ulong4);
  2712. uchar4 __ovld __cnfn convert_uchar4_rtn(ulong4);
  2713. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(ulong4);
  2714. uchar4 __ovld __cnfn convert_uchar4(ulong4);
  2715. uchar4 __ovld __cnfn convert_uchar4_sat(ulong4);
  2716. uchar4 __ovld __cnfn convert_uchar4_rte(float4);
  2717. uchar4 __ovld __cnfn convert_uchar4_sat_rte(float4);
  2718. uchar4 __ovld __cnfn convert_uchar4_rtz(float4);
  2719. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(float4);
  2720. uchar4 __ovld __cnfn convert_uchar4_rtp(float4);
  2721. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(float4);
  2722. uchar4 __ovld __cnfn convert_uchar4_rtn(float4);
  2723. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(float4);
  2724. uchar4 __ovld __cnfn convert_uchar4(float4);
  2725. uchar4 __ovld __cnfn convert_uchar4_sat(float4);
  2726. short4 __ovld __cnfn convert_short4_rte(char4);
  2727. short4 __ovld __cnfn convert_short4_sat_rte(char4);
  2728. short4 __ovld __cnfn convert_short4_rtz(char4);
  2729. short4 __ovld __cnfn convert_short4_sat_rtz(char4);
  2730. short4 __ovld __cnfn convert_short4_rtp(char4);
  2731. short4 __ovld __cnfn convert_short4_sat_rtp(char4);
  2732. short4 __ovld __cnfn convert_short4_rtn(char4);
  2733. short4 __ovld __cnfn convert_short4_sat_rtn(char4);
  2734. short4 __ovld __cnfn convert_short4(char4);
  2735. short4 __ovld __cnfn convert_short4_sat(char4);
  2736. short4 __ovld __cnfn convert_short4_rte(uchar4);
  2737. short4 __ovld __cnfn convert_short4_sat_rte(uchar4);
  2738. short4 __ovld __cnfn convert_short4_rtz(uchar4);
  2739. short4 __ovld __cnfn convert_short4_sat_rtz(uchar4);
  2740. short4 __ovld __cnfn convert_short4_rtp(uchar4);
  2741. short4 __ovld __cnfn convert_short4_sat_rtp(uchar4);
  2742. short4 __ovld __cnfn convert_short4_rtn(uchar4);
  2743. short4 __ovld __cnfn convert_short4_sat_rtn(uchar4);
  2744. short4 __ovld __cnfn convert_short4(uchar4);
  2745. short4 __ovld __cnfn convert_short4_sat(uchar4);
  2746. short4 __ovld __cnfn convert_short4_rte(short4);
  2747. short4 __ovld __cnfn convert_short4_sat_rte(short4);
  2748. short4 __ovld __cnfn convert_short4_rtz(short4);
  2749. short4 __ovld __cnfn convert_short4_sat_rtz(short4);
  2750. short4 __ovld __cnfn convert_short4_rtp(short4);
  2751. short4 __ovld __cnfn convert_short4_sat_rtp(short4);
  2752. short4 __ovld __cnfn convert_short4_rtn(short4);
  2753. short4 __ovld __cnfn convert_short4_sat_rtn(short4);
  2754. short4 __ovld __cnfn convert_short4(short4);
  2755. short4 __ovld __cnfn convert_short4_sat(short4);
  2756. short4 __ovld __cnfn convert_short4_rte(ushort4);
  2757. short4 __ovld __cnfn convert_short4_sat_rte(ushort4);
  2758. short4 __ovld __cnfn convert_short4_rtz(ushort4);
  2759. short4 __ovld __cnfn convert_short4_sat_rtz(ushort4);
  2760. short4 __ovld __cnfn convert_short4_rtp(ushort4);
  2761. short4 __ovld __cnfn convert_short4_sat_rtp(ushort4);
  2762. short4 __ovld __cnfn convert_short4_rtn(ushort4);
  2763. short4 __ovld __cnfn convert_short4_sat_rtn(ushort4);
  2764. short4 __ovld __cnfn convert_short4(ushort4);
  2765. short4 __ovld __cnfn convert_short4_sat(ushort4);
  2766. short4 __ovld __cnfn convert_short4_rte(int4);
  2767. short4 __ovld __cnfn convert_short4_sat_rte(int4);
  2768. short4 __ovld __cnfn convert_short4_rtz(int4);
  2769. short4 __ovld __cnfn convert_short4_sat_rtz(int4);
  2770. short4 __ovld __cnfn convert_short4_rtp(int4);
  2771. short4 __ovld __cnfn convert_short4_sat_rtp(int4);
  2772. short4 __ovld __cnfn convert_short4_rtn(int4);
  2773. short4 __ovld __cnfn convert_short4_sat_rtn(int4);
  2774. short4 __ovld __cnfn convert_short4(int4);
  2775. short4 __ovld __cnfn convert_short4_sat(int4);
  2776. short4 __ovld __cnfn convert_short4_rte(uint4);
  2777. short4 __ovld __cnfn convert_short4_sat_rte(uint4);
  2778. short4 __ovld __cnfn convert_short4_rtz(uint4);
  2779. short4 __ovld __cnfn convert_short4_sat_rtz(uint4);
  2780. short4 __ovld __cnfn convert_short4_rtp(uint4);
  2781. short4 __ovld __cnfn convert_short4_sat_rtp(uint4);
  2782. short4 __ovld __cnfn convert_short4_rtn(uint4);
  2783. short4 __ovld __cnfn convert_short4_sat_rtn(uint4);
  2784. short4 __ovld __cnfn convert_short4(uint4);
  2785. short4 __ovld __cnfn convert_short4_sat(uint4);
  2786. short4 __ovld __cnfn convert_short4_rte(long4);
  2787. short4 __ovld __cnfn convert_short4_sat_rte(long4);
  2788. short4 __ovld __cnfn convert_short4_rtz(long4);
  2789. short4 __ovld __cnfn convert_short4_sat_rtz(long4);
  2790. short4 __ovld __cnfn convert_short4_rtp(long4);
  2791. short4 __ovld __cnfn convert_short4_sat_rtp(long4);
  2792. short4 __ovld __cnfn convert_short4_rtn(long4);
  2793. short4 __ovld __cnfn convert_short4_sat_rtn(long4);
  2794. short4 __ovld __cnfn convert_short4(long4);
  2795. short4 __ovld __cnfn convert_short4_sat(long4);
  2796. short4 __ovld __cnfn convert_short4_rte(ulong4);
  2797. short4 __ovld __cnfn convert_short4_sat_rte(ulong4);
  2798. short4 __ovld __cnfn convert_short4_rtz(ulong4);
  2799. short4 __ovld __cnfn convert_short4_sat_rtz(ulong4);
  2800. short4 __ovld __cnfn convert_short4_rtp(ulong4);
  2801. short4 __ovld __cnfn convert_short4_sat_rtp(ulong4);
  2802. short4 __ovld __cnfn convert_short4_rtn(ulong4);
  2803. short4 __ovld __cnfn convert_short4_sat_rtn(ulong4);
  2804. short4 __ovld __cnfn convert_short4(ulong4);
  2805. short4 __ovld __cnfn convert_short4_sat(ulong4);
  2806. short4 __ovld __cnfn convert_short4_rte(float4);
  2807. short4 __ovld __cnfn convert_short4_sat_rte(float4);
  2808. short4 __ovld __cnfn convert_short4_rtz(float4);
  2809. short4 __ovld __cnfn convert_short4_sat_rtz(float4);
  2810. short4 __ovld __cnfn convert_short4_rtp(float4);
  2811. short4 __ovld __cnfn convert_short4_sat_rtp(float4);
  2812. short4 __ovld __cnfn convert_short4_rtn(float4);
  2813. short4 __ovld __cnfn convert_short4_sat_rtn(float4);
  2814. short4 __ovld __cnfn convert_short4(float4);
  2815. short4 __ovld __cnfn convert_short4_sat(float4);
  2816. ushort4 __ovld __cnfn convert_ushort4_rte(char4);
  2817. ushort4 __ovld __cnfn convert_ushort4_sat_rte(char4);
  2818. ushort4 __ovld __cnfn convert_ushort4_rtz(char4);
  2819. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(char4);
  2820. ushort4 __ovld __cnfn convert_ushort4_rtp(char4);
  2821. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(char4);
  2822. ushort4 __ovld __cnfn convert_ushort4_rtn(char4);
  2823. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(char4);
  2824. ushort4 __ovld __cnfn convert_ushort4(char4);
  2825. ushort4 __ovld __cnfn convert_ushort4_sat(char4);
  2826. ushort4 __ovld __cnfn convert_ushort4_rte(uchar4);
  2827. ushort4 __ovld __cnfn convert_ushort4_sat_rte(uchar4);
  2828. ushort4 __ovld __cnfn convert_ushort4_rtz(uchar4);
  2829. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(uchar4);
  2830. ushort4 __ovld __cnfn convert_ushort4_rtp(uchar4);
  2831. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(uchar4);
  2832. ushort4 __ovld __cnfn convert_ushort4_rtn(uchar4);
  2833. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(uchar4);
  2834. ushort4 __ovld __cnfn convert_ushort4(uchar4);
  2835. ushort4 __ovld __cnfn convert_ushort4_sat(uchar4);
  2836. ushort4 __ovld __cnfn convert_ushort4_rte(short4);
  2837. ushort4 __ovld __cnfn convert_ushort4_sat_rte(short4);
  2838. ushort4 __ovld __cnfn convert_ushort4_rtz(short4);
  2839. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(short4);
  2840. ushort4 __ovld __cnfn convert_ushort4_rtp(short4);
  2841. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(short4);
  2842. ushort4 __ovld __cnfn convert_ushort4_rtn(short4);
  2843. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(short4);
  2844. ushort4 __ovld __cnfn convert_ushort4(short4);
  2845. ushort4 __ovld __cnfn convert_ushort4_sat(short4);
  2846. ushort4 __ovld __cnfn convert_ushort4_rte(ushort4);
  2847. ushort4 __ovld __cnfn convert_ushort4_sat_rte(ushort4);
  2848. ushort4 __ovld __cnfn convert_ushort4_rtz(ushort4);
  2849. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(ushort4);
  2850. ushort4 __ovld __cnfn convert_ushort4_rtp(ushort4);
  2851. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(ushort4);
  2852. ushort4 __ovld __cnfn convert_ushort4_rtn(ushort4);
  2853. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(ushort4);
  2854. ushort4 __ovld __cnfn convert_ushort4(ushort4);
  2855. ushort4 __ovld __cnfn convert_ushort4_sat(ushort4);
  2856. ushort4 __ovld __cnfn convert_ushort4_rte(int4);
  2857. ushort4 __ovld __cnfn convert_ushort4_sat_rte(int4);
  2858. ushort4 __ovld __cnfn convert_ushort4_rtz(int4);
  2859. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(int4);
  2860. ushort4 __ovld __cnfn convert_ushort4_rtp(int4);
  2861. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(int4);
  2862. ushort4 __ovld __cnfn convert_ushort4_rtn(int4);
  2863. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(int4);
  2864. ushort4 __ovld __cnfn convert_ushort4(int4);
  2865. ushort4 __ovld __cnfn convert_ushort4_sat(int4);
  2866. ushort4 __ovld __cnfn convert_ushort4_rte(uint4);
  2867. ushort4 __ovld __cnfn convert_ushort4_sat_rte(uint4);
  2868. ushort4 __ovld __cnfn convert_ushort4_rtz(uint4);
  2869. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(uint4);
  2870. ushort4 __ovld __cnfn convert_ushort4_rtp(uint4);
  2871. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(uint4);
  2872. ushort4 __ovld __cnfn convert_ushort4_rtn(uint4);
  2873. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(uint4);
  2874. ushort4 __ovld __cnfn convert_ushort4(uint4);
  2875. ushort4 __ovld __cnfn convert_ushort4_sat(uint4);
  2876. ushort4 __ovld __cnfn convert_ushort4_rte(long4);
  2877. ushort4 __ovld __cnfn convert_ushort4_sat_rte(long4);
  2878. ushort4 __ovld __cnfn convert_ushort4_rtz(long4);
  2879. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(long4);
  2880. ushort4 __ovld __cnfn convert_ushort4_rtp(long4);
  2881. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(long4);
  2882. ushort4 __ovld __cnfn convert_ushort4_rtn(long4);
  2883. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(long4);
  2884. ushort4 __ovld __cnfn convert_ushort4(long4);
  2885. ushort4 __ovld __cnfn convert_ushort4_sat(long4);
  2886. ushort4 __ovld __cnfn convert_ushort4_rte(ulong4);
  2887. ushort4 __ovld __cnfn convert_ushort4_sat_rte(ulong4);
  2888. ushort4 __ovld __cnfn convert_ushort4_rtz(ulong4);
  2889. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(ulong4);
  2890. ushort4 __ovld __cnfn convert_ushort4_rtp(ulong4);
  2891. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(ulong4);
  2892. ushort4 __ovld __cnfn convert_ushort4_rtn(ulong4);
  2893. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(ulong4);
  2894. ushort4 __ovld __cnfn convert_ushort4(ulong4);
  2895. ushort4 __ovld __cnfn convert_ushort4_sat(ulong4);
  2896. ushort4 __ovld __cnfn convert_ushort4_rte(float4);
  2897. ushort4 __ovld __cnfn convert_ushort4_sat_rte(float4);
  2898. ushort4 __ovld __cnfn convert_ushort4_rtz(float4);
  2899. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(float4);
  2900. ushort4 __ovld __cnfn convert_ushort4_rtp(float4);
  2901. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(float4);
  2902. ushort4 __ovld __cnfn convert_ushort4_rtn(float4);
  2903. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(float4);
  2904. ushort4 __ovld __cnfn convert_ushort4(float4);
  2905. ushort4 __ovld __cnfn convert_ushort4_sat(float4);
  2906. int4 __ovld __cnfn convert_int4_rte(char4);
  2907. int4 __ovld __cnfn convert_int4_sat_rte(char4);
  2908. int4 __ovld __cnfn convert_int4_rtz(char4);
  2909. int4 __ovld __cnfn convert_int4_sat_rtz(char4);
  2910. int4 __ovld __cnfn convert_int4_rtp(char4);
  2911. int4 __ovld __cnfn convert_int4_sat_rtp(char4);
  2912. int4 __ovld __cnfn convert_int4_rtn(char4);
  2913. int4 __ovld __cnfn convert_int4_sat_rtn(char4);
  2914. int4 __ovld __cnfn convert_int4(char4);
  2915. int4 __ovld __cnfn convert_int4_sat(char4);
  2916. int4 __ovld __cnfn convert_int4_rte(uchar4);
  2917. int4 __ovld __cnfn convert_int4_sat_rte(uchar4);
  2918. int4 __ovld __cnfn convert_int4_rtz(uchar4);
  2919. int4 __ovld __cnfn convert_int4_sat_rtz(uchar4);
  2920. int4 __ovld __cnfn convert_int4_rtp(uchar4);
  2921. int4 __ovld __cnfn convert_int4_sat_rtp(uchar4);
  2922. int4 __ovld __cnfn convert_int4_rtn(uchar4);
  2923. int4 __ovld __cnfn convert_int4_sat_rtn(uchar4);
  2924. int4 __ovld __cnfn convert_int4(uchar4);
  2925. int4 __ovld __cnfn convert_int4_sat(uchar4);
  2926. int4 __ovld __cnfn convert_int4_rte(short4);
  2927. int4 __ovld __cnfn convert_int4_sat_rte(short4);
  2928. int4 __ovld __cnfn convert_int4_rtz(short4);
  2929. int4 __ovld __cnfn convert_int4_sat_rtz(short4);
  2930. int4 __ovld __cnfn convert_int4_rtp(short4);
  2931. int4 __ovld __cnfn convert_int4_sat_rtp(short4);
  2932. int4 __ovld __cnfn convert_int4_rtn(short4);
  2933. int4 __ovld __cnfn convert_int4_sat_rtn(short4);
  2934. int4 __ovld __cnfn convert_int4(short4);
  2935. int4 __ovld __cnfn convert_int4_sat(short4);
  2936. int4 __ovld __cnfn convert_int4_rte(ushort4);
  2937. int4 __ovld __cnfn convert_int4_sat_rte(ushort4);
  2938. int4 __ovld __cnfn convert_int4_rtz(ushort4);
  2939. int4 __ovld __cnfn convert_int4_sat_rtz(ushort4);
  2940. int4 __ovld __cnfn convert_int4_rtp(ushort4);
  2941. int4 __ovld __cnfn convert_int4_sat_rtp(ushort4);
  2942. int4 __ovld __cnfn convert_int4_rtn(ushort4);
  2943. int4 __ovld __cnfn convert_int4_sat_rtn(ushort4);
  2944. int4 __ovld __cnfn convert_int4(ushort4);
  2945. int4 __ovld __cnfn convert_int4_sat(ushort4);
  2946. int4 __ovld __cnfn convert_int4_rte(int4);
  2947. int4 __ovld __cnfn convert_int4_sat_rte(int4);
  2948. int4 __ovld __cnfn convert_int4_rtz(int4);
  2949. int4 __ovld __cnfn convert_int4_sat_rtz(int4);
  2950. int4 __ovld __cnfn convert_int4_rtp(int4);
  2951. int4 __ovld __cnfn convert_int4_sat_rtp(int4);
  2952. int4 __ovld __cnfn convert_int4_rtn(int4);
  2953. int4 __ovld __cnfn convert_int4_sat_rtn(int4);
  2954. int4 __ovld __cnfn convert_int4(int4);
  2955. int4 __ovld __cnfn convert_int4_sat(int4);
  2956. int4 __ovld __cnfn convert_int4_rte(uint4);
  2957. int4 __ovld __cnfn convert_int4_sat_rte(uint4);
  2958. int4 __ovld __cnfn convert_int4_rtz(uint4);
  2959. int4 __ovld __cnfn convert_int4_sat_rtz(uint4);
  2960. int4 __ovld __cnfn convert_int4_rtp(uint4);
  2961. int4 __ovld __cnfn convert_int4_sat_rtp(uint4);
  2962. int4 __ovld __cnfn convert_int4_rtn(uint4);
  2963. int4 __ovld __cnfn convert_int4_sat_rtn(uint4);
  2964. int4 __ovld __cnfn convert_int4(uint4);
  2965. int4 __ovld __cnfn convert_int4_sat(uint4);
  2966. int4 __ovld __cnfn convert_int4_rte(long4);
  2967. int4 __ovld __cnfn convert_int4_sat_rte(long4);
  2968. int4 __ovld __cnfn convert_int4_rtz(long4);
  2969. int4 __ovld __cnfn convert_int4_sat_rtz(long4);
  2970. int4 __ovld __cnfn convert_int4_rtp(long4);
  2971. int4 __ovld __cnfn convert_int4_sat_rtp(long4);
  2972. int4 __ovld __cnfn convert_int4_rtn(long4);
  2973. int4 __ovld __cnfn convert_int4_sat_rtn(long4);
  2974. int4 __ovld __cnfn convert_int4(long4);
  2975. int4 __ovld __cnfn convert_int4_sat(long4);
  2976. int4 __ovld __cnfn convert_int4_rte(ulong4);
  2977. int4 __ovld __cnfn convert_int4_sat_rte(ulong4);
  2978. int4 __ovld __cnfn convert_int4_rtz(ulong4);
  2979. int4 __ovld __cnfn convert_int4_sat_rtz(ulong4);
  2980. int4 __ovld __cnfn convert_int4_rtp(ulong4);
  2981. int4 __ovld __cnfn convert_int4_sat_rtp(ulong4);
  2982. int4 __ovld __cnfn convert_int4_rtn(ulong4);
  2983. int4 __ovld __cnfn convert_int4_sat_rtn(ulong4);
  2984. int4 __ovld __cnfn convert_int4(ulong4);
  2985. int4 __ovld __cnfn convert_int4_sat(ulong4);
  2986. int4 __ovld __cnfn convert_int4_rte(float4);
  2987. int4 __ovld __cnfn convert_int4_sat_rte(float4);
  2988. int4 __ovld __cnfn convert_int4_rtz(float4);
  2989. int4 __ovld __cnfn convert_int4_sat_rtz(float4);
  2990. int4 __ovld __cnfn convert_int4_rtp(float4);
  2991. int4 __ovld __cnfn convert_int4_sat_rtp(float4);
  2992. int4 __ovld __cnfn convert_int4_rtn(float4);
  2993. int4 __ovld __cnfn convert_int4_sat_rtn(float4);
  2994. int4 __ovld __cnfn convert_int4(float4);
  2995. int4 __ovld __cnfn convert_int4_sat(float4);
  2996. uint4 __ovld __cnfn convert_uint4_rte(char4);
  2997. uint4 __ovld __cnfn convert_uint4_sat_rte(char4);
  2998. uint4 __ovld __cnfn convert_uint4_rtz(char4);
  2999. uint4 __ovld __cnfn convert_uint4_sat_rtz(char4);
  3000. uint4 __ovld __cnfn convert_uint4_rtp(char4);
  3001. uint4 __ovld __cnfn convert_uint4_sat_rtp(char4);
  3002. uint4 __ovld __cnfn convert_uint4_rtn(char4);
  3003. uint4 __ovld __cnfn convert_uint4_sat_rtn(char4);
  3004. uint4 __ovld __cnfn convert_uint4(char4);
  3005. uint4 __ovld __cnfn convert_uint4_sat(char4);
  3006. uint4 __ovld __cnfn convert_uint4_rte(uchar4);
  3007. uint4 __ovld __cnfn convert_uint4_sat_rte(uchar4);
  3008. uint4 __ovld __cnfn convert_uint4_rtz(uchar4);
  3009. uint4 __ovld __cnfn convert_uint4_sat_rtz(uchar4);
  3010. uint4 __ovld __cnfn convert_uint4_rtp(uchar4);
  3011. uint4 __ovld __cnfn convert_uint4_sat_rtp(uchar4);
  3012. uint4 __ovld __cnfn convert_uint4_rtn(uchar4);
  3013. uint4 __ovld __cnfn convert_uint4_sat_rtn(uchar4);
  3014. uint4 __ovld __cnfn convert_uint4(uchar4);
  3015. uint4 __ovld __cnfn convert_uint4_sat(uchar4);
  3016. uint4 __ovld __cnfn convert_uint4_rte(short4);
  3017. uint4 __ovld __cnfn convert_uint4_sat_rte(short4);
  3018. uint4 __ovld __cnfn convert_uint4_rtz(short4);
  3019. uint4 __ovld __cnfn convert_uint4_sat_rtz(short4);
  3020. uint4 __ovld __cnfn convert_uint4_rtp(short4);
  3021. uint4 __ovld __cnfn convert_uint4_sat_rtp(short4);
  3022. uint4 __ovld __cnfn convert_uint4_rtn(short4);
  3023. uint4 __ovld __cnfn convert_uint4_sat_rtn(short4);
  3024. uint4 __ovld __cnfn convert_uint4(short4);
  3025. uint4 __ovld __cnfn convert_uint4_sat(short4);
  3026. uint4 __ovld __cnfn convert_uint4_rte(ushort4);
  3027. uint4 __ovld __cnfn convert_uint4_sat_rte(ushort4);
  3028. uint4 __ovld __cnfn convert_uint4_rtz(ushort4);
  3029. uint4 __ovld __cnfn convert_uint4_sat_rtz(ushort4);
  3030. uint4 __ovld __cnfn convert_uint4_rtp(ushort4);
  3031. uint4 __ovld __cnfn convert_uint4_sat_rtp(ushort4);
  3032. uint4 __ovld __cnfn convert_uint4_rtn(ushort4);
  3033. uint4 __ovld __cnfn convert_uint4_sat_rtn(ushort4);
  3034. uint4 __ovld __cnfn convert_uint4(ushort4);
  3035. uint4 __ovld __cnfn convert_uint4_sat(ushort4);
  3036. uint4 __ovld __cnfn convert_uint4_rte(int4);
  3037. uint4 __ovld __cnfn convert_uint4_sat_rte(int4);
  3038. uint4 __ovld __cnfn convert_uint4_rtz(int4);
  3039. uint4 __ovld __cnfn convert_uint4_sat_rtz(int4);
  3040. uint4 __ovld __cnfn convert_uint4_rtp(int4);
  3041. uint4 __ovld __cnfn convert_uint4_sat_rtp(int4);
  3042. uint4 __ovld __cnfn convert_uint4_rtn(int4);
  3043. uint4 __ovld __cnfn convert_uint4_sat_rtn(int4);
  3044. uint4 __ovld __cnfn convert_uint4(int4);
  3045. uint4 __ovld __cnfn convert_uint4_sat(int4);
  3046. uint4 __ovld __cnfn convert_uint4_rte(uint4);
  3047. uint4 __ovld __cnfn convert_uint4_sat_rte(uint4);
  3048. uint4 __ovld __cnfn convert_uint4_rtz(uint4);
  3049. uint4 __ovld __cnfn convert_uint4_sat_rtz(uint4);
  3050. uint4 __ovld __cnfn convert_uint4_rtp(uint4);
  3051. uint4 __ovld __cnfn convert_uint4_sat_rtp(uint4);
  3052. uint4 __ovld __cnfn convert_uint4_rtn(uint4);
  3053. uint4 __ovld __cnfn convert_uint4_sat_rtn(uint4);
  3054. uint4 __ovld __cnfn convert_uint4(uint4);
  3055. uint4 __ovld __cnfn convert_uint4_sat(uint4);
  3056. uint4 __ovld __cnfn convert_uint4_rte(long4);
  3057. uint4 __ovld __cnfn convert_uint4_sat_rte(long4);
  3058. uint4 __ovld __cnfn convert_uint4_rtz(long4);
  3059. uint4 __ovld __cnfn convert_uint4_sat_rtz(long4);
  3060. uint4 __ovld __cnfn convert_uint4_rtp(long4);
  3061. uint4 __ovld __cnfn convert_uint4_sat_rtp(long4);
  3062. uint4 __ovld __cnfn convert_uint4_rtn(long4);
  3063. uint4 __ovld __cnfn convert_uint4_sat_rtn(long4);
  3064. uint4 __ovld __cnfn convert_uint4(long4);
  3065. uint4 __ovld __cnfn convert_uint4_sat(long4);
  3066. uint4 __ovld __cnfn convert_uint4_rte(ulong4);
  3067. uint4 __ovld __cnfn convert_uint4_sat_rte(ulong4);
  3068. uint4 __ovld __cnfn convert_uint4_rtz(ulong4);
  3069. uint4 __ovld __cnfn convert_uint4_sat_rtz(ulong4);
  3070. uint4 __ovld __cnfn convert_uint4_rtp(ulong4);
  3071. uint4 __ovld __cnfn convert_uint4_sat_rtp(ulong4);
  3072. uint4 __ovld __cnfn convert_uint4_rtn(ulong4);
  3073. uint4 __ovld __cnfn convert_uint4_sat_rtn(ulong4);
  3074. uint4 __ovld __cnfn convert_uint4(ulong4);
  3075. uint4 __ovld __cnfn convert_uint4_sat(ulong4);
  3076. uint4 __ovld __cnfn convert_uint4_rte(float4);
  3077. uint4 __ovld __cnfn convert_uint4_sat_rte(float4);
  3078. uint4 __ovld __cnfn convert_uint4_rtz(float4);
  3079. uint4 __ovld __cnfn convert_uint4_sat_rtz(float4);
  3080. uint4 __ovld __cnfn convert_uint4_rtp(float4);
  3081. uint4 __ovld __cnfn convert_uint4_sat_rtp(float4);
  3082. uint4 __ovld __cnfn convert_uint4_rtn(float4);
  3083. uint4 __ovld __cnfn convert_uint4_sat_rtn(float4);
  3084. uint4 __ovld __cnfn convert_uint4(float4);
  3085. uint4 __ovld __cnfn convert_uint4_sat(float4);
  3086. long4 __ovld __cnfn convert_long4_rte(char4);
  3087. long4 __ovld __cnfn convert_long4_sat_rte(char4);
  3088. long4 __ovld __cnfn convert_long4_rtz(char4);
  3089. long4 __ovld __cnfn convert_long4_sat_rtz(char4);
  3090. long4 __ovld __cnfn convert_long4_rtp(char4);
  3091. long4 __ovld __cnfn convert_long4_sat_rtp(char4);
  3092. long4 __ovld __cnfn convert_long4_rtn(char4);
  3093. long4 __ovld __cnfn convert_long4_sat_rtn(char4);
  3094. long4 __ovld __cnfn convert_long4(char4);
  3095. long4 __ovld __cnfn convert_long4_sat(char4);
  3096. long4 __ovld __cnfn convert_long4_rte(uchar4);
  3097. long4 __ovld __cnfn convert_long4_sat_rte(uchar4);
  3098. long4 __ovld __cnfn convert_long4_rtz(uchar4);
  3099. long4 __ovld __cnfn convert_long4_sat_rtz(uchar4);
  3100. long4 __ovld __cnfn convert_long4_rtp(uchar4);
  3101. long4 __ovld __cnfn convert_long4_sat_rtp(uchar4);
  3102. long4 __ovld __cnfn convert_long4_rtn(uchar4);
  3103. long4 __ovld __cnfn convert_long4_sat_rtn(uchar4);
  3104. long4 __ovld __cnfn convert_long4(uchar4);
  3105. long4 __ovld __cnfn convert_long4_sat(uchar4);
  3106. long4 __ovld __cnfn convert_long4_rte(short4);
  3107. long4 __ovld __cnfn convert_long4_sat_rte(short4);
  3108. long4 __ovld __cnfn convert_long4_rtz(short4);
  3109. long4 __ovld __cnfn convert_long4_sat_rtz(short4);
  3110. long4 __ovld __cnfn convert_long4_rtp(short4);
  3111. long4 __ovld __cnfn convert_long4_sat_rtp(short4);
  3112. long4 __ovld __cnfn convert_long4_rtn(short4);
  3113. long4 __ovld __cnfn convert_long4_sat_rtn(short4);
  3114. long4 __ovld __cnfn convert_long4(short4);
  3115. long4 __ovld __cnfn convert_long4_sat(short4);
  3116. long4 __ovld __cnfn convert_long4_rte(ushort4);
  3117. long4 __ovld __cnfn convert_long4_sat_rte(ushort4);
  3118. long4 __ovld __cnfn convert_long4_rtz(ushort4);
  3119. long4 __ovld __cnfn convert_long4_sat_rtz(ushort4);
  3120. long4 __ovld __cnfn convert_long4_rtp(ushort4);
  3121. long4 __ovld __cnfn convert_long4_sat_rtp(ushort4);
  3122. long4 __ovld __cnfn convert_long4_rtn(ushort4);
  3123. long4 __ovld __cnfn convert_long4_sat_rtn(ushort4);
  3124. long4 __ovld __cnfn convert_long4(ushort4);
  3125. long4 __ovld __cnfn convert_long4_sat(ushort4);
  3126. long4 __ovld __cnfn convert_long4_rte(int4);
  3127. long4 __ovld __cnfn convert_long4_sat_rte(int4);
  3128. long4 __ovld __cnfn convert_long4_rtz(int4);
  3129. long4 __ovld __cnfn convert_long4_sat_rtz(int4);
  3130. long4 __ovld __cnfn convert_long4_rtp(int4);
  3131. long4 __ovld __cnfn convert_long4_sat_rtp(int4);
  3132. long4 __ovld __cnfn convert_long4_rtn(int4);
  3133. long4 __ovld __cnfn convert_long4_sat_rtn(int4);
  3134. long4 __ovld __cnfn convert_long4(int4);
  3135. long4 __ovld __cnfn convert_long4_sat(int4);
  3136. long4 __ovld __cnfn convert_long4_rte(uint4);
  3137. long4 __ovld __cnfn convert_long4_sat_rte(uint4);
  3138. long4 __ovld __cnfn convert_long4_rtz(uint4);
  3139. long4 __ovld __cnfn convert_long4_sat_rtz(uint4);
  3140. long4 __ovld __cnfn convert_long4_rtp(uint4);
  3141. long4 __ovld __cnfn convert_long4_sat_rtp(uint4);
  3142. long4 __ovld __cnfn convert_long4_rtn(uint4);
  3143. long4 __ovld __cnfn convert_long4_sat_rtn(uint4);
  3144. long4 __ovld __cnfn convert_long4(uint4);
  3145. long4 __ovld __cnfn convert_long4_sat(uint4);
  3146. long4 __ovld __cnfn convert_long4_rte(long4);
  3147. long4 __ovld __cnfn convert_long4_sat_rte(long4);
  3148. long4 __ovld __cnfn convert_long4_rtz(long4);
  3149. long4 __ovld __cnfn convert_long4_sat_rtz(long4);
  3150. long4 __ovld __cnfn convert_long4_rtp(long4);
  3151. long4 __ovld __cnfn convert_long4_sat_rtp(long4);
  3152. long4 __ovld __cnfn convert_long4_rtn(long4);
  3153. long4 __ovld __cnfn convert_long4_sat_rtn(long4);
  3154. long4 __ovld __cnfn convert_long4(long4);
  3155. long4 __ovld __cnfn convert_long4_sat(long4);
  3156. long4 __ovld __cnfn convert_long4_rte(ulong4);
  3157. long4 __ovld __cnfn convert_long4_sat_rte(ulong4);
  3158. long4 __ovld __cnfn convert_long4_rtz(ulong4);
  3159. long4 __ovld __cnfn convert_long4_sat_rtz(ulong4);
  3160. long4 __ovld __cnfn convert_long4_rtp(ulong4);
  3161. long4 __ovld __cnfn convert_long4_sat_rtp(ulong4);
  3162. long4 __ovld __cnfn convert_long4_rtn(ulong4);
  3163. long4 __ovld __cnfn convert_long4_sat_rtn(ulong4);
  3164. long4 __ovld __cnfn convert_long4(ulong4);
  3165. long4 __ovld __cnfn convert_long4_sat(ulong4);
  3166. long4 __ovld __cnfn convert_long4_rte(float4);
  3167. long4 __ovld __cnfn convert_long4_sat_rte(float4);
  3168. long4 __ovld __cnfn convert_long4_rtz(float4);
  3169. long4 __ovld __cnfn convert_long4_sat_rtz(float4);
  3170. long4 __ovld __cnfn convert_long4_rtp(float4);
  3171. long4 __ovld __cnfn convert_long4_sat_rtp(float4);
  3172. long4 __ovld __cnfn convert_long4_rtn(float4);
  3173. long4 __ovld __cnfn convert_long4_sat_rtn(float4);
  3174. long4 __ovld __cnfn convert_long4(float4);
  3175. long4 __ovld __cnfn convert_long4_sat(float4);
  3176. ulong4 __ovld __cnfn convert_ulong4_rte(char4);
  3177. ulong4 __ovld __cnfn convert_ulong4_sat_rte(char4);
  3178. ulong4 __ovld __cnfn convert_ulong4_rtz(char4);
  3179. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(char4);
  3180. ulong4 __ovld __cnfn convert_ulong4_rtp(char4);
  3181. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(char4);
  3182. ulong4 __ovld __cnfn convert_ulong4_rtn(char4);
  3183. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(char4);
  3184. ulong4 __ovld __cnfn convert_ulong4(char4);
  3185. ulong4 __ovld __cnfn convert_ulong4_sat(char4);
  3186. ulong4 __ovld __cnfn convert_ulong4_rte(uchar4);
  3187. ulong4 __ovld __cnfn convert_ulong4_sat_rte(uchar4);
  3188. ulong4 __ovld __cnfn convert_ulong4_rtz(uchar4);
  3189. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(uchar4);
  3190. ulong4 __ovld __cnfn convert_ulong4_rtp(uchar4);
  3191. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(uchar4);
  3192. ulong4 __ovld __cnfn convert_ulong4_rtn(uchar4);
  3193. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(uchar4);
  3194. ulong4 __ovld __cnfn convert_ulong4(uchar4);
  3195. ulong4 __ovld __cnfn convert_ulong4_sat(uchar4);
  3196. ulong4 __ovld __cnfn convert_ulong4_rte(short4);
  3197. ulong4 __ovld __cnfn convert_ulong4_sat_rte(short4);
  3198. ulong4 __ovld __cnfn convert_ulong4_rtz(short4);
  3199. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(short4);
  3200. ulong4 __ovld __cnfn convert_ulong4_rtp(short4);
  3201. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(short4);
  3202. ulong4 __ovld __cnfn convert_ulong4_rtn(short4);
  3203. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(short4);
  3204. ulong4 __ovld __cnfn convert_ulong4(short4);
  3205. ulong4 __ovld __cnfn convert_ulong4_sat(short4);
  3206. ulong4 __ovld __cnfn convert_ulong4_rte(ushort4);
  3207. ulong4 __ovld __cnfn convert_ulong4_sat_rte(ushort4);
  3208. ulong4 __ovld __cnfn convert_ulong4_rtz(ushort4);
  3209. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(ushort4);
  3210. ulong4 __ovld __cnfn convert_ulong4_rtp(ushort4);
  3211. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(ushort4);
  3212. ulong4 __ovld __cnfn convert_ulong4_rtn(ushort4);
  3213. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(ushort4);
  3214. ulong4 __ovld __cnfn convert_ulong4(ushort4);
  3215. ulong4 __ovld __cnfn convert_ulong4_sat(ushort4);
  3216. ulong4 __ovld __cnfn convert_ulong4_rte(int4);
  3217. ulong4 __ovld __cnfn convert_ulong4_sat_rte(int4);
  3218. ulong4 __ovld __cnfn convert_ulong4_rtz(int4);
  3219. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(int4);
  3220. ulong4 __ovld __cnfn convert_ulong4_rtp(int4);
  3221. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(int4);
  3222. ulong4 __ovld __cnfn convert_ulong4_rtn(int4);
  3223. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(int4);
  3224. ulong4 __ovld __cnfn convert_ulong4(int4);
  3225. ulong4 __ovld __cnfn convert_ulong4_sat(int4);
  3226. ulong4 __ovld __cnfn convert_ulong4_rte(uint4);
  3227. ulong4 __ovld __cnfn convert_ulong4_sat_rte(uint4);
  3228. ulong4 __ovld __cnfn convert_ulong4_rtz(uint4);
  3229. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(uint4);
  3230. ulong4 __ovld __cnfn convert_ulong4_rtp(uint4);
  3231. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(uint4);
  3232. ulong4 __ovld __cnfn convert_ulong4_rtn(uint4);
  3233. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(uint4);
  3234. ulong4 __ovld __cnfn convert_ulong4(uint4);
  3235. ulong4 __ovld __cnfn convert_ulong4_sat(uint4);
  3236. ulong4 __ovld __cnfn convert_ulong4_rte(long4);
  3237. ulong4 __ovld __cnfn convert_ulong4_sat_rte(long4);
  3238. ulong4 __ovld __cnfn convert_ulong4_rtz(long4);
  3239. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(long4);
  3240. ulong4 __ovld __cnfn convert_ulong4_rtp(long4);
  3241. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(long4);
  3242. ulong4 __ovld __cnfn convert_ulong4_rtn(long4);
  3243. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(long4);
  3244. ulong4 __ovld __cnfn convert_ulong4(long4);
  3245. ulong4 __ovld __cnfn convert_ulong4_sat(long4);
  3246. ulong4 __ovld __cnfn convert_ulong4_rte(ulong4);
  3247. ulong4 __ovld __cnfn convert_ulong4_sat_rte(ulong4);
  3248. ulong4 __ovld __cnfn convert_ulong4_rtz(ulong4);
  3249. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(ulong4);
  3250. ulong4 __ovld __cnfn convert_ulong4_rtp(ulong4);
  3251. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(ulong4);
  3252. ulong4 __ovld __cnfn convert_ulong4_rtn(ulong4);
  3253. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(ulong4);
  3254. ulong4 __ovld __cnfn convert_ulong4(ulong4);
  3255. ulong4 __ovld __cnfn convert_ulong4_sat(ulong4);
  3256. ulong4 __ovld __cnfn convert_ulong4_rte(float4);
  3257. ulong4 __ovld __cnfn convert_ulong4_sat_rte(float4);
  3258. ulong4 __ovld __cnfn convert_ulong4_rtz(float4);
  3259. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(float4);
  3260. ulong4 __ovld __cnfn convert_ulong4_rtp(float4);
  3261. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(float4);
  3262. ulong4 __ovld __cnfn convert_ulong4_rtn(float4);
  3263. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(float4);
  3264. ulong4 __ovld __cnfn convert_ulong4(float4);
  3265. ulong4 __ovld __cnfn convert_ulong4_sat(float4);
  3266. float4 __ovld __cnfn convert_float4_rte(char4);
  3267. float4 __ovld __cnfn convert_float4_rtz(char4);
  3268. float4 __ovld __cnfn convert_float4_rtp(char4);
  3269. float4 __ovld __cnfn convert_float4_rtn(char4);
  3270. float4 __ovld __cnfn convert_float4(char4);
  3271. float4 __ovld __cnfn convert_float4_rte(uchar4);
  3272. float4 __ovld __cnfn convert_float4_rtz(uchar4);
  3273. float4 __ovld __cnfn convert_float4_rtp(uchar4);
  3274. float4 __ovld __cnfn convert_float4_rtn(uchar4);
  3275. float4 __ovld __cnfn convert_float4(uchar4);
  3276. float4 __ovld __cnfn convert_float4_rte(short4);
  3277. float4 __ovld __cnfn convert_float4_rtz(short4);
  3278. float4 __ovld __cnfn convert_float4_rtp(short4);
  3279. float4 __ovld __cnfn convert_float4_rtn(short4);
  3280. float4 __ovld __cnfn convert_float4(short4);
  3281. float4 __ovld __cnfn convert_float4_rte(ushort4);
  3282. float4 __ovld __cnfn convert_float4_rtz(ushort4);
  3283. float4 __ovld __cnfn convert_float4_rtp(ushort4);
  3284. float4 __ovld __cnfn convert_float4_rtn(ushort4);
  3285. float4 __ovld __cnfn convert_float4(ushort4);
  3286. float4 __ovld __cnfn convert_float4_rte(int4);
  3287. float4 __ovld __cnfn convert_float4_rtz(int4);
  3288. float4 __ovld __cnfn convert_float4_rtp(int4);
  3289. float4 __ovld __cnfn convert_float4_rtn(int4);
  3290. float4 __ovld __cnfn convert_float4(int4);
  3291. float4 __ovld __cnfn convert_float4_rte(uint4);
  3292. float4 __ovld __cnfn convert_float4_rtz(uint4);
  3293. float4 __ovld __cnfn convert_float4_rtp(uint4);
  3294. float4 __ovld __cnfn convert_float4_rtn(uint4);
  3295. float4 __ovld __cnfn convert_float4(uint4);
  3296. float4 __ovld __cnfn convert_float4_rte(long4);
  3297. float4 __ovld __cnfn convert_float4_rtz(long4);
  3298. float4 __ovld __cnfn convert_float4_rtp(long4);
  3299. float4 __ovld __cnfn convert_float4_rtn(long4);
  3300. float4 __ovld __cnfn convert_float4(long4);
  3301. float4 __ovld __cnfn convert_float4_rte(ulong4);
  3302. float4 __ovld __cnfn convert_float4_rtz(ulong4);
  3303. float4 __ovld __cnfn convert_float4_rtp(ulong4);
  3304. float4 __ovld __cnfn convert_float4_rtn(ulong4);
  3305. float4 __ovld __cnfn convert_float4(ulong4);
  3306. float4 __ovld __cnfn convert_float4_rte(float4);
  3307. float4 __ovld __cnfn convert_float4_rtz(float4);
  3308. float4 __ovld __cnfn convert_float4_rtp(float4);
  3309. float4 __ovld __cnfn convert_float4_rtn(float4);
  3310. float4 __ovld __cnfn convert_float4(float4);
  3311. char8 __ovld __cnfn convert_char8_rte(char8);
  3312. char8 __ovld __cnfn convert_char8_sat_rte(char8);
  3313. char8 __ovld __cnfn convert_char8_rtz(char8);
  3314. char8 __ovld __cnfn convert_char8_sat_rtz(char8);
  3315. char8 __ovld __cnfn convert_char8_rtp(char8);
  3316. char8 __ovld __cnfn convert_char8_sat_rtp(char8);
  3317. char8 __ovld __cnfn convert_char8_rtn(char8);
  3318. char8 __ovld __cnfn convert_char8_sat_rtn(char8);
  3319. char8 __ovld __cnfn convert_char8(char8);
  3320. char8 __ovld __cnfn convert_char8_sat(char8);
  3321. char8 __ovld __cnfn convert_char8_rte(uchar8);
  3322. char8 __ovld __cnfn convert_char8_sat_rte(uchar8);
  3323. char8 __ovld __cnfn convert_char8_rtz(uchar8);
  3324. char8 __ovld __cnfn convert_char8_sat_rtz(uchar8);
  3325. char8 __ovld __cnfn convert_char8_rtp(uchar8);
  3326. char8 __ovld __cnfn convert_char8_sat_rtp(uchar8);
  3327. char8 __ovld __cnfn convert_char8_rtn(uchar8);
  3328. char8 __ovld __cnfn convert_char8_sat_rtn(uchar8);
  3329. char8 __ovld __cnfn convert_char8(uchar8);
  3330. char8 __ovld __cnfn convert_char8_sat(uchar8);
  3331. char8 __ovld __cnfn convert_char8_rte(short8);
  3332. char8 __ovld __cnfn convert_char8_sat_rte(short8);
  3333. char8 __ovld __cnfn convert_char8_rtz(short8);
  3334. char8 __ovld __cnfn convert_char8_sat_rtz(short8);
  3335. char8 __ovld __cnfn convert_char8_rtp(short8);
  3336. char8 __ovld __cnfn convert_char8_sat_rtp(short8);
  3337. char8 __ovld __cnfn convert_char8_rtn(short8);
  3338. char8 __ovld __cnfn convert_char8_sat_rtn(short8);
  3339. char8 __ovld __cnfn convert_char8(short8);
  3340. char8 __ovld __cnfn convert_char8_sat(short8);
  3341. char8 __ovld __cnfn convert_char8_rte(ushort8);
  3342. char8 __ovld __cnfn convert_char8_sat_rte(ushort8);
  3343. char8 __ovld __cnfn convert_char8_rtz(ushort8);
  3344. char8 __ovld __cnfn convert_char8_sat_rtz(ushort8);
  3345. char8 __ovld __cnfn convert_char8_rtp(ushort8);
  3346. char8 __ovld __cnfn convert_char8_sat_rtp(ushort8);
  3347. char8 __ovld __cnfn convert_char8_rtn(ushort8);
  3348. char8 __ovld __cnfn convert_char8_sat_rtn(ushort8);
  3349. char8 __ovld __cnfn convert_char8(ushort8);
  3350. char8 __ovld __cnfn convert_char8_sat(ushort8);
  3351. char8 __ovld __cnfn convert_char8_rte(int8);
  3352. char8 __ovld __cnfn convert_char8_sat_rte(int8);
  3353. char8 __ovld __cnfn convert_char8_rtz(int8);
  3354. char8 __ovld __cnfn convert_char8_sat_rtz(int8);
  3355. char8 __ovld __cnfn convert_char8_rtp(int8);
  3356. char8 __ovld __cnfn convert_char8_sat_rtp(int8);
  3357. char8 __ovld __cnfn convert_char8_rtn(int8);
  3358. char8 __ovld __cnfn convert_char8_sat_rtn(int8);
  3359. char8 __ovld __cnfn convert_char8(int8);
  3360. char8 __ovld __cnfn convert_char8_sat(int8);
  3361. char8 __ovld __cnfn convert_char8_rte(uint8);
  3362. char8 __ovld __cnfn convert_char8_sat_rte(uint8);
  3363. char8 __ovld __cnfn convert_char8_rtz(uint8);
  3364. char8 __ovld __cnfn convert_char8_sat_rtz(uint8);
  3365. char8 __ovld __cnfn convert_char8_rtp(uint8);
  3366. char8 __ovld __cnfn convert_char8_sat_rtp(uint8);
  3367. char8 __ovld __cnfn convert_char8_rtn(uint8);
  3368. char8 __ovld __cnfn convert_char8_sat_rtn(uint8);
  3369. char8 __ovld __cnfn convert_char8(uint8);
  3370. char8 __ovld __cnfn convert_char8_sat(uint8);
  3371. char8 __ovld __cnfn convert_char8_rte(long8);
  3372. char8 __ovld __cnfn convert_char8_sat_rte(long8);
  3373. char8 __ovld __cnfn convert_char8_rtz(long8);
  3374. char8 __ovld __cnfn convert_char8_sat_rtz(long8);
  3375. char8 __ovld __cnfn convert_char8_rtp(long8);
  3376. char8 __ovld __cnfn convert_char8_sat_rtp(long8);
  3377. char8 __ovld __cnfn convert_char8_rtn(long8);
  3378. char8 __ovld __cnfn convert_char8_sat_rtn(long8);
  3379. char8 __ovld __cnfn convert_char8(long8);
  3380. char8 __ovld __cnfn convert_char8_sat(long8);
  3381. char8 __ovld __cnfn convert_char8_rte(ulong8);
  3382. char8 __ovld __cnfn convert_char8_sat_rte(ulong8);
  3383. char8 __ovld __cnfn convert_char8_rtz(ulong8);
  3384. char8 __ovld __cnfn convert_char8_sat_rtz(ulong8);
  3385. char8 __ovld __cnfn convert_char8_rtp(ulong8);
  3386. char8 __ovld __cnfn convert_char8_sat_rtp(ulong8);
  3387. char8 __ovld __cnfn convert_char8_rtn(ulong8);
  3388. char8 __ovld __cnfn convert_char8_sat_rtn(ulong8);
  3389. char8 __ovld __cnfn convert_char8(ulong8);
  3390. char8 __ovld __cnfn convert_char8_sat(ulong8);
  3391. char8 __ovld __cnfn convert_char8_rte(float8);
  3392. char8 __ovld __cnfn convert_char8_sat_rte(float8);
  3393. char8 __ovld __cnfn convert_char8_rtz(float8);
  3394. char8 __ovld __cnfn convert_char8_sat_rtz(float8);
  3395. char8 __ovld __cnfn convert_char8_rtp(float8);
  3396. char8 __ovld __cnfn convert_char8_sat_rtp(float8);
  3397. char8 __ovld __cnfn convert_char8_rtn(float8);
  3398. char8 __ovld __cnfn convert_char8_sat_rtn(float8);
  3399. char8 __ovld __cnfn convert_char8(float8);
  3400. char8 __ovld __cnfn convert_char8_sat(float8);
  3401. uchar8 __ovld __cnfn convert_uchar8_rte(char8);
  3402. uchar8 __ovld __cnfn convert_uchar8_sat_rte(char8);
  3403. uchar8 __ovld __cnfn convert_uchar8_rtz(char8);
  3404. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(char8);
  3405. uchar8 __ovld __cnfn convert_uchar8_rtp(char8);
  3406. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(char8);
  3407. uchar8 __ovld __cnfn convert_uchar8_rtn(char8);
  3408. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(char8);
  3409. uchar8 __ovld __cnfn convert_uchar8(char8);
  3410. uchar8 __ovld __cnfn convert_uchar8_sat(char8);
  3411. uchar8 __ovld __cnfn convert_uchar8_rte(uchar8);
  3412. uchar8 __ovld __cnfn convert_uchar8_sat_rte(uchar8);
  3413. uchar8 __ovld __cnfn convert_uchar8_rtz(uchar8);
  3414. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(uchar8);
  3415. uchar8 __ovld __cnfn convert_uchar8_rtp(uchar8);
  3416. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(uchar8);
  3417. uchar8 __ovld __cnfn convert_uchar8_rtn(uchar8);
  3418. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(uchar8);
  3419. uchar8 __ovld __cnfn convert_uchar8(uchar8);
  3420. uchar8 __ovld __cnfn convert_uchar8_sat(uchar8);
  3421. uchar8 __ovld __cnfn convert_uchar8_rte(short8);
  3422. uchar8 __ovld __cnfn convert_uchar8_sat_rte(short8);
  3423. uchar8 __ovld __cnfn convert_uchar8_rtz(short8);
  3424. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(short8);
  3425. uchar8 __ovld __cnfn convert_uchar8_rtp(short8);
  3426. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(short8);
  3427. uchar8 __ovld __cnfn convert_uchar8_rtn(short8);
  3428. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(short8);
  3429. uchar8 __ovld __cnfn convert_uchar8(short8);
  3430. uchar8 __ovld __cnfn convert_uchar8_sat(short8);
  3431. uchar8 __ovld __cnfn convert_uchar8_rte(ushort8);
  3432. uchar8 __ovld __cnfn convert_uchar8_sat_rte(ushort8);
  3433. uchar8 __ovld __cnfn convert_uchar8_rtz(ushort8);
  3434. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(ushort8);
  3435. uchar8 __ovld __cnfn convert_uchar8_rtp(ushort8);
  3436. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(ushort8);
  3437. uchar8 __ovld __cnfn convert_uchar8_rtn(ushort8);
  3438. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(ushort8);
  3439. uchar8 __ovld __cnfn convert_uchar8(ushort8);
  3440. uchar8 __ovld __cnfn convert_uchar8_sat(ushort8);
  3441. uchar8 __ovld __cnfn convert_uchar8_rte(int8);
  3442. uchar8 __ovld __cnfn convert_uchar8_sat_rte(int8);
  3443. uchar8 __ovld __cnfn convert_uchar8_rtz(int8);
  3444. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(int8);
  3445. uchar8 __ovld __cnfn convert_uchar8_rtp(int8);
  3446. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(int8);
  3447. uchar8 __ovld __cnfn convert_uchar8_rtn(int8);
  3448. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(int8);
  3449. uchar8 __ovld __cnfn convert_uchar8(int8);
  3450. uchar8 __ovld __cnfn convert_uchar8_sat(int8);
  3451. uchar8 __ovld __cnfn convert_uchar8_rte(uint8);
  3452. uchar8 __ovld __cnfn convert_uchar8_sat_rte(uint8);
  3453. uchar8 __ovld __cnfn convert_uchar8_rtz(uint8);
  3454. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(uint8);
  3455. uchar8 __ovld __cnfn convert_uchar8_rtp(uint8);
  3456. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(uint8);
  3457. uchar8 __ovld __cnfn convert_uchar8_rtn(uint8);
  3458. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(uint8);
  3459. uchar8 __ovld __cnfn convert_uchar8(uint8);
  3460. uchar8 __ovld __cnfn convert_uchar8_sat(uint8);
  3461. uchar8 __ovld __cnfn convert_uchar8_rte(long8);
  3462. uchar8 __ovld __cnfn convert_uchar8_sat_rte(long8);
  3463. uchar8 __ovld __cnfn convert_uchar8_rtz(long8);
  3464. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(long8);
  3465. uchar8 __ovld __cnfn convert_uchar8_rtp(long8);
  3466. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(long8);
  3467. uchar8 __ovld __cnfn convert_uchar8_rtn(long8);
  3468. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(long8);
  3469. uchar8 __ovld __cnfn convert_uchar8(long8);
  3470. uchar8 __ovld __cnfn convert_uchar8_sat(long8);
  3471. uchar8 __ovld __cnfn convert_uchar8_rte(ulong8);
  3472. uchar8 __ovld __cnfn convert_uchar8_sat_rte(ulong8);
  3473. uchar8 __ovld __cnfn convert_uchar8_rtz(ulong8);
  3474. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(ulong8);
  3475. uchar8 __ovld __cnfn convert_uchar8_rtp(ulong8);
  3476. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(ulong8);
  3477. uchar8 __ovld __cnfn convert_uchar8_rtn(ulong8);
  3478. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(ulong8);
  3479. uchar8 __ovld __cnfn convert_uchar8(ulong8);
  3480. uchar8 __ovld __cnfn convert_uchar8_sat(ulong8);
  3481. uchar8 __ovld __cnfn convert_uchar8_rte(float8);
  3482. uchar8 __ovld __cnfn convert_uchar8_sat_rte(float8);
  3483. uchar8 __ovld __cnfn convert_uchar8_rtz(float8);
  3484. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(float8);
  3485. uchar8 __ovld __cnfn convert_uchar8_rtp(float8);
  3486. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(float8);
  3487. uchar8 __ovld __cnfn convert_uchar8_rtn(float8);
  3488. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(float8);
  3489. uchar8 __ovld __cnfn convert_uchar8(float8);
  3490. uchar8 __ovld __cnfn convert_uchar8_sat(float8);
  3491. short8 __ovld __cnfn convert_short8_rte(char8);
  3492. short8 __ovld __cnfn convert_short8_sat_rte(char8);
  3493. short8 __ovld __cnfn convert_short8_rtz(char8);
  3494. short8 __ovld __cnfn convert_short8_sat_rtz(char8);
  3495. short8 __ovld __cnfn convert_short8_rtp(char8);
  3496. short8 __ovld __cnfn convert_short8_sat_rtp(char8);
  3497. short8 __ovld __cnfn convert_short8_rtn(char8);
  3498. short8 __ovld __cnfn convert_short8_sat_rtn(char8);
  3499. short8 __ovld __cnfn convert_short8(char8);
  3500. short8 __ovld __cnfn convert_short8_sat(char8);
  3501. short8 __ovld __cnfn convert_short8_rte(uchar8);
  3502. short8 __ovld __cnfn convert_short8_sat_rte(uchar8);
  3503. short8 __ovld __cnfn convert_short8_rtz(uchar8);
  3504. short8 __ovld __cnfn convert_short8_sat_rtz(uchar8);
  3505. short8 __ovld __cnfn convert_short8_rtp(uchar8);
  3506. short8 __ovld __cnfn convert_short8_sat_rtp(uchar8);
  3507. short8 __ovld __cnfn convert_short8_rtn(uchar8);
  3508. short8 __ovld __cnfn convert_short8_sat_rtn(uchar8);
  3509. short8 __ovld __cnfn convert_short8(uchar8);
  3510. short8 __ovld __cnfn convert_short8_sat(uchar8);
  3511. short8 __ovld __cnfn convert_short8_rte(short8);
  3512. short8 __ovld __cnfn convert_short8_sat_rte(short8);
  3513. short8 __ovld __cnfn convert_short8_rtz(short8);
  3514. short8 __ovld __cnfn convert_short8_sat_rtz(short8);
  3515. short8 __ovld __cnfn convert_short8_rtp(short8);
  3516. short8 __ovld __cnfn convert_short8_sat_rtp(short8);
  3517. short8 __ovld __cnfn convert_short8_rtn(short8);
  3518. short8 __ovld __cnfn convert_short8_sat_rtn(short8);
  3519. short8 __ovld __cnfn convert_short8(short8);
  3520. short8 __ovld __cnfn convert_short8_sat(short8);
  3521. short8 __ovld __cnfn convert_short8_rte(ushort8);
  3522. short8 __ovld __cnfn convert_short8_sat_rte(ushort8);
  3523. short8 __ovld __cnfn convert_short8_rtz(ushort8);
  3524. short8 __ovld __cnfn convert_short8_sat_rtz(ushort8);
  3525. short8 __ovld __cnfn convert_short8_rtp(ushort8);
  3526. short8 __ovld __cnfn convert_short8_sat_rtp(ushort8);
  3527. short8 __ovld __cnfn convert_short8_rtn(ushort8);
  3528. short8 __ovld __cnfn convert_short8_sat_rtn(ushort8);
  3529. short8 __ovld __cnfn convert_short8(ushort8);
  3530. short8 __ovld __cnfn convert_short8_sat(ushort8);
  3531. short8 __ovld __cnfn convert_short8_rte(int8);
  3532. short8 __ovld __cnfn convert_short8_sat_rte(int8);
  3533. short8 __ovld __cnfn convert_short8_rtz(int8);
  3534. short8 __ovld __cnfn convert_short8_sat_rtz(int8);
  3535. short8 __ovld __cnfn convert_short8_rtp(int8);
  3536. short8 __ovld __cnfn convert_short8_sat_rtp(int8);
  3537. short8 __ovld __cnfn convert_short8_rtn(int8);
  3538. short8 __ovld __cnfn convert_short8_sat_rtn(int8);
  3539. short8 __ovld __cnfn convert_short8(int8);
  3540. short8 __ovld __cnfn convert_short8_sat(int8);
  3541. short8 __ovld __cnfn convert_short8_rte(uint8);
  3542. short8 __ovld __cnfn convert_short8_sat_rte(uint8);
  3543. short8 __ovld __cnfn convert_short8_rtz(uint8);
  3544. short8 __ovld __cnfn convert_short8_sat_rtz(uint8);
  3545. short8 __ovld __cnfn convert_short8_rtp(uint8);
  3546. short8 __ovld __cnfn convert_short8_sat_rtp(uint8);
  3547. short8 __ovld __cnfn convert_short8_rtn(uint8);
  3548. short8 __ovld __cnfn convert_short8_sat_rtn(uint8);
  3549. short8 __ovld __cnfn convert_short8(uint8);
  3550. short8 __ovld __cnfn convert_short8_sat(uint8);
  3551. short8 __ovld __cnfn convert_short8_rte(long8);
  3552. short8 __ovld __cnfn convert_short8_sat_rte(long8);
  3553. short8 __ovld __cnfn convert_short8_rtz(long8);
  3554. short8 __ovld __cnfn convert_short8_sat_rtz(long8);
  3555. short8 __ovld __cnfn convert_short8_rtp(long8);
  3556. short8 __ovld __cnfn convert_short8_sat_rtp(long8);
  3557. short8 __ovld __cnfn convert_short8_rtn(long8);
  3558. short8 __ovld __cnfn convert_short8_sat_rtn(long8);
  3559. short8 __ovld __cnfn convert_short8(long8);
  3560. short8 __ovld __cnfn convert_short8_sat(long8);
  3561. short8 __ovld __cnfn convert_short8_rte(ulong8);
  3562. short8 __ovld __cnfn convert_short8_sat_rte(ulong8);
  3563. short8 __ovld __cnfn convert_short8_rtz(ulong8);
  3564. short8 __ovld __cnfn convert_short8_sat_rtz(ulong8);
  3565. short8 __ovld __cnfn convert_short8_rtp(ulong8);
  3566. short8 __ovld __cnfn convert_short8_sat_rtp(ulong8);
  3567. short8 __ovld __cnfn convert_short8_rtn(ulong8);
  3568. short8 __ovld __cnfn convert_short8_sat_rtn(ulong8);
  3569. short8 __ovld __cnfn convert_short8(ulong8);
  3570. short8 __ovld __cnfn convert_short8_sat(ulong8);
  3571. short8 __ovld __cnfn convert_short8_rte(float8);
  3572. short8 __ovld __cnfn convert_short8_sat_rte(float8);
  3573. short8 __ovld __cnfn convert_short8_rtz(float8);
  3574. short8 __ovld __cnfn convert_short8_sat_rtz(float8);
  3575. short8 __ovld __cnfn convert_short8_rtp(float8);
  3576. short8 __ovld __cnfn convert_short8_sat_rtp(float8);
  3577. short8 __ovld __cnfn convert_short8_rtn(float8);
  3578. short8 __ovld __cnfn convert_short8_sat_rtn(float8);
  3579. short8 __ovld __cnfn convert_short8(float8);
  3580. short8 __ovld __cnfn convert_short8_sat(float8);
  3581. ushort8 __ovld __cnfn convert_ushort8_rte(char8);
  3582. ushort8 __ovld __cnfn convert_ushort8_sat_rte(char8);
  3583. ushort8 __ovld __cnfn convert_ushort8_rtz(char8);
  3584. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(char8);
  3585. ushort8 __ovld __cnfn convert_ushort8_rtp(char8);
  3586. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(char8);
  3587. ushort8 __ovld __cnfn convert_ushort8_rtn(char8);
  3588. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(char8);
  3589. ushort8 __ovld __cnfn convert_ushort8(char8);
  3590. ushort8 __ovld __cnfn convert_ushort8_sat(char8);
  3591. ushort8 __ovld __cnfn convert_ushort8_rte(uchar8);
  3592. ushort8 __ovld __cnfn convert_ushort8_sat_rte(uchar8);
  3593. ushort8 __ovld __cnfn convert_ushort8_rtz(uchar8);
  3594. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(uchar8);
  3595. ushort8 __ovld __cnfn convert_ushort8_rtp(uchar8);
  3596. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(uchar8);
  3597. ushort8 __ovld __cnfn convert_ushort8_rtn(uchar8);
  3598. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(uchar8);
  3599. ushort8 __ovld __cnfn convert_ushort8(uchar8);
  3600. ushort8 __ovld __cnfn convert_ushort8_sat(uchar8);
  3601. ushort8 __ovld __cnfn convert_ushort8_rte(short8);
  3602. ushort8 __ovld __cnfn convert_ushort8_sat_rte(short8);
  3603. ushort8 __ovld __cnfn convert_ushort8_rtz(short8);
  3604. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(short8);
  3605. ushort8 __ovld __cnfn convert_ushort8_rtp(short8);
  3606. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(short8);
  3607. ushort8 __ovld __cnfn convert_ushort8_rtn(short8);
  3608. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(short8);
  3609. ushort8 __ovld __cnfn convert_ushort8(short8);
  3610. ushort8 __ovld __cnfn convert_ushort8_sat(short8);
  3611. ushort8 __ovld __cnfn convert_ushort8_rte(ushort8);
  3612. ushort8 __ovld __cnfn convert_ushort8_sat_rte(ushort8);
  3613. ushort8 __ovld __cnfn convert_ushort8_rtz(ushort8);
  3614. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(ushort8);
  3615. ushort8 __ovld __cnfn convert_ushort8_rtp(ushort8);
  3616. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(ushort8);
  3617. ushort8 __ovld __cnfn convert_ushort8_rtn(ushort8);
  3618. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(ushort8);
  3619. ushort8 __ovld __cnfn convert_ushort8(ushort8);
  3620. ushort8 __ovld __cnfn convert_ushort8_sat(ushort8);
  3621. ushort8 __ovld __cnfn convert_ushort8_rte(int8);
  3622. ushort8 __ovld __cnfn convert_ushort8_sat_rte(int8);
  3623. ushort8 __ovld __cnfn convert_ushort8_rtz(int8);
  3624. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(int8);
  3625. ushort8 __ovld __cnfn convert_ushort8_rtp(int8);
  3626. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(int8);
  3627. ushort8 __ovld __cnfn convert_ushort8_rtn(int8);
  3628. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(int8);
  3629. ushort8 __ovld __cnfn convert_ushort8(int8);
  3630. ushort8 __ovld __cnfn convert_ushort8_sat(int8);
  3631. ushort8 __ovld __cnfn convert_ushort8_rte(uint8);
  3632. ushort8 __ovld __cnfn convert_ushort8_sat_rte(uint8);
  3633. ushort8 __ovld __cnfn convert_ushort8_rtz(uint8);
  3634. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(uint8);
  3635. ushort8 __ovld __cnfn convert_ushort8_rtp(uint8);
  3636. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(uint8);
  3637. ushort8 __ovld __cnfn convert_ushort8_rtn(uint8);
  3638. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(uint8);
  3639. ushort8 __ovld __cnfn convert_ushort8(uint8);
  3640. ushort8 __ovld __cnfn convert_ushort8_sat(uint8);
  3641. ushort8 __ovld __cnfn convert_ushort8_rte(long8);
  3642. ushort8 __ovld __cnfn convert_ushort8_sat_rte(long8);
  3643. ushort8 __ovld __cnfn convert_ushort8_rtz(long8);
  3644. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(long8);
  3645. ushort8 __ovld __cnfn convert_ushort8_rtp(long8);
  3646. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(long8);
  3647. ushort8 __ovld __cnfn convert_ushort8_rtn(long8);
  3648. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(long8);
  3649. ushort8 __ovld __cnfn convert_ushort8(long8);
  3650. ushort8 __ovld __cnfn convert_ushort8_sat(long8);
  3651. ushort8 __ovld __cnfn convert_ushort8_rte(ulong8);
  3652. ushort8 __ovld __cnfn convert_ushort8_sat_rte(ulong8);
  3653. ushort8 __ovld __cnfn convert_ushort8_rtz(ulong8);
  3654. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(ulong8);
  3655. ushort8 __ovld __cnfn convert_ushort8_rtp(ulong8);
  3656. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(ulong8);
  3657. ushort8 __ovld __cnfn convert_ushort8_rtn(ulong8);
  3658. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(ulong8);
  3659. ushort8 __ovld __cnfn convert_ushort8(ulong8);
  3660. ushort8 __ovld __cnfn convert_ushort8_sat(ulong8);
  3661. ushort8 __ovld __cnfn convert_ushort8_rte(float8);
  3662. ushort8 __ovld __cnfn convert_ushort8_sat_rte(float8);
  3663. ushort8 __ovld __cnfn convert_ushort8_rtz(float8);
  3664. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(float8);
  3665. ushort8 __ovld __cnfn convert_ushort8_rtp(float8);
  3666. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(float8);
  3667. ushort8 __ovld __cnfn convert_ushort8_rtn(float8);
  3668. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(float8);
  3669. ushort8 __ovld __cnfn convert_ushort8(float8);
  3670. ushort8 __ovld __cnfn convert_ushort8_sat(float8);
  3671. int8 __ovld __cnfn convert_int8_rte(char8);
  3672. int8 __ovld __cnfn convert_int8_sat_rte(char8);
  3673. int8 __ovld __cnfn convert_int8_rtz(char8);
  3674. int8 __ovld __cnfn convert_int8_sat_rtz(char8);
  3675. int8 __ovld __cnfn convert_int8_rtp(char8);
  3676. int8 __ovld __cnfn convert_int8_sat_rtp(char8);
  3677. int8 __ovld __cnfn convert_int8_rtn(char8);
  3678. int8 __ovld __cnfn convert_int8_sat_rtn(char8);
  3679. int8 __ovld __cnfn convert_int8(char8);
  3680. int8 __ovld __cnfn convert_int8_sat(char8);
  3681. int8 __ovld __cnfn convert_int8_rte(uchar8);
  3682. int8 __ovld __cnfn convert_int8_sat_rte(uchar8);
  3683. int8 __ovld __cnfn convert_int8_rtz(uchar8);
  3684. int8 __ovld __cnfn convert_int8_sat_rtz(uchar8);
  3685. int8 __ovld __cnfn convert_int8_rtp(uchar8);
  3686. int8 __ovld __cnfn convert_int8_sat_rtp(uchar8);
  3687. int8 __ovld __cnfn convert_int8_rtn(uchar8);
  3688. int8 __ovld __cnfn convert_int8_sat_rtn(uchar8);
  3689. int8 __ovld __cnfn convert_int8(uchar8);
  3690. int8 __ovld __cnfn convert_int8_sat(uchar8);
  3691. int8 __ovld __cnfn convert_int8_rte(short8);
  3692. int8 __ovld __cnfn convert_int8_sat_rte(short8);
  3693. int8 __ovld __cnfn convert_int8_rtz(short8);
  3694. int8 __ovld __cnfn convert_int8_sat_rtz(short8);
  3695. int8 __ovld __cnfn convert_int8_rtp(short8);
  3696. int8 __ovld __cnfn convert_int8_sat_rtp(short8);
  3697. int8 __ovld __cnfn convert_int8_rtn(short8);
  3698. int8 __ovld __cnfn convert_int8_sat_rtn(short8);
  3699. int8 __ovld __cnfn convert_int8(short8);
  3700. int8 __ovld __cnfn convert_int8_sat(short8);
  3701. int8 __ovld __cnfn convert_int8_rte(ushort8);
  3702. int8 __ovld __cnfn convert_int8_sat_rte(ushort8);
  3703. int8 __ovld __cnfn convert_int8_rtz(ushort8);
  3704. int8 __ovld __cnfn convert_int8_sat_rtz(ushort8);
  3705. int8 __ovld __cnfn convert_int8_rtp(ushort8);
  3706. int8 __ovld __cnfn convert_int8_sat_rtp(ushort8);
  3707. int8 __ovld __cnfn convert_int8_rtn(ushort8);
  3708. int8 __ovld __cnfn convert_int8_sat_rtn(ushort8);
  3709. int8 __ovld __cnfn convert_int8(ushort8);
  3710. int8 __ovld __cnfn convert_int8_sat(ushort8);
  3711. int8 __ovld __cnfn convert_int8_rte(int8);
  3712. int8 __ovld __cnfn convert_int8_sat_rte(int8);
  3713. int8 __ovld __cnfn convert_int8_rtz(int8);
  3714. int8 __ovld __cnfn convert_int8_sat_rtz(int8);
  3715. int8 __ovld __cnfn convert_int8_rtp(int8);
  3716. int8 __ovld __cnfn convert_int8_sat_rtp(int8);
  3717. int8 __ovld __cnfn convert_int8_rtn(int8);
  3718. int8 __ovld __cnfn convert_int8_sat_rtn(int8);
  3719. int8 __ovld __cnfn convert_int8(int8);
  3720. int8 __ovld __cnfn convert_int8_sat(int8);
  3721. int8 __ovld __cnfn convert_int8_rte(uint8);
  3722. int8 __ovld __cnfn convert_int8_sat_rte(uint8);
  3723. int8 __ovld __cnfn convert_int8_rtz(uint8);
  3724. int8 __ovld __cnfn convert_int8_sat_rtz(uint8);
  3725. int8 __ovld __cnfn convert_int8_rtp(uint8);
  3726. int8 __ovld __cnfn convert_int8_sat_rtp(uint8);
  3727. int8 __ovld __cnfn convert_int8_rtn(uint8);
  3728. int8 __ovld __cnfn convert_int8_sat_rtn(uint8);
  3729. int8 __ovld __cnfn convert_int8(uint8);
  3730. int8 __ovld __cnfn convert_int8_sat(uint8);
  3731. int8 __ovld __cnfn convert_int8_rte(long8);
  3732. int8 __ovld __cnfn convert_int8_sat_rte(long8);
  3733. int8 __ovld __cnfn convert_int8_rtz(long8);
  3734. int8 __ovld __cnfn convert_int8_sat_rtz(long8);
  3735. int8 __ovld __cnfn convert_int8_rtp(long8);
  3736. int8 __ovld __cnfn convert_int8_sat_rtp(long8);
  3737. int8 __ovld __cnfn convert_int8_rtn(long8);
  3738. int8 __ovld __cnfn convert_int8_sat_rtn(long8);
  3739. int8 __ovld __cnfn convert_int8(long8);
  3740. int8 __ovld __cnfn convert_int8_sat(long8);
  3741. int8 __ovld __cnfn convert_int8_rte(ulong8);
  3742. int8 __ovld __cnfn convert_int8_sat_rte(ulong8);
  3743. int8 __ovld __cnfn convert_int8_rtz(ulong8);
  3744. int8 __ovld __cnfn convert_int8_sat_rtz(ulong8);
  3745. int8 __ovld __cnfn convert_int8_rtp(ulong8);
  3746. int8 __ovld __cnfn convert_int8_sat_rtp(ulong8);
  3747. int8 __ovld __cnfn convert_int8_rtn(ulong8);
  3748. int8 __ovld __cnfn convert_int8_sat_rtn(ulong8);
  3749. int8 __ovld __cnfn convert_int8(ulong8);
  3750. int8 __ovld __cnfn convert_int8_sat(ulong8);
  3751. int8 __ovld __cnfn convert_int8_rte(float8);
  3752. int8 __ovld __cnfn convert_int8_sat_rte(float8);
  3753. int8 __ovld __cnfn convert_int8_rtz(float8);
  3754. int8 __ovld __cnfn convert_int8_sat_rtz(float8);
  3755. int8 __ovld __cnfn convert_int8_rtp(float8);
  3756. int8 __ovld __cnfn convert_int8_sat_rtp(float8);
  3757. int8 __ovld __cnfn convert_int8_rtn(float8);
  3758. int8 __ovld __cnfn convert_int8_sat_rtn(float8);
  3759. int8 __ovld __cnfn convert_int8(float8);
  3760. int8 __ovld __cnfn convert_int8_sat(float8);
  3761. uint8 __ovld __cnfn convert_uint8_rte(char8);
  3762. uint8 __ovld __cnfn convert_uint8_sat_rte(char8);
  3763. uint8 __ovld __cnfn convert_uint8_rtz(char8);
  3764. uint8 __ovld __cnfn convert_uint8_sat_rtz(char8);
  3765. uint8 __ovld __cnfn convert_uint8_rtp(char8);
  3766. uint8 __ovld __cnfn convert_uint8_sat_rtp(char8);
  3767. uint8 __ovld __cnfn convert_uint8_rtn(char8);
  3768. uint8 __ovld __cnfn convert_uint8_sat_rtn(char8);
  3769. uint8 __ovld __cnfn convert_uint8(char8);
  3770. uint8 __ovld __cnfn convert_uint8_sat(char8);
  3771. uint8 __ovld __cnfn convert_uint8_rte(uchar8);
  3772. uint8 __ovld __cnfn convert_uint8_sat_rte(uchar8);
  3773. uint8 __ovld __cnfn convert_uint8_rtz(uchar8);
  3774. uint8 __ovld __cnfn convert_uint8_sat_rtz(uchar8);
  3775. uint8 __ovld __cnfn convert_uint8_rtp(uchar8);
  3776. uint8 __ovld __cnfn convert_uint8_sat_rtp(uchar8);
  3777. uint8 __ovld __cnfn convert_uint8_rtn(uchar8);
  3778. uint8 __ovld __cnfn convert_uint8_sat_rtn(uchar8);
  3779. uint8 __ovld __cnfn convert_uint8(uchar8);
  3780. uint8 __ovld __cnfn convert_uint8_sat(uchar8);
  3781. uint8 __ovld __cnfn convert_uint8_rte(short8);
  3782. uint8 __ovld __cnfn convert_uint8_sat_rte(short8);
  3783. uint8 __ovld __cnfn convert_uint8_rtz(short8);
  3784. uint8 __ovld __cnfn convert_uint8_sat_rtz(short8);
  3785. uint8 __ovld __cnfn convert_uint8_rtp(short8);
  3786. uint8 __ovld __cnfn convert_uint8_sat_rtp(short8);
  3787. uint8 __ovld __cnfn convert_uint8_rtn(short8);
  3788. uint8 __ovld __cnfn convert_uint8_sat_rtn(short8);
  3789. uint8 __ovld __cnfn convert_uint8(short8);
  3790. uint8 __ovld __cnfn convert_uint8_sat(short8);
  3791. uint8 __ovld __cnfn convert_uint8_rte(ushort8);
  3792. uint8 __ovld __cnfn convert_uint8_sat_rte(ushort8);
  3793. uint8 __ovld __cnfn convert_uint8_rtz(ushort8);
  3794. uint8 __ovld __cnfn convert_uint8_sat_rtz(ushort8);
  3795. uint8 __ovld __cnfn convert_uint8_rtp(ushort8);
  3796. uint8 __ovld __cnfn convert_uint8_sat_rtp(ushort8);
  3797. uint8 __ovld __cnfn convert_uint8_rtn(ushort8);
  3798. uint8 __ovld __cnfn convert_uint8_sat_rtn(ushort8);
  3799. uint8 __ovld __cnfn convert_uint8(ushort8);
  3800. uint8 __ovld __cnfn convert_uint8_sat(ushort8);
  3801. uint8 __ovld __cnfn convert_uint8_rte(int8);
  3802. uint8 __ovld __cnfn convert_uint8_sat_rte(int8);
  3803. uint8 __ovld __cnfn convert_uint8_rtz(int8);
  3804. uint8 __ovld __cnfn convert_uint8_sat_rtz(int8);
  3805. uint8 __ovld __cnfn convert_uint8_rtp(int8);
  3806. uint8 __ovld __cnfn convert_uint8_sat_rtp(int8);
  3807. uint8 __ovld __cnfn convert_uint8_rtn(int8);
  3808. uint8 __ovld __cnfn convert_uint8_sat_rtn(int8);
  3809. uint8 __ovld __cnfn convert_uint8(int8);
  3810. uint8 __ovld __cnfn convert_uint8_sat(int8);
  3811. uint8 __ovld __cnfn convert_uint8_rte(uint8);
  3812. uint8 __ovld __cnfn convert_uint8_sat_rte(uint8);
  3813. uint8 __ovld __cnfn convert_uint8_rtz(uint8);
  3814. uint8 __ovld __cnfn convert_uint8_sat_rtz(uint8);
  3815. uint8 __ovld __cnfn convert_uint8_rtp(uint8);
  3816. uint8 __ovld __cnfn convert_uint8_sat_rtp(uint8);
  3817. uint8 __ovld __cnfn convert_uint8_rtn(uint8);
  3818. uint8 __ovld __cnfn convert_uint8_sat_rtn(uint8);
  3819. uint8 __ovld __cnfn convert_uint8(uint8);
  3820. uint8 __ovld __cnfn convert_uint8_sat(uint8);
  3821. uint8 __ovld __cnfn convert_uint8_rte(long8);
  3822. uint8 __ovld __cnfn convert_uint8_sat_rte(long8);
  3823. uint8 __ovld __cnfn convert_uint8_rtz(long8);
  3824. uint8 __ovld __cnfn convert_uint8_sat_rtz(long8);
  3825. uint8 __ovld __cnfn convert_uint8_rtp(long8);
  3826. uint8 __ovld __cnfn convert_uint8_sat_rtp(long8);
  3827. uint8 __ovld __cnfn convert_uint8_rtn(long8);
  3828. uint8 __ovld __cnfn convert_uint8_sat_rtn(long8);
  3829. uint8 __ovld __cnfn convert_uint8(long8);
  3830. uint8 __ovld __cnfn convert_uint8_sat(long8);
  3831. uint8 __ovld __cnfn convert_uint8_rte(ulong8);
  3832. uint8 __ovld __cnfn convert_uint8_sat_rte(ulong8);
  3833. uint8 __ovld __cnfn convert_uint8_rtz(ulong8);
  3834. uint8 __ovld __cnfn convert_uint8_sat_rtz(ulong8);
  3835. uint8 __ovld __cnfn convert_uint8_rtp(ulong8);
  3836. uint8 __ovld __cnfn convert_uint8_sat_rtp(ulong8);
  3837. uint8 __ovld __cnfn convert_uint8_rtn(ulong8);
  3838. uint8 __ovld __cnfn convert_uint8_sat_rtn(ulong8);
  3839. uint8 __ovld __cnfn convert_uint8(ulong8);
  3840. uint8 __ovld __cnfn convert_uint8_sat(ulong8);
  3841. uint8 __ovld __cnfn convert_uint8_rte(float8);
  3842. uint8 __ovld __cnfn convert_uint8_sat_rte(float8);
  3843. uint8 __ovld __cnfn convert_uint8_rtz(float8);
  3844. uint8 __ovld __cnfn convert_uint8_sat_rtz(float8);
  3845. uint8 __ovld __cnfn convert_uint8_rtp(float8);
  3846. uint8 __ovld __cnfn convert_uint8_sat_rtp(float8);
  3847. uint8 __ovld __cnfn convert_uint8_rtn(float8);
  3848. uint8 __ovld __cnfn convert_uint8_sat_rtn(float8);
  3849. uint8 __ovld __cnfn convert_uint8(float8);
  3850. uint8 __ovld __cnfn convert_uint8_sat(float8);
  3851. long8 __ovld __cnfn convert_long8_rte(char8);
  3852. long8 __ovld __cnfn convert_long8_sat_rte(char8);
  3853. long8 __ovld __cnfn convert_long8_rtz(char8);
  3854. long8 __ovld __cnfn convert_long8_sat_rtz(char8);
  3855. long8 __ovld __cnfn convert_long8_rtp(char8);
  3856. long8 __ovld __cnfn convert_long8_sat_rtp(char8);
  3857. long8 __ovld __cnfn convert_long8_rtn(char8);
  3858. long8 __ovld __cnfn convert_long8_sat_rtn(char8);
  3859. long8 __ovld __cnfn convert_long8(char8);
  3860. long8 __ovld __cnfn convert_long8_sat(char8);
  3861. long8 __ovld __cnfn convert_long8_rte(uchar8);
  3862. long8 __ovld __cnfn convert_long8_sat_rte(uchar8);
  3863. long8 __ovld __cnfn convert_long8_rtz(uchar8);
  3864. long8 __ovld __cnfn convert_long8_sat_rtz(uchar8);
  3865. long8 __ovld __cnfn convert_long8_rtp(uchar8);
  3866. long8 __ovld __cnfn convert_long8_sat_rtp(uchar8);
  3867. long8 __ovld __cnfn convert_long8_rtn(uchar8);
  3868. long8 __ovld __cnfn convert_long8_sat_rtn(uchar8);
  3869. long8 __ovld __cnfn convert_long8(uchar8);
  3870. long8 __ovld __cnfn convert_long8_sat(uchar8);
  3871. long8 __ovld __cnfn convert_long8_rte(short8);
  3872. long8 __ovld __cnfn convert_long8_sat_rte(short8);
  3873. long8 __ovld __cnfn convert_long8_rtz(short8);
  3874. long8 __ovld __cnfn convert_long8_sat_rtz(short8);
  3875. long8 __ovld __cnfn convert_long8_rtp(short8);
  3876. long8 __ovld __cnfn convert_long8_sat_rtp(short8);
  3877. long8 __ovld __cnfn convert_long8_rtn(short8);
  3878. long8 __ovld __cnfn convert_long8_sat_rtn(short8);
  3879. long8 __ovld __cnfn convert_long8(short8);
  3880. long8 __ovld __cnfn convert_long8_sat(short8);
  3881. long8 __ovld __cnfn convert_long8_rte(ushort8);
  3882. long8 __ovld __cnfn convert_long8_sat_rte(ushort8);
  3883. long8 __ovld __cnfn convert_long8_rtz(ushort8);
  3884. long8 __ovld __cnfn convert_long8_sat_rtz(ushort8);
  3885. long8 __ovld __cnfn convert_long8_rtp(ushort8);
  3886. long8 __ovld __cnfn convert_long8_sat_rtp(ushort8);
  3887. long8 __ovld __cnfn convert_long8_rtn(ushort8);
  3888. long8 __ovld __cnfn convert_long8_sat_rtn(ushort8);
  3889. long8 __ovld __cnfn convert_long8(ushort8);
  3890. long8 __ovld __cnfn convert_long8_sat(ushort8);
  3891. long8 __ovld __cnfn convert_long8_rte(int8);
  3892. long8 __ovld __cnfn convert_long8_sat_rte(int8);
  3893. long8 __ovld __cnfn convert_long8_rtz(int8);
  3894. long8 __ovld __cnfn convert_long8_sat_rtz(int8);
  3895. long8 __ovld __cnfn convert_long8_rtp(int8);
  3896. long8 __ovld __cnfn convert_long8_sat_rtp(int8);
  3897. long8 __ovld __cnfn convert_long8_rtn(int8);
  3898. long8 __ovld __cnfn convert_long8_sat_rtn(int8);
  3899. long8 __ovld __cnfn convert_long8(int8);
  3900. long8 __ovld __cnfn convert_long8_sat(int8);
  3901. long8 __ovld __cnfn convert_long8_rte(uint8);
  3902. long8 __ovld __cnfn convert_long8_sat_rte(uint8);
  3903. long8 __ovld __cnfn convert_long8_rtz(uint8);
  3904. long8 __ovld __cnfn convert_long8_sat_rtz(uint8);
  3905. long8 __ovld __cnfn convert_long8_rtp(uint8);
  3906. long8 __ovld __cnfn convert_long8_sat_rtp(uint8);
  3907. long8 __ovld __cnfn convert_long8_rtn(uint8);
  3908. long8 __ovld __cnfn convert_long8_sat_rtn(uint8);
  3909. long8 __ovld __cnfn convert_long8(uint8);
  3910. long8 __ovld __cnfn convert_long8_sat(uint8);
  3911. long8 __ovld __cnfn convert_long8_rte(long8);
  3912. long8 __ovld __cnfn convert_long8_sat_rte(long8);
  3913. long8 __ovld __cnfn convert_long8_rtz(long8);
  3914. long8 __ovld __cnfn convert_long8_sat_rtz(long8);
  3915. long8 __ovld __cnfn convert_long8_rtp(long8);
  3916. long8 __ovld __cnfn convert_long8_sat_rtp(long8);
  3917. long8 __ovld __cnfn convert_long8_rtn(long8);
  3918. long8 __ovld __cnfn convert_long8_sat_rtn(long8);
  3919. long8 __ovld __cnfn convert_long8(long8);
  3920. long8 __ovld __cnfn convert_long8_sat(long8);
  3921. long8 __ovld __cnfn convert_long8_rte(ulong8);
  3922. long8 __ovld __cnfn convert_long8_sat_rte(ulong8);
  3923. long8 __ovld __cnfn convert_long8_rtz(ulong8);
  3924. long8 __ovld __cnfn convert_long8_sat_rtz(ulong8);
  3925. long8 __ovld __cnfn convert_long8_rtp(ulong8);
  3926. long8 __ovld __cnfn convert_long8_sat_rtp(ulong8);
  3927. long8 __ovld __cnfn convert_long8_rtn(ulong8);
  3928. long8 __ovld __cnfn convert_long8_sat_rtn(ulong8);
  3929. long8 __ovld __cnfn convert_long8(ulong8);
  3930. long8 __ovld __cnfn convert_long8_sat(ulong8);
  3931. long8 __ovld __cnfn convert_long8_rte(float8);
  3932. long8 __ovld __cnfn convert_long8_sat_rte(float8);
  3933. long8 __ovld __cnfn convert_long8_rtz(float8);
  3934. long8 __ovld __cnfn convert_long8_sat_rtz(float8);
  3935. long8 __ovld __cnfn convert_long8_rtp(float8);
  3936. long8 __ovld __cnfn convert_long8_sat_rtp(float8);
  3937. long8 __ovld __cnfn convert_long8_rtn(float8);
  3938. long8 __ovld __cnfn convert_long8_sat_rtn(float8);
  3939. long8 __ovld __cnfn convert_long8(float8);
  3940. long8 __ovld __cnfn convert_long8_sat(float8);
  3941. ulong8 __ovld __cnfn convert_ulong8_rte(char8);
  3942. ulong8 __ovld __cnfn convert_ulong8_sat_rte(char8);
  3943. ulong8 __ovld __cnfn convert_ulong8_rtz(char8);
  3944. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(char8);
  3945. ulong8 __ovld __cnfn convert_ulong8_rtp(char8);
  3946. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(char8);
  3947. ulong8 __ovld __cnfn convert_ulong8_rtn(char8);
  3948. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(char8);
  3949. ulong8 __ovld __cnfn convert_ulong8(char8);
  3950. ulong8 __ovld __cnfn convert_ulong8_sat(char8);
  3951. ulong8 __ovld __cnfn convert_ulong8_rte(uchar8);
  3952. ulong8 __ovld __cnfn convert_ulong8_sat_rte(uchar8);
  3953. ulong8 __ovld __cnfn convert_ulong8_rtz(uchar8);
  3954. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(uchar8);
  3955. ulong8 __ovld __cnfn convert_ulong8_rtp(uchar8);
  3956. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(uchar8);
  3957. ulong8 __ovld __cnfn convert_ulong8_rtn(uchar8);
  3958. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(uchar8);
  3959. ulong8 __ovld __cnfn convert_ulong8(uchar8);
  3960. ulong8 __ovld __cnfn convert_ulong8_sat(uchar8);
  3961. ulong8 __ovld __cnfn convert_ulong8_rte(short8);
  3962. ulong8 __ovld __cnfn convert_ulong8_sat_rte(short8);
  3963. ulong8 __ovld __cnfn convert_ulong8_rtz(short8);
  3964. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(short8);
  3965. ulong8 __ovld __cnfn convert_ulong8_rtp(short8);
  3966. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(short8);
  3967. ulong8 __ovld __cnfn convert_ulong8_rtn(short8);
  3968. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(short8);
  3969. ulong8 __ovld __cnfn convert_ulong8(short8);
  3970. ulong8 __ovld __cnfn convert_ulong8_sat(short8);
  3971. ulong8 __ovld __cnfn convert_ulong8_rte(ushort8);
  3972. ulong8 __ovld __cnfn convert_ulong8_sat_rte(ushort8);
  3973. ulong8 __ovld __cnfn convert_ulong8_rtz(ushort8);
  3974. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(ushort8);
  3975. ulong8 __ovld __cnfn convert_ulong8_rtp(ushort8);
  3976. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(ushort8);
  3977. ulong8 __ovld __cnfn convert_ulong8_rtn(ushort8);
  3978. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(ushort8);
  3979. ulong8 __ovld __cnfn convert_ulong8(ushort8);
  3980. ulong8 __ovld __cnfn convert_ulong8_sat(ushort8);
  3981. ulong8 __ovld __cnfn convert_ulong8_rte(int8);
  3982. ulong8 __ovld __cnfn convert_ulong8_sat_rte(int8);
  3983. ulong8 __ovld __cnfn convert_ulong8_rtz(int8);
  3984. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(int8);
  3985. ulong8 __ovld __cnfn convert_ulong8_rtp(int8);
  3986. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(int8);
  3987. ulong8 __ovld __cnfn convert_ulong8_rtn(int8);
  3988. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(int8);
  3989. ulong8 __ovld __cnfn convert_ulong8(int8);
  3990. ulong8 __ovld __cnfn convert_ulong8_sat(int8);
  3991. ulong8 __ovld __cnfn convert_ulong8_rte(uint8);
  3992. ulong8 __ovld __cnfn convert_ulong8_sat_rte(uint8);
  3993. ulong8 __ovld __cnfn convert_ulong8_rtz(uint8);
  3994. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(uint8);
  3995. ulong8 __ovld __cnfn convert_ulong8_rtp(uint8);
  3996. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(uint8);
  3997. ulong8 __ovld __cnfn convert_ulong8_rtn(uint8);
  3998. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(uint8);
  3999. ulong8 __ovld __cnfn convert_ulong8(uint8);
  4000. ulong8 __ovld __cnfn convert_ulong8_sat(uint8);
  4001. ulong8 __ovld __cnfn convert_ulong8_rte(long8);
  4002. ulong8 __ovld __cnfn convert_ulong8_sat_rte(long8);
  4003. ulong8 __ovld __cnfn convert_ulong8_rtz(long8);
  4004. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(long8);
  4005. ulong8 __ovld __cnfn convert_ulong8_rtp(long8);
  4006. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(long8);
  4007. ulong8 __ovld __cnfn convert_ulong8_rtn(long8);
  4008. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(long8);
  4009. ulong8 __ovld __cnfn convert_ulong8(long8);
  4010. ulong8 __ovld __cnfn convert_ulong8_sat(long8);
  4011. ulong8 __ovld __cnfn convert_ulong8_rte(ulong8);
  4012. ulong8 __ovld __cnfn convert_ulong8_sat_rte(ulong8);
  4013. ulong8 __ovld __cnfn convert_ulong8_rtz(ulong8);
  4014. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(ulong8);
  4015. ulong8 __ovld __cnfn convert_ulong8_rtp(ulong8);
  4016. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(ulong8);
  4017. ulong8 __ovld __cnfn convert_ulong8_rtn(ulong8);
  4018. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(ulong8);
  4019. ulong8 __ovld __cnfn convert_ulong8(ulong8);
  4020. ulong8 __ovld __cnfn convert_ulong8_sat(ulong8);
  4021. ulong8 __ovld __cnfn convert_ulong8_rte(float8);
  4022. ulong8 __ovld __cnfn convert_ulong8_sat_rte(float8);
  4023. ulong8 __ovld __cnfn convert_ulong8_rtz(float8);
  4024. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(float8);
  4025. ulong8 __ovld __cnfn convert_ulong8_rtp(float8);
  4026. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(float8);
  4027. ulong8 __ovld __cnfn convert_ulong8_rtn(float8);
  4028. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(float8);
  4029. ulong8 __ovld __cnfn convert_ulong8(float8);
  4030. ulong8 __ovld __cnfn convert_ulong8_sat(float8);
  4031. float8 __ovld __cnfn convert_float8_rte(char8);
  4032. float8 __ovld __cnfn convert_float8_rtz(char8);
  4033. float8 __ovld __cnfn convert_float8_rtp(char8);
  4034. float8 __ovld __cnfn convert_float8_rtn(char8);
  4035. float8 __ovld __cnfn convert_float8(char8);
  4036. float8 __ovld __cnfn convert_float8_rte(uchar8);
  4037. float8 __ovld __cnfn convert_float8_rtz(uchar8);
  4038. float8 __ovld __cnfn convert_float8_rtp(uchar8);
  4039. float8 __ovld __cnfn convert_float8_rtn(uchar8);
  4040. float8 __ovld __cnfn convert_float8(uchar8);
  4041. float8 __ovld __cnfn convert_float8_rte(short8);
  4042. float8 __ovld __cnfn convert_float8_rtz(short8);
  4043. float8 __ovld __cnfn convert_float8_rtp(short8);
  4044. float8 __ovld __cnfn convert_float8_rtn(short8);
  4045. float8 __ovld __cnfn convert_float8(short8);
  4046. float8 __ovld __cnfn convert_float8_rte(ushort8);
  4047. float8 __ovld __cnfn convert_float8_rtz(ushort8);
  4048. float8 __ovld __cnfn convert_float8_rtp(ushort8);
  4049. float8 __ovld __cnfn convert_float8_rtn(ushort8);
  4050. float8 __ovld __cnfn convert_float8(ushort8);
  4051. float8 __ovld __cnfn convert_float8_rte(int8);
  4052. float8 __ovld __cnfn convert_float8_rtz(int8);
  4053. float8 __ovld __cnfn convert_float8_rtp(int8);
  4054. float8 __ovld __cnfn convert_float8_rtn(int8);
  4055. float8 __ovld __cnfn convert_float8(int8);
  4056. float8 __ovld __cnfn convert_float8_rte(uint8);
  4057. float8 __ovld __cnfn convert_float8_rtz(uint8);
  4058. float8 __ovld __cnfn convert_float8_rtp(uint8);
  4059. float8 __ovld __cnfn convert_float8_rtn(uint8);
  4060. float8 __ovld __cnfn convert_float8(uint8);
  4061. float8 __ovld __cnfn convert_float8_rte(long8);
  4062. float8 __ovld __cnfn convert_float8_rtz(long8);
  4063. float8 __ovld __cnfn convert_float8_rtp(long8);
  4064. float8 __ovld __cnfn convert_float8_rtn(long8);
  4065. float8 __ovld __cnfn convert_float8(long8);
  4066. float8 __ovld __cnfn convert_float8_rte(ulong8);
  4067. float8 __ovld __cnfn convert_float8_rtz(ulong8);
  4068. float8 __ovld __cnfn convert_float8_rtp(ulong8);
  4069. float8 __ovld __cnfn convert_float8_rtn(ulong8);
  4070. float8 __ovld __cnfn convert_float8(ulong8);
  4071. float8 __ovld __cnfn convert_float8_rte(float8);
  4072. float8 __ovld __cnfn convert_float8_rtz(float8);
  4073. float8 __ovld __cnfn convert_float8_rtp(float8);
  4074. float8 __ovld __cnfn convert_float8_rtn(float8);
  4075. float8 __ovld __cnfn convert_float8(float8);
  4076. char16 __ovld __cnfn convert_char16_rte(char16);
  4077. char16 __ovld __cnfn convert_char16_sat_rte(char16);
  4078. char16 __ovld __cnfn convert_char16_rtz(char16);
  4079. char16 __ovld __cnfn convert_char16_sat_rtz(char16);
  4080. char16 __ovld __cnfn convert_char16_rtp(char16);
  4081. char16 __ovld __cnfn convert_char16_sat_rtp(char16);
  4082. char16 __ovld __cnfn convert_char16_rtn(char16);
  4083. char16 __ovld __cnfn convert_char16_sat_rtn(char16);
  4084. char16 __ovld __cnfn convert_char16(char16);
  4085. char16 __ovld __cnfn convert_char16_sat(char16);
  4086. char16 __ovld __cnfn convert_char16_rte(uchar16);
  4087. char16 __ovld __cnfn convert_char16_sat_rte(uchar16);
  4088. char16 __ovld __cnfn convert_char16_rtz(uchar16);
  4089. char16 __ovld __cnfn convert_char16_sat_rtz(uchar16);
  4090. char16 __ovld __cnfn convert_char16_rtp(uchar16);
  4091. char16 __ovld __cnfn convert_char16_sat_rtp(uchar16);
  4092. char16 __ovld __cnfn convert_char16_rtn(uchar16);
  4093. char16 __ovld __cnfn convert_char16_sat_rtn(uchar16);
  4094. char16 __ovld __cnfn convert_char16(uchar16);
  4095. char16 __ovld __cnfn convert_char16_sat(uchar16);
  4096. char16 __ovld __cnfn convert_char16_rte(short16);
  4097. char16 __ovld __cnfn convert_char16_sat_rte(short16);
  4098. char16 __ovld __cnfn convert_char16_rtz(short16);
  4099. char16 __ovld __cnfn convert_char16_sat_rtz(short16);
  4100. char16 __ovld __cnfn convert_char16_rtp(short16);
  4101. char16 __ovld __cnfn convert_char16_sat_rtp(short16);
  4102. char16 __ovld __cnfn convert_char16_rtn(short16);
  4103. char16 __ovld __cnfn convert_char16_sat_rtn(short16);
  4104. char16 __ovld __cnfn convert_char16(short16);
  4105. char16 __ovld __cnfn convert_char16_sat(short16);
  4106. char16 __ovld __cnfn convert_char16_rte(ushort16);
  4107. char16 __ovld __cnfn convert_char16_sat_rte(ushort16);
  4108. char16 __ovld __cnfn convert_char16_rtz(ushort16);
  4109. char16 __ovld __cnfn convert_char16_sat_rtz(ushort16);
  4110. char16 __ovld __cnfn convert_char16_rtp(ushort16);
  4111. char16 __ovld __cnfn convert_char16_sat_rtp(ushort16);
  4112. char16 __ovld __cnfn convert_char16_rtn(ushort16);
  4113. char16 __ovld __cnfn convert_char16_sat_rtn(ushort16);
  4114. char16 __ovld __cnfn convert_char16(ushort16);
  4115. char16 __ovld __cnfn convert_char16_sat(ushort16);
  4116. char16 __ovld __cnfn convert_char16_rte(int16);
  4117. char16 __ovld __cnfn convert_char16_sat_rte(int16);
  4118. char16 __ovld __cnfn convert_char16_rtz(int16);
  4119. char16 __ovld __cnfn convert_char16_sat_rtz(int16);
  4120. char16 __ovld __cnfn convert_char16_rtp(int16);
  4121. char16 __ovld __cnfn convert_char16_sat_rtp(int16);
  4122. char16 __ovld __cnfn convert_char16_rtn(int16);
  4123. char16 __ovld __cnfn convert_char16_sat_rtn(int16);
  4124. char16 __ovld __cnfn convert_char16(int16);
  4125. char16 __ovld __cnfn convert_char16_sat(int16);
  4126. char16 __ovld __cnfn convert_char16_rte(uint16);
  4127. char16 __ovld __cnfn convert_char16_sat_rte(uint16);
  4128. char16 __ovld __cnfn convert_char16_rtz(uint16);
  4129. char16 __ovld __cnfn convert_char16_sat_rtz(uint16);
  4130. char16 __ovld __cnfn convert_char16_rtp(uint16);
  4131. char16 __ovld __cnfn convert_char16_sat_rtp(uint16);
  4132. char16 __ovld __cnfn convert_char16_rtn(uint16);
  4133. char16 __ovld __cnfn convert_char16_sat_rtn(uint16);
  4134. char16 __ovld __cnfn convert_char16(uint16);
  4135. char16 __ovld __cnfn convert_char16_sat(uint16);
  4136. char16 __ovld __cnfn convert_char16_rte(long16);
  4137. char16 __ovld __cnfn convert_char16_sat_rte(long16);
  4138. char16 __ovld __cnfn convert_char16_rtz(long16);
  4139. char16 __ovld __cnfn convert_char16_sat_rtz(long16);
  4140. char16 __ovld __cnfn convert_char16_rtp(long16);
  4141. char16 __ovld __cnfn convert_char16_sat_rtp(long16);
  4142. char16 __ovld __cnfn convert_char16_rtn(long16);
  4143. char16 __ovld __cnfn convert_char16_sat_rtn(long16);
  4144. char16 __ovld __cnfn convert_char16(long16);
  4145. char16 __ovld __cnfn convert_char16_sat(long16);
  4146. char16 __ovld __cnfn convert_char16_rte(ulong16);
  4147. char16 __ovld __cnfn convert_char16_sat_rte(ulong16);
  4148. char16 __ovld __cnfn convert_char16_rtz(ulong16);
  4149. char16 __ovld __cnfn convert_char16_sat_rtz(ulong16);
  4150. char16 __ovld __cnfn convert_char16_rtp(ulong16);
  4151. char16 __ovld __cnfn convert_char16_sat_rtp(ulong16);
  4152. char16 __ovld __cnfn convert_char16_rtn(ulong16);
  4153. char16 __ovld __cnfn convert_char16_sat_rtn(ulong16);
  4154. char16 __ovld __cnfn convert_char16(ulong16);
  4155. char16 __ovld __cnfn convert_char16_sat(ulong16);
  4156. char16 __ovld __cnfn convert_char16_rte(float16);
  4157. char16 __ovld __cnfn convert_char16_sat_rte(float16);
  4158. char16 __ovld __cnfn convert_char16_rtz(float16);
  4159. char16 __ovld __cnfn convert_char16_sat_rtz(float16);
  4160. char16 __ovld __cnfn convert_char16_rtp(float16);
  4161. char16 __ovld __cnfn convert_char16_sat_rtp(float16);
  4162. char16 __ovld __cnfn convert_char16_rtn(float16);
  4163. char16 __ovld __cnfn convert_char16_sat_rtn(float16);
  4164. char16 __ovld __cnfn convert_char16(float16);
  4165. char16 __ovld __cnfn convert_char16_sat(float16);
  4166. uchar16 __ovld __cnfn convert_uchar16_rte(char16);
  4167. uchar16 __ovld __cnfn convert_uchar16_sat_rte(char16);
  4168. uchar16 __ovld __cnfn convert_uchar16_rtz(char16);
  4169. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(char16);
  4170. uchar16 __ovld __cnfn convert_uchar16_rtp(char16);
  4171. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(char16);
  4172. uchar16 __ovld __cnfn convert_uchar16_rtn(char16);
  4173. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(char16);
  4174. uchar16 __ovld __cnfn convert_uchar16(char16);
  4175. uchar16 __ovld __cnfn convert_uchar16_sat(char16);
  4176. uchar16 __ovld __cnfn convert_uchar16_rte(uchar16);
  4177. uchar16 __ovld __cnfn convert_uchar16_sat_rte(uchar16);
  4178. uchar16 __ovld __cnfn convert_uchar16_rtz(uchar16);
  4179. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(uchar16);
  4180. uchar16 __ovld __cnfn convert_uchar16_rtp(uchar16);
  4181. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(uchar16);
  4182. uchar16 __ovld __cnfn convert_uchar16_rtn(uchar16);
  4183. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(uchar16);
  4184. uchar16 __ovld __cnfn convert_uchar16(uchar16);
  4185. uchar16 __ovld __cnfn convert_uchar16_sat(uchar16);
  4186. uchar16 __ovld __cnfn convert_uchar16_rte(short16);
  4187. uchar16 __ovld __cnfn convert_uchar16_sat_rte(short16);
  4188. uchar16 __ovld __cnfn convert_uchar16_rtz(short16);
  4189. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(short16);
  4190. uchar16 __ovld __cnfn convert_uchar16_rtp(short16);
  4191. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(short16);
  4192. uchar16 __ovld __cnfn convert_uchar16_rtn(short16);
  4193. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(short16);
  4194. uchar16 __ovld __cnfn convert_uchar16(short16);
  4195. uchar16 __ovld __cnfn convert_uchar16_sat(short16);
  4196. uchar16 __ovld __cnfn convert_uchar16_rte(ushort16);
  4197. uchar16 __ovld __cnfn convert_uchar16_sat_rte(ushort16);
  4198. uchar16 __ovld __cnfn convert_uchar16_rtz(ushort16);
  4199. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(ushort16);
  4200. uchar16 __ovld __cnfn convert_uchar16_rtp(ushort16);
  4201. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(ushort16);
  4202. uchar16 __ovld __cnfn convert_uchar16_rtn(ushort16);
  4203. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(ushort16);
  4204. uchar16 __ovld __cnfn convert_uchar16(ushort16);
  4205. uchar16 __ovld __cnfn convert_uchar16_sat(ushort16);
  4206. uchar16 __ovld __cnfn convert_uchar16_rte(int16);
  4207. uchar16 __ovld __cnfn convert_uchar16_sat_rte(int16);
  4208. uchar16 __ovld __cnfn convert_uchar16_rtz(int16);
  4209. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(int16);
  4210. uchar16 __ovld __cnfn convert_uchar16_rtp(int16);
  4211. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(int16);
  4212. uchar16 __ovld __cnfn convert_uchar16_rtn(int16);
  4213. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(int16);
  4214. uchar16 __ovld __cnfn convert_uchar16(int16);
  4215. uchar16 __ovld __cnfn convert_uchar16_sat(int16);
  4216. uchar16 __ovld __cnfn convert_uchar16_rte(uint16);
  4217. uchar16 __ovld __cnfn convert_uchar16_sat_rte(uint16);
  4218. uchar16 __ovld __cnfn convert_uchar16_rtz(uint16);
  4219. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(uint16);
  4220. uchar16 __ovld __cnfn convert_uchar16_rtp(uint16);
  4221. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(uint16);
  4222. uchar16 __ovld __cnfn convert_uchar16_rtn(uint16);
  4223. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(uint16);
  4224. uchar16 __ovld __cnfn convert_uchar16(uint16);
  4225. uchar16 __ovld __cnfn convert_uchar16_sat(uint16);
  4226. uchar16 __ovld __cnfn convert_uchar16_rte(long16);
  4227. uchar16 __ovld __cnfn convert_uchar16_sat_rte(long16);
  4228. uchar16 __ovld __cnfn convert_uchar16_rtz(long16);
  4229. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(long16);
  4230. uchar16 __ovld __cnfn convert_uchar16_rtp(long16);
  4231. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(long16);
  4232. uchar16 __ovld __cnfn convert_uchar16_rtn(long16);
  4233. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(long16);
  4234. uchar16 __ovld __cnfn convert_uchar16(long16);
  4235. uchar16 __ovld __cnfn convert_uchar16_sat(long16);
  4236. uchar16 __ovld __cnfn convert_uchar16_rte(ulong16);
  4237. uchar16 __ovld __cnfn convert_uchar16_sat_rte(ulong16);
  4238. uchar16 __ovld __cnfn convert_uchar16_rtz(ulong16);
  4239. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(ulong16);
  4240. uchar16 __ovld __cnfn convert_uchar16_rtp(ulong16);
  4241. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(ulong16);
  4242. uchar16 __ovld __cnfn convert_uchar16_rtn(ulong16);
  4243. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(ulong16);
  4244. uchar16 __ovld __cnfn convert_uchar16(ulong16);
  4245. uchar16 __ovld __cnfn convert_uchar16_sat(ulong16);
  4246. uchar16 __ovld __cnfn convert_uchar16_rte(float16);
  4247. uchar16 __ovld __cnfn convert_uchar16_sat_rte(float16);
  4248. uchar16 __ovld __cnfn convert_uchar16_rtz(float16);
  4249. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(float16);
  4250. uchar16 __ovld __cnfn convert_uchar16_rtp(float16);
  4251. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(float16);
  4252. uchar16 __ovld __cnfn convert_uchar16_rtn(float16);
  4253. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(float16);
  4254. uchar16 __ovld __cnfn convert_uchar16(float16);
  4255. uchar16 __ovld __cnfn convert_uchar16_sat(float16);
  4256. short16 __ovld __cnfn convert_short16_rte(char16);
  4257. short16 __ovld __cnfn convert_short16_sat_rte(char16);
  4258. short16 __ovld __cnfn convert_short16_rtz(char16);
  4259. short16 __ovld __cnfn convert_short16_sat_rtz(char16);
  4260. short16 __ovld __cnfn convert_short16_rtp(char16);
  4261. short16 __ovld __cnfn convert_short16_sat_rtp(char16);
  4262. short16 __ovld __cnfn convert_short16_rtn(char16);
  4263. short16 __ovld __cnfn convert_short16_sat_rtn(char16);
  4264. short16 __ovld __cnfn convert_short16(char16);
  4265. short16 __ovld __cnfn convert_short16_sat(char16);
  4266. short16 __ovld __cnfn convert_short16_rte(uchar16);
  4267. short16 __ovld __cnfn convert_short16_sat_rte(uchar16);
  4268. short16 __ovld __cnfn convert_short16_rtz(uchar16);
  4269. short16 __ovld __cnfn convert_short16_sat_rtz(uchar16);
  4270. short16 __ovld __cnfn convert_short16_rtp(uchar16);
  4271. short16 __ovld __cnfn convert_short16_sat_rtp(uchar16);
  4272. short16 __ovld __cnfn convert_short16_rtn(uchar16);
  4273. short16 __ovld __cnfn convert_short16_sat_rtn(uchar16);
  4274. short16 __ovld __cnfn convert_short16(uchar16);
  4275. short16 __ovld __cnfn convert_short16_sat(uchar16);
  4276. short16 __ovld __cnfn convert_short16_rte(short16);
  4277. short16 __ovld __cnfn convert_short16_sat_rte(short16);
  4278. short16 __ovld __cnfn convert_short16_rtz(short16);
  4279. short16 __ovld __cnfn convert_short16_sat_rtz(short16);
  4280. short16 __ovld __cnfn convert_short16_rtp(short16);
  4281. short16 __ovld __cnfn convert_short16_sat_rtp(short16);
  4282. short16 __ovld __cnfn convert_short16_rtn(short16);
  4283. short16 __ovld __cnfn convert_short16_sat_rtn(short16);
  4284. short16 __ovld __cnfn convert_short16(short16);
  4285. short16 __ovld __cnfn convert_short16_sat(short16);
  4286. short16 __ovld __cnfn convert_short16_rte(ushort16);
  4287. short16 __ovld __cnfn convert_short16_sat_rte(ushort16);
  4288. short16 __ovld __cnfn convert_short16_rtz(ushort16);
  4289. short16 __ovld __cnfn convert_short16_sat_rtz(ushort16);
  4290. short16 __ovld __cnfn convert_short16_rtp(ushort16);
  4291. short16 __ovld __cnfn convert_short16_sat_rtp(ushort16);
  4292. short16 __ovld __cnfn convert_short16_rtn(ushort16);
  4293. short16 __ovld __cnfn convert_short16_sat_rtn(ushort16);
  4294. short16 __ovld __cnfn convert_short16(ushort16);
  4295. short16 __ovld __cnfn convert_short16_sat(ushort16);
  4296. short16 __ovld __cnfn convert_short16_rte(int16);
  4297. short16 __ovld __cnfn convert_short16_sat_rte(int16);
  4298. short16 __ovld __cnfn convert_short16_rtz(int16);
  4299. short16 __ovld __cnfn convert_short16_sat_rtz(int16);
  4300. short16 __ovld __cnfn convert_short16_rtp(int16);
  4301. short16 __ovld __cnfn convert_short16_sat_rtp(int16);
  4302. short16 __ovld __cnfn convert_short16_rtn(int16);
  4303. short16 __ovld __cnfn convert_short16_sat_rtn(int16);
  4304. short16 __ovld __cnfn convert_short16(int16);
  4305. short16 __ovld __cnfn convert_short16_sat(int16);
  4306. short16 __ovld __cnfn convert_short16_rte(uint16);
  4307. short16 __ovld __cnfn convert_short16_sat_rte(uint16);
  4308. short16 __ovld __cnfn convert_short16_rtz(uint16);
  4309. short16 __ovld __cnfn convert_short16_sat_rtz(uint16);
  4310. short16 __ovld __cnfn convert_short16_rtp(uint16);
  4311. short16 __ovld __cnfn convert_short16_sat_rtp(uint16);
  4312. short16 __ovld __cnfn convert_short16_rtn(uint16);
  4313. short16 __ovld __cnfn convert_short16_sat_rtn(uint16);
  4314. short16 __ovld __cnfn convert_short16(uint16);
  4315. short16 __ovld __cnfn convert_short16_sat(uint16);
  4316. short16 __ovld __cnfn convert_short16_rte(long16);
  4317. short16 __ovld __cnfn convert_short16_sat_rte(long16);
  4318. short16 __ovld __cnfn convert_short16_rtz(long16);
  4319. short16 __ovld __cnfn convert_short16_sat_rtz(long16);
  4320. short16 __ovld __cnfn convert_short16_rtp(long16);
  4321. short16 __ovld __cnfn convert_short16_sat_rtp(long16);
  4322. short16 __ovld __cnfn convert_short16_rtn(long16);
  4323. short16 __ovld __cnfn convert_short16_sat_rtn(long16);
  4324. short16 __ovld __cnfn convert_short16(long16);
  4325. short16 __ovld __cnfn convert_short16_sat(long16);
  4326. short16 __ovld __cnfn convert_short16_rte(ulong16);
  4327. short16 __ovld __cnfn convert_short16_sat_rte(ulong16);
  4328. short16 __ovld __cnfn convert_short16_rtz(ulong16);
  4329. short16 __ovld __cnfn convert_short16_sat_rtz(ulong16);
  4330. short16 __ovld __cnfn convert_short16_rtp(ulong16);
  4331. short16 __ovld __cnfn convert_short16_sat_rtp(ulong16);
  4332. short16 __ovld __cnfn convert_short16_rtn(ulong16);
  4333. short16 __ovld __cnfn convert_short16_sat_rtn(ulong16);
  4334. short16 __ovld __cnfn convert_short16(ulong16);
  4335. short16 __ovld __cnfn convert_short16_sat(ulong16);
  4336. short16 __ovld __cnfn convert_short16_rte(float16);
  4337. short16 __ovld __cnfn convert_short16_sat_rte(float16);
  4338. short16 __ovld __cnfn convert_short16_rtz(float16);
  4339. short16 __ovld __cnfn convert_short16_sat_rtz(float16);
  4340. short16 __ovld __cnfn convert_short16_rtp(float16);
  4341. short16 __ovld __cnfn convert_short16_sat_rtp(float16);
  4342. short16 __ovld __cnfn convert_short16_rtn(float16);
  4343. short16 __ovld __cnfn convert_short16_sat_rtn(float16);
  4344. short16 __ovld __cnfn convert_short16(float16);
  4345. short16 __ovld __cnfn convert_short16_sat(float16);
  4346. ushort16 __ovld __cnfn convert_ushort16_rte(char16);
  4347. ushort16 __ovld __cnfn convert_ushort16_sat_rte(char16);
  4348. ushort16 __ovld __cnfn convert_ushort16_rtz(char16);
  4349. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(char16);
  4350. ushort16 __ovld __cnfn convert_ushort16_rtp(char16);
  4351. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(char16);
  4352. ushort16 __ovld __cnfn convert_ushort16_rtn(char16);
  4353. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(char16);
  4354. ushort16 __ovld __cnfn convert_ushort16(char16);
  4355. ushort16 __ovld __cnfn convert_ushort16_sat(char16);
  4356. ushort16 __ovld __cnfn convert_ushort16_rte(uchar16);
  4357. ushort16 __ovld __cnfn convert_ushort16_sat_rte(uchar16);
  4358. ushort16 __ovld __cnfn convert_ushort16_rtz(uchar16);
  4359. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(uchar16);
  4360. ushort16 __ovld __cnfn convert_ushort16_rtp(uchar16);
  4361. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(uchar16);
  4362. ushort16 __ovld __cnfn convert_ushort16_rtn(uchar16);
  4363. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(uchar16);
  4364. ushort16 __ovld __cnfn convert_ushort16(uchar16);
  4365. ushort16 __ovld __cnfn convert_ushort16_sat(uchar16);
  4366. ushort16 __ovld __cnfn convert_ushort16_rte(short16);
  4367. ushort16 __ovld __cnfn convert_ushort16_sat_rte(short16);
  4368. ushort16 __ovld __cnfn convert_ushort16_rtz(short16);
  4369. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(short16);
  4370. ushort16 __ovld __cnfn convert_ushort16_rtp(short16);
  4371. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(short16);
  4372. ushort16 __ovld __cnfn convert_ushort16_rtn(short16);
  4373. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(short16);
  4374. ushort16 __ovld __cnfn convert_ushort16(short16);
  4375. ushort16 __ovld __cnfn convert_ushort16_sat(short16);
  4376. ushort16 __ovld __cnfn convert_ushort16_rte(ushort16);
  4377. ushort16 __ovld __cnfn convert_ushort16_sat_rte(ushort16);
  4378. ushort16 __ovld __cnfn convert_ushort16_rtz(ushort16);
  4379. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(ushort16);
  4380. ushort16 __ovld __cnfn convert_ushort16_rtp(ushort16);
  4381. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(ushort16);
  4382. ushort16 __ovld __cnfn convert_ushort16_rtn(ushort16);
  4383. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(ushort16);
  4384. ushort16 __ovld __cnfn convert_ushort16(ushort16);
  4385. ushort16 __ovld __cnfn convert_ushort16_sat(ushort16);
  4386. ushort16 __ovld __cnfn convert_ushort16_rte(int16);
  4387. ushort16 __ovld __cnfn convert_ushort16_sat_rte(int16);
  4388. ushort16 __ovld __cnfn convert_ushort16_rtz(int16);
  4389. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(int16);
  4390. ushort16 __ovld __cnfn convert_ushort16_rtp(int16);
  4391. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(int16);
  4392. ushort16 __ovld __cnfn convert_ushort16_rtn(int16);
  4393. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(int16);
  4394. ushort16 __ovld __cnfn convert_ushort16(int16);
  4395. ushort16 __ovld __cnfn convert_ushort16_sat(int16);
  4396. ushort16 __ovld __cnfn convert_ushort16_rte(uint16);
  4397. ushort16 __ovld __cnfn convert_ushort16_sat_rte(uint16);
  4398. ushort16 __ovld __cnfn convert_ushort16_rtz(uint16);
  4399. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(uint16);
  4400. ushort16 __ovld __cnfn convert_ushort16_rtp(uint16);
  4401. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(uint16);
  4402. ushort16 __ovld __cnfn convert_ushort16_rtn(uint16);
  4403. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(uint16);
  4404. ushort16 __ovld __cnfn convert_ushort16(uint16);
  4405. ushort16 __ovld __cnfn convert_ushort16_sat(uint16);
  4406. ushort16 __ovld __cnfn convert_ushort16_rte(long16);
  4407. ushort16 __ovld __cnfn convert_ushort16_sat_rte(long16);
  4408. ushort16 __ovld __cnfn convert_ushort16_rtz(long16);
  4409. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(long16);
  4410. ushort16 __ovld __cnfn convert_ushort16_rtp(long16);
  4411. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(long16);
  4412. ushort16 __ovld __cnfn convert_ushort16_rtn(long16);
  4413. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(long16);
  4414. ushort16 __ovld __cnfn convert_ushort16(long16);
  4415. ushort16 __ovld __cnfn convert_ushort16_sat(long16);
  4416. ushort16 __ovld __cnfn convert_ushort16_rte(ulong16);
  4417. ushort16 __ovld __cnfn convert_ushort16_sat_rte(ulong16);
  4418. ushort16 __ovld __cnfn convert_ushort16_rtz(ulong16);
  4419. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(ulong16);
  4420. ushort16 __ovld __cnfn convert_ushort16_rtp(ulong16);
  4421. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(ulong16);
  4422. ushort16 __ovld __cnfn convert_ushort16_rtn(ulong16);
  4423. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(ulong16);
  4424. ushort16 __ovld __cnfn convert_ushort16(ulong16);
  4425. ushort16 __ovld __cnfn convert_ushort16_sat(ulong16);
  4426. ushort16 __ovld __cnfn convert_ushort16_rte(float16);
  4427. ushort16 __ovld __cnfn convert_ushort16_sat_rte(float16);
  4428. ushort16 __ovld __cnfn convert_ushort16_rtz(float16);
  4429. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(float16);
  4430. ushort16 __ovld __cnfn convert_ushort16_rtp(float16);
  4431. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(float16);
  4432. ushort16 __ovld __cnfn convert_ushort16_rtn(float16);
  4433. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(float16);
  4434. ushort16 __ovld __cnfn convert_ushort16(float16);
  4435. ushort16 __ovld __cnfn convert_ushort16_sat(float16);
  4436. int16 __ovld __cnfn convert_int16_rte(char16);
  4437. int16 __ovld __cnfn convert_int16_sat_rte(char16);
  4438. int16 __ovld __cnfn convert_int16_rtz(char16);
  4439. int16 __ovld __cnfn convert_int16_sat_rtz(char16);
  4440. int16 __ovld __cnfn convert_int16_rtp(char16);
  4441. int16 __ovld __cnfn convert_int16_sat_rtp(char16);
  4442. int16 __ovld __cnfn convert_int16_rtn(char16);
  4443. int16 __ovld __cnfn convert_int16_sat_rtn(char16);
  4444. int16 __ovld __cnfn convert_int16(char16);
  4445. int16 __ovld __cnfn convert_int16_sat(char16);
  4446. int16 __ovld __cnfn convert_int16_rte(uchar16);
  4447. int16 __ovld __cnfn convert_int16_sat_rte(uchar16);
  4448. int16 __ovld __cnfn convert_int16_rtz(uchar16);
  4449. int16 __ovld __cnfn convert_int16_sat_rtz(uchar16);
  4450. int16 __ovld __cnfn convert_int16_rtp(uchar16);
  4451. int16 __ovld __cnfn convert_int16_sat_rtp(uchar16);
  4452. int16 __ovld __cnfn convert_int16_rtn(uchar16);
  4453. int16 __ovld __cnfn convert_int16_sat_rtn(uchar16);
  4454. int16 __ovld __cnfn convert_int16(uchar16);
  4455. int16 __ovld __cnfn convert_int16_sat(uchar16);
  4456. int16 __ovld __cnfn convert_int16_rte(short16);
  4457. int16 __ovld __cnfn convert_int16_sat_rte(short16);
  4458. int16 __ovld __cnfn convert_int16_rtz(short16);
  4459. int16 __ovld __cnfn convert_int16_sat_rtz(short16);
  4460. int16 __ovld __cnfn convert_int16_rtp(short16);
  4461. int16 __ovld __cnfn convert_int16_sat_rtp(short16);
  4462. int16 __ovld __cnfn convert_int16_rtn(short16);
  4463. int16 __ovld __cnfn convert_int16_sat_rtn(short16);
  4464. int16 __ovld __cnfn convert_int16(short16);
  4465. int16 __ovld __cnfn convert_int16_sat(short16);
  4466. int16 __ovld __cnfn convert_int16_rte(ushort16);
  4467. int16 __ovld __cnfn convert_int16_sat_rte(ushort16);
  4468. int16 __ovld __cnfn convert_int16_rtz(ushort16);
  4469. int16 __ovld __cnfn convert_int16_sat_rtz(ushort16);
  4470. int16 __ovld __cnfn convert_int16_rtp(ushort16);
  4471. int16 __ovld __cnfn convert_int16_sat_rtp(ushort16);
  4472. int16 __ovld __cnfn convert_int16_rtn(ushort16);
  4473. int16 __ovld __cnfn convert_int16_sat_rtn(ushort16);
  4474. int16 __ovld __cnfn convert_int16(ushort16);
  4475. int16 __ovld __cnfn convert_int16_sat(ushort16);
  4476. int16 __ovld __cnfn convert_int16_rte(int16);
  4477. int16 __ovld __cnfn convert_int16_sat_rte(int16);
  4478. int16 __ovld __cnfn convert_int16_rtz(int16);
  4479. int16 __ovld __cnfn convert_int16_sat_rtz(int16);
  4480. int16 __ovld __cnfn convert_int16_rtp(int16);
  4481. int16 __ovld __cnfn convert_int16_sat_rtp(int16);
  4482. int16 __ovld __cnfn convert_int16_rtn(int16);
  4483. int16 __ovld __cnfn convert_int16_sat_rtn(int16);
  4484. int16 __ovld __cnfn convert_int16(int16);
  4485. int16 __ovld __cnfn convert_int16_sat(int16);
  4486. int16 __ovld __cnfn convert_int16_rte(uint16);
  4487. int16 __ovld __cnfn convert_int16_sat_rte(uint16);
  4488. int16 __ovld __cnfn convert_int16_rtz(uint16);
  4489. int16 __ovld __cnfn convert_int16_sat_rtz(uint16);
  4490. int16 __ovld __cnfn convert_int16_rtp(uint16);
  4491. int16 __ovld __cnfn convert_int16_sat_rtp(uint16);
  4492. int16 __ovld __cnfn convert_int16_rtn(uint16);
  4493. int16 __ovld __cnfn convert_int16_sat_rtn(uint16);
  4494. int16 __ovld __cnfn convert_int16(uint16);
  4495. int16 __ovld __cnfn convert_int16_sat(uint16);
  4496. int16 __ovld __cnfn convert_int16_rte(long16);
  4497. int16 __ovld __cnfn convert_int16_sat_rte(long16);
  4498. int16 __ovld __cnfn convert_int16_rtz(long16);
  4499. int16 __ovld __cnfn convert_int16_sat_rtz(long16);
  4500. int16 __ovld __cnfn convert_int16_rtp(long16);
  4501. int16 __ovld __cnfn convert_int16_sat_rtp(long16);
  4502. int16 __ovld __cnfn convert_int16_rtn(long16);
  4503. int16 __ovld __cnfn convert_int16_sat_rtn(long16);
  4504. int16 __ovld __cnfn convert_int16(long16);
  4505. int16 __ovld __cnfn convert_int16_sat(long16);
  4506. int16 __ovld __cnfn convert_int16_rte(ulong16);
  4507. int16 __ovld __cnfn convert_int16_sat_rte(ulong16);
  4508. int16 __ovld __cnfn convert_int16_rtz(ulong16);
  4509. int16 __ovld __cnfn convert_int16_sat_rtz(ulong16);
  4510. int16 __ovld __cnfn convert_int16_rtp(ulong16);
  4511. int16 __ovld __cnfn convert_int16_sat_rtp(ulong16);
  4512. int16 __ovld __cnfn convert_int16_rtn(ulong16);
  4513. int16 __ovld __cnfn convert_int16_sat_rtn(ulong16);
  4514. int16 __ovld __cnfn convert_int16(ulong16);
  4515. int16 __ovld __cnfn convert_int16_sat(ulong16);
  4516. int16 __ovld __cnfn convert_int16_rte(float16);
  4517. int16 __ovld __cnfn convert_int16_sat_rte(float16);
  4518. int16 __ovld __cnfn convert_int16_rtz(float16);
  4519. int16 __ovld __cnfn convert_int16_sat_rtz(float16);
  4520. int16 __ovld __cnfn convert_int16_rtp(float16);
  4521. int16 __ovld __cnfn convert_int16_sat_rtp(float16);
  4522. int16 __ovld __cnfn convert_int16_rtn(float16);
  4523. int16 __ovld __cnfn convert_int16_sat_rtn(float16);
  4524. int16 __ovld __cnfn convert_int16(float16);
  4525. int16 __ovld __cnfn convert_int16_sat(float16);
  4526. uint16 __ovld __cnfn convert_uint16_rte(char16);
  4527. uint16 __ovld __cnfn convert_uint16_sat_rte(char16);
  4528. uint16 __ovld __cnfn convert_uint16_rtz(char16);
  4529. uint16 __ovld __cnfn convert_uint16_sat_rtz(char16);
  4530. uint16 __ovld __cnfn convert_uint16_rtp(char16);
  4531. uint16 __ovld __cnfn convert_uint16_sat_rtp(char16);
  4532. uint16 __ovld __cnfn convert_uint16_rtn(char16);
  4533. uint16 __ovld __cnfn convert_uint16_sat_rtn(char16);
  4534. uint16 __ovld __cnfn convert_uint16(char16);
  4535. uint16 __ovld __cnfn convert_uint16_sat(char16);
  4536. uint16 __ovld __cnfn convert_uint16_rte(uchar16);
  4537. uint16 __ovld __cnfn convert_uint16_sat_rte(uchar16);
  4538. uint16 __ovld __cnfn convert_uint16_rtz(uchar16);
  4539. uint16 __ovld __cnfn convert_uint16_sat_rtz(uchar16);
  4540. uint16 __ovld __cnfn convert_uint16_rtp(uchar16);
  4541. uint16 __ovld __cnfn convert_uint16_sat_rtp(uchar16);
  4542. uint16 __ovld __cnfn convert_uint16_rtn(uchar16);
  4543. uint16 __ovld __cnfn convert_uint16_sat_rtn(uchar16);
  4544. uint16 __ovld __cnfn convert_uint16(uchar16);
  4545. uint16 __ovld __cnfn convert_uint16_sat(uchar16);
  4546. uint16 __ovld __cnfn convert_uint16_rte(short16);
  4547. uint16 __ovld __cnfn convert_uint16_sat_rte(short16);
  4548. uint16 __ovld __cnfn convert_uint16_rtz(short16);
  4549. uint16 __ovld __cnfn convert_uint16_sat_rtz(short16);
  4550. uint16 __ovld __cnfn convert_uint16_rtp(short16);
  4551. uint16 __ovld __cnfn convert_uint16_sat_rtp(short16);
  4552. uint16 __ovld __cnfn convert_uint16_rtn(short16);
  4553. uint16 __ovld __cnfn convert_uint16_sat_rtn(short16);
  4554. uint16 __ovld __cnfn convert_uint16(short16);
  4555. uint16 __ovld __cnfn convert_uint16_sat(short16);
  4556. uint16 __ovld __cnfn convert_uint16_rte(ushort16);
  4557. uint16 __ovld __cnfn convert_uint16_sat_rte(ushort16);
  4558. uint16 __ovld __cnfn convert_uint16_rtz(ushort16);
  4559. uint16 __ovld __cnfn convert_uint16_sat_rtz(ushort16);
  4560. uint16 __ovld __cnfn convert_uint16_rtp(ushort16);
  4561. uint16 __ovld __cnfn convert_uint16_sat_rtp(ushort16);
  4562. uint16 __ovld __cnfn convert_uint16_rtn(ushort16);
  4563. uint16 __ovld __cnfn convert_uint16_sat_rtn(ushort16);
  4564. uint16 __ovld __cnfn convert_uint16(ushort16);
  4565. uint16 __ovld __cnfn convert_uint16_sat(ushort16);
  4566. uint16 __ovld __cnfn convert_uint16_rte(int16);
  4567. uint16 __ovld __cnfn convert_uint16_sat_rte(int16);
  4568. uint16 __ovld __cnfn convert_uint16_rtz(int16);
  4569. uint16 __ovld __cnfn convert_uint16_sat_rtz(int16);
  4570. uint16 __ovld __cnfn convert_uint16_rtp(int16);
  4571. uint16 __ovld __cnfn convert_uint16_sat_rtp(int16);
  4572. uint16 __ovld __cnfn convert_uint16_rtn(int16);
  4573. uint16 __ovld __cnfn convert_uint16_sat_rtn(int16);
  4574. uint16 __ovld __cnfn convert_uint16(int16);
  4575. uint16 __ovld __cnfn convert_uint16_sat(int16);
  4576. uint16 __ovld __cnfn convert_uint16_rte(uint16);
  4577. uint16 __ovld __cnfn convert_uint16_sat_rte(uint16);
  4578. uint16 __ovld __cnfn convert_uint16_rtz(uint16);
  4579. uint16 __ovld __cnfn convert_uint16_sat_rtz(uint16);
  4580. uint16 __ovld __cnfn convert_uint16_rtp(uint16);
  4581. uint16 __ovld __cnfn convert_uint16_sat_rtp(uint16);
  4582. uint16 __ovld __cnfn convert_uint16_rtn(uint16);
  4583. uint16 __ovld __cnfn convert_uint16_sat_rtn(uint16);
  4584. uint16 __ovld __cnfn convert_uint16(uint16);
  4585. uint16 __ovld __cnfn convert_uint16_sat(uint16);
  4586. uint16 __ovld __cnfn convert_uint16_rte(long16);
  4587. uint16 __ovld __cnfn convert_uint16_sat_rte(long16);
  4588. uint16 __ovld __cnfn convert_uint16_rtz(long16);
  4589. uint16 __ovld __cnfn convert_uint16_sat_rtz(long16);
  4590. uint16 __ovld __cnfn convert_uint16_rtp(long16);
  4591. uint16 __ovld __cnfn convert_uint16_sat_rtp(long16);
  4592. uint16 __ovld __cnfn convert_uint16_rtn(long16);
  4593. uint16 __ovld __cnfn convert_uint16_sat_rtn(long16);
  4594. uint16 __ovld __cnfn convert_uint16(long16);
  4595. uint16 __ovld __cnfn convert_uint16_sat(long16);
  4596. uint16 __ovld __cnfn convert_uint16_rte(ulong16);
  4597. uint16 __ovld __cnfn convert_uint16_sat_rte(ulong16);
  4598. uint16 __ovld __cnfn convert_uint16_rtz(ulong16);
  4599. uint16 __ovld __cnfn convert_uint16_sat_rtz(ulong16);
  4600. uint16 __ovld __cnfn convert_uint16_rtp(ulong16);
  4601. uint16 __ovld __cnfn convert_uint16_sat_rtp(ulong16);
  4602. uint16 __ovld __cnfn convert_uint16_rtn(ulong16);
  4603. uint16 __ovld __cnfn convert_uint16_sat_rtn(ulong16);
  4604. uint16 __ovld __cnfn convert_uint16(ulong16);
  4605. uint16 __ovld __cnfn convert_uint16_sat(ulong16);
  4606. uint16 __ovld __cnfn convert_uint16_rte(float16);
  4607. uint16 __ovld __cnfn convert_uint16_sat_rte(float16);
  4608. uint16 __ovld __cnfn convert_uint16_rtz(float16);
  4609. uint16 __ovld __cnfn convert_uint16_sat_rtz(float16);
  4610. uint16 __ovld __cnfn convert_uint16_rtp(float16);
  4611. uint16 __ovld __cnfn convert_uint16_sat_rtp(float16);
  4612. uint16 __ovld __cnfn convert_uint16_rtn(float16);
  4613. uint16 __ovld __cnfn convert_uint16_sat_rtn(float16);
  4614. uint16 __ovld __cnfn convert_uint16(float16);
  4615. uint16 __ovld __cnfn convert_uint16_sat(float16);
  4616. long16 __ovld __cnfn convert_long16_rte(char16);
  4617. long16 __ovld __cnfn convert_long16_sat_rte(char16);
  4618. long16 __ovld __cnfn convert_long16_rtz(char16);
  4619. long16 __ovld __cnfn convert_long16_sat_rtz(char16);
  4620. long16 __ovld __cnfn convert_long16_rtp(char16);
  4621. long16 __ovld __cnfn convert_long16_sat_rtp(char16);
  4622. long16 __ovld __cnfn convert_long16_rtn(char16);
  4623. long16 __ovld __cnfn convert_long16_sat_rtn(char16);
  4624. long16 __ovld __cnfn convert_long16(char16);
  4625. long16 __ovld __cnfn convert_long16_sat(char16);
  4626. long16 __ovld __cnfn convert_long16_rte(uchar16);
  4627. long16 __ovld __cnfn convert_long16_sat_rte(uchar16);
  4628. long16 __ovld __cnfn convert_long16_rtz(uchar16);
  4629. long16 __ovld __cnfn convert_long16_sat_rtz(uchar16);
  4630. long16 __ovld __cnfn convert_long16_rtp(uchar16);
  4631. long16 __ovld __cnfn convert_long16_sat_rtp(uchar16);
  4632. long16 __ovld __cnfn convert_long16_rtn(uchar16);
  4633. long16 __ovld __cnfn convert_long16_sat_rtn(uchar16);
  4634. long16 __ovld __cnfn convert_long16(uchar16);
  4635. long16 __ovld __cnfn convert_long16_sat(uchar16);
  4636. long16 __ovld __cnfn convert_long16_rte(short16);
  4637. long16 __ovld __cnfn convert_long16_sat_rte(short16);
  4638. long16 __ovld __cnfn convert_long16_rtz(short16);
  4639. long16 __ovld __cnfn convert_long16_sat_rtz(short16);
  4640. long16 __ovld __cnfn convert_long16_rtp(short16);
  4641. long16 __ovld __cnfn convert_long16_sat_rtp(short16);
  4642. long16 __ovld __cnfn convert_long16_rtn(short16);
  4643. long16 __ovld __cnfn convert_long16_sat_rtn(short16);
  4644. long16 __ovld __cnfn convert_long16(short16);
  4645. long16 __ovld __cnfn convert_long16_sat(short16);
  4646. long16 __ovld __cnfn convert_long16_rte(ushort16);
  4647. long16 __ovld __cnfn convert_long16_sat_rte(ushort16);
  4648. long16 __ovld __cnfn convert_long16_rtz(ushort16);
  4649. long16 __ovld __cnfn convert_long16_sat_rtz(ushort16);
  4650. long16 __ovld __cnfn convert_long16_rtp(ushort16);
  4651. long16 __ovld __cnfn convert_long16_sat_rtp(ushort16);
  4652. long16 __ovld __cnfn convert_long16_rtn(ushort16);
  4653. long16 __ovld __cnfn convert_long16_sat_rtn(ushort16);
  4654. long16 __ovld __cnfn convert_long16(ushort16);
  4655. long16 __ovld __cnfn convert_long16_sat(ushort16);
  4656. long16 __ovld __cnfn convert_long16_rte(int16);
  4657. long16 __ovld __cnfn convert_long16_sat_rte(int16);
  4658. long16 __ovld __cnfn convert_long16_rtz(int16);
  4659. long16 __ovld __cnfn convert_long16_sat_rtz(int16);
  4660. long16 __ovld __cnfn convert_long16_rtp(int16);
  4661. long16 __ovld __cnfn convert_long16_sat_rtp(int16);
  4662. long16 __ovld __cnfn convert_long16_rtn(int16);
  4663. long16 __ovld __cnfn convert_long16_sat_rtn(int16);
  4664. long16 __ovld __cnfn convert_long16(int16);
  4665. long16 __ovld __cnfn convert_long16_sat(int16);
  4666. long16 __ovld __cnfn convert_long16_rte(uint16);
  4667. long16 __ovld __cnfn convert_long16_sat_rte(uint16);
  4668. long16 __ovld __cnfn convert_long16_rtz(uint16);
  4669. long16 __ovld __cnfn convert_long16_sat_rtz(uint16);
  4670. long16 __ovld __cnfn convert_long16_rtp(uint16);
  4671. long16 __ovld __cnfn convert_long16_sat_rtp(uint16);
  4672. long16 __ovld __cnfn convert_long16_rtn(uint16);
  4673. long16 __ovld __cnfn convert_long16_sat_rtn(uint16);
  4674. long16 __ovld __cnfn convert_long16(uint16);
  4675. long16 __ovld __cnfn convert_long16_sat(uint16);
  4676. long16 __ovld __cnfn convert_long16_rte(long16);
  4677. long16 __ovld __cnfn convert_long16_sat_rte(long16);
  4678. long16 __ovld __cnfn convert_long16_rtz(long16);
  4679. long16 __ovld __cnfn convert_long16_sat_rtz(long16);
  4680. long16 __ovld __cnfn convert_long16_rtp(long16);
  4681. long16 __ovld __cnfn convert_long16_sat_rtp(long16);
  4682. long16 __ovld __cnfn convert_long16_rtn(long16);
  4683. long16 __ovld __cnfn convert_long16_sat_rtn(long16);
  4684. long16 __ovld __cnfn convert_long16(long16);
  4685. long16 __ovld __cnfn convert_long16_sat(long16);
  4686. long16 __ovld __cnfn convert_long16_rte(ulong16);
  4687. long16 __ovld __cnfn convert_long16_sat_rte(ulong16);
  4688. long16 __ovld __cnfn convert_long16_rtz(ulong16);
  4689. long16 __ovld __cnfn convert_long16_sat_rtz(ulong16);
  4690. long16 __ovld __cnfn convert_long16_rtp(ulong16);
  4691. long16 __ovld __cnfn convert_long16_sat_rtp(ulong16);
  4692. long16 __ovld __cnfn convert_long16_rtn(ulong16);
  4693. long16 __ovld __cnfn convert_long16_sat_rtn(ulong16);
  4694. long16 __ovld __cnfn convert_long16(ulong16);
  4695. long16 __ovld __cnfn convert_long16_sat(ulong16);
  4696. long16 __ovld __cnfn convert_long16_rte(float16);
  4697. long16 __ovld __cnfn convert_long16_sat_rte(float16);
  4698. long16 __ovld __cnfn convert_long16_rtz(float16);
  4699. long16 __ovld __cnfn convert_long16_sat_rtz(float16);
  4700. long16 __ovld __cnfn convert_long16_rtp(float16);
  4701. long16 __ovld __cnfn convert_long16_sat_rtp(float16);
  4702. long16 __ovld __cnfn convert_long16_rtn(float16);
  4703. long16 __ovld __cnfn convert_long16_sat_rtn(float16);
  4704. long16 __ovld __cnfn convert_long16(float16);
  4705. long16 __ovld __cnfn convert_long16_sat(float16);
  4706. ulong16 __ovld __cnfn convert_ulong16_rte(char16);
  4707. ulong16 __ovld __cnfn convert_ulong16_sat_rte(char16);
  4708. ulong16 __ovld __cnfn convert_ulong16_rtz(char16);
  4709. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(char16);
  4710. ulong16 __ovld __cnfn convert_ulong16_rtp(char16);
  4711. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(char16);
  4712. ulong16 __ovld __cnfn convert_ulong16_rtn(char16);
  4713. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(char16);
  4714. ulong16 __ovld __cnfn convert_ulong16(char16);
  4715. ulong16 __ovld __cnfn convert_ulong16_sat(char16);
  4716. ulong16 __ovld __cnfn convert_ulong16_rte(uchar16);
  4717. ulong16 __ovld __cnfn convert_ulong16_sat_rte(uchar16);
  4718. ulong16 __ovld __cnfn convert_ulong16_rtz(uchar16);
  4719. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(uchar16);
  4720. ulong16 __ovld __cnfn convert_ulong16_rtp(uchar16);
  4721. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(uchar16);
  4722. ulong16 __ovld __cnfn convert_ulong16_rtn(uchar16);
  4723. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(uchar16);
  4724. ulong16 __ovld __cnfn convert_ulong16(uchar16);
  4725. ulong16 __ovld __cnfn convert_ulong16_sat(uchar16);
  4726. ulong16 __ovld __cnfn convert_ulong16_rte(short16);
  4727. ulong16 __ovld __cnfn convert_ulong16_sat_rte(short16);
  4728. ulong16 __ovld __cnfn convert_ulong16_rtz(short16);
  4729. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(short16);
  4730. ulong16 __ovld __cnfn convert_ulong16_rtp(short16);
  4731. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(short16);
  4732. ulong16 __ovld __cnfn convert_ulong16_rtn(short16);
  4733. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(short16);
  4734. ulong16 __ovld __cnfn convert_ulong16(short16);
  4735. ulong16 __ovld __cnfn convert_ulong16_sat(short16);
  4736. ulong16 __ovld __cnfn convert_ulong16_rte(ushort16);
  4737. ulong16 __ovld __cnfn convert_ulong16_sat_rte(ushort16);
  4738. ulong16 __ovld __cnfn convert_ulong16_rtz(ushort16);
  4739. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(ushort16);
  4740. ulong16 __ovld __cnfn convert_ulong16_rtp(ushort16);
  4741. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(ushort16);
  4742. ulong16 __ovld __cnfn convert_ulong16_rtn(ushort16);
  4743. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(ushort16);
  4744. ulong16 __ovld __cnfn convert_ulong16(ushort16);
  4745. ulong16 __ovld __cnfn convert_ulong16_sat(ushort16);
  4746. ulong16 __ovld __cnfn convert_ulong16_rte(int16);
  4747. ulong16 __ovld __cnfn convert_ulong16_sat_rte(int16);
  4748. ulong16 __ovld __cnfn convert_ulong16_rtz(int16);
  4749. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(int16);
  4750. ulong16 __ovld __cnfn convert_ulong16_rtp(int16);
  4751. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(int16);
  4752. ulong16 __ovld __cnfn convert_ulong16_rtn(int16);
  4753. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(int16);
  4754. ulong16 __ovld __cnfn convert_ulong16(int16);
  4755. ulong16 __ovld __cnfn convert_ulong16_sat(int16);
  4756. ulong16 __ovld __cnfn convert_ulong16_rte(uint16);
  4757. ulong16 __ovld __cnfn convert_ulong16_sat_rte(uint16);
  4758. ulong16 __ovld __cnfn convert_ulong16_rtz(uint16);
  4759. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(uint16);
  4760. ulong16 __ovld __cnfn convert_ulong16_rtp(uint16);
  4761. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(uint16);
  4762. ulong16 __ovld __cnfn convert_ulong16_rtn(uint16);
  4763. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(uint16);
  4764. ulong16 __ovld __cnfn convert_ulong16(uint16);
  4765. ulong16 __ovld __cnfn convert_ulong16_sat(uint16);
  4766. ulong16 __ovld __cnfn convert_ulong16_rte(long16);
  4767. ulong16 __ovld __cnfn convert_ulong16_sat_rte(long16);
  4768. ulong16 __ovld __cnfn convert_ulong16_rtz(long16);
  4769. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(long16);
  4770. ulong16 __ovld __cnfn convert_ulong16_rtp(long16);
  4771. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(long16);
  4772. ulong16 __ovld __cnfn convert_ulong16_rtn(long16);
  4773. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(long16);
  4774. ulong16 __ovld __cnfn convert_ulong16(long16);
  4775. ulong16 __ovld __cnfn convert_ulong16_sat(long16);
  4776. ulong16 __ovld __cnfn convert_ulong16_rte(ulong16);
  4777. ulong16 __ovld __cnfn convert_ulong16_sat_rte(ulong16);
  4778. ulong16 __ovld __cnfn convert_ulong16_rtz(ulong16);
  4779. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(ulong16);
  4780. ulong16 __ovld __cnfn convert_ulong16_rtp(ulong16);
  4781. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(ulong16);
  4782. ulong16 __ovld __cnfn convert_ulong16_rtn(ulong16);
  4783. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(ulong16);
  4784. ulong16 __ovld __cnfn convert_ulong16(ulong16);
  4785. ulong16 __ovld __cnfn convert_ulong16_sat(ulong16);
  4786. ulong16 __ovld __cnfn convert_ulong16_rte(float16);
  4787. ulong16 __ovld __cnfn convert_ulong16_sat_rte(float16);
  4788. ulong16 __ovld __cnfn convert_ulong16_rtz(float16);
  4789. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(float16);
  4790. ulong16 __ovld __cnfn convert_ulong16_rtp(float16);
  4791. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(float16);
  4792. ulong16 __ovld __cnfn convert_ulong16_rtn(float16);
  4793. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(float16);
  4794. ulong16 __ovld __cnfn convert_ulong16(float16);
  4795. ulong16 __ovld __cnfn convert_ulong16_sat(float16);
  4796. float16 __ovld __cnfn convert_float16_rte(char16);
  4797. float16 __ovld __cnfn convert_float16_rtz(char16);
  4798. float16 __ovld __cnfn convert_float16_rtp(char16);
  4799. float16 __ovld __cnfn convert_float16_rtn(char16);
  4800. float16 __ovld __cnfn convert_float16(char16);
  4801. float16 __ovld __cnfn convert_float16_rte(uchar16);
  4802. float16 __ovld __cnfn convert_float16_rtz(uchar16);
  4803. float16 __ovld __cnfn convert_float16_rtp(uchar16);
  4804. float16 __ovld __cnfn convert_float16_rtn(uchar16);
  4805. float16 __ovld __cnfn convert_float16(uchar16);
  4806. float16 __ovld __cnfn convert_float16_rte(short16);
  4807. float16 __ovld __cnfn convert_float16_rtz(short16);
  4808. float16 __ovld __cnfn convert_float16_rtp(short16);
  4809. float16 __ovld __cnfn convert_float16_rtn(short16);
  4810. float16 __ovld __cnfn convert_float16(short16);
  4811. float16 __ovld __cnfn convert_float16_rte(ushort16);
  4812. float16 __ovld __cnfn convert_float16_rtz(ushort16);
  4813. float16 __ovld __cnfn convert_float16_rtp(ushort16);
  4814. float16 __ovld __cnfn convert_float16_rtn(ushort16);
  4815. float16 __ovld __cnfn convert_float16(ushort16);
  4816. float16 __ovld __cnfn convert_float16_rte(int16);
  4817. float16 __ovld __cnfn convert_float16_rtz(int16);
  4818. float16 __ovld __cnfn convert_float16_rtp(int16);
  4819. float16 __ovld __cnfn convert_float16_rtn(int16);
  4820. float16 __ovld __cnfn convert_float16(int16);
  4821. float16 __ovld __cnfn convert_float16_rte(uint16);
  4822. float16 __ovld __cnfn convert_float16_rtz(uint16);
  4823. float16 __ovld __cnfn convert_float16_rtp(uint16);
  4824. float16 __ovld __cnfn convert_float16_rtn(uint16);
  4825. float16 __ovld __cnfn convert_float16(uint16);
  4826. float16 __ovld __cnfn convert_float16_rte(long16);
  4827. float16 __ovld __cnfn convert_float16_rtz(long16);
  4828. float16 __ovld __cnfn convert_float16_rtp(long16);
  4829. float16 __ovld __cnfn convert_float16_rtn(long16);
  4830. float16 __ovld __cnfn convert_float16(long16);
  4831. float16 __ovld __cnfn convert_float16_rte(ulong16);
  4832. float16 __ovld __cnfn convert_float16_rtz(ulong16);
  4833. float16 __ovld __cnfn convert_float16_rtp(ulong16);
  4834. float16 __ovld __cnfn convert_float16_rtn(ulong16);
  4835. float16 __ovld __cnfn convert_float16(ulong16);
  4836. float16 __ovld __cnfn convert_float16_rte(float16);
  4837. float16 __ovld __cnfn convert_float16_rtz(float16);
  4838. float16 __ovld __cnfn convert_float16_rtp(float16);
  4839. float16 __ovld __cnfn convert_float16_rtn(float16);
  4840. float16 __ovld __cnfn convert_float16(float16);
  4841. // Conversions with double data type parameters or return value.
  4842. #ifdef cl_khr_fp64
  4843. char __ovld __cnfn convert_char(double);
  4844. char __ovld __cnfn convert_char_rte(double);
  4845. char __ovld __cnfn convert_char_rtn(double);
  4846. char __ovld __cnfn convert_char_rtp(double);
  4847. char __ovld __cnfn convert_char_rtz(double);
  4848. char __ovld __cnfn convert_char_sat(double);
  4849. char __ovld __cnfn convert_char_sat_rte(double);
  4850. char __ovld __cnfn convert_char_sat_rtn(double);
  4851. char __ovld __cnfn convert_char_sat_rtp(double);
  4852. char __ovld __cnfn convert_char_sat_rtz(double);
  4853. char2 __ovld __cnfn convert_char2(double2);
  4854. char2 __ovld __cnfn convert_char2_rte(double2);
  4855. char2 __ovld __cnfn convert_char2_rtn(double2);
  4856. char2 __ovld __cnfn convert_char2_rtp(double2);
  4857. char2 __ovld __cnfn convert_char2_rtz(double2);
  4858. char2 __ovld __cnfn convert_char2_sat(double2);
  4859. char2 __ovld __cnfn convert_char2_sat_rte(double2);
  4860. char2 __ovld __cnfn convert_char2_sat_rtn(double2);
  4861. char2 __ovld __cnfn convert_char2_sat_rtp(double2);
  4862. char2 __ovld __cnfn convert_char2_sat_rtz(double2);
  4863. char3 __ovld __cnfn convert_char3(double3);
  4864. char3 __ovld __cnfn convert_char3_rte(double3);
  4865. char3 __ovld __cnfn convert_char3_rtn(double3);
  4866. char3 __ovld __cnfn convert_char3_rtp(double3);
  4867. char3 __ovld __cnfn convert_char3_rtz(double3);
  4868. char3 __ovld __cnfn convert_char3_sat(double3);
  4869. char3 __ovld __cnfn convert_char3_sat_rte(double3);
  4870. char3 __ovld __cnfn convert_char3_sat_rtn(double3);
  4871. char3 __ovld __cnfn convert_char3_sat_rtp(double3);
  4872. char3 __ovld __cnfn convert_char3_sat_rtz(double3);
  4873. char4 __ovld __cnfn convert_char4(double4);
  4874. char4 __ovld __cnfn convert_char4_rte(double4);
  4875. char4 __ovld __cnfn convert_char4_rtn(double4);
  4876. char4 __ovld __cnfn convert_char4_rtp(double4);
  4877. char4 __ovld __cnfn convert_char4_rtz(double4);
  4878. char4 __ovld __cnfn convert_char4_sat(double4);
  4879. char4 __ovld __cnfn convert_char4_sat_rte(double4);
  4880. char4 __ovld __cnfn convert_char4_sat_rtn(double4);
  4881. char4 __ovld __cnfn convert_char4_sat_rtp(double4);
  4882. char4 __ovld __cnfn convert_char4_sat_rtz(double4);
  4883. char8 __ovld __cnfn convert_char8(double8);
  4884. char8 __ovld __cnfn convert_char8_rte(double8);
  4885. char8 __ovld __cnfn convert_char8_rtn(double8);
  4886. char8 __ovld __cnfn convert_char8_rtp(double8);
  4887. char8 __ovld __cnfn convert_char8_rtz(double8);
  4888. char8 __ovld __cnfn convert_char8_sat(double8);
  4889. char8 __ovld __cnfn convert_char8_sat_rte(double8);
  4890. char8 __ovld __cnfn convert_char8_sat_rtn(double8);
  4891. char8 __ovld __cnfn convert_char8_sat_rtp(double8);
  4892. char8 __ovld __cnfn convert_char8_sat_rtz(double8);
  4893. char16 __ovld __cnfn convert_char16(double16);
  4894. char16 __ovld __cnfn convert_char16_rte(double16);
  4895. char16 __ovld __cnfn convert_char16_rtn(double16);
  4896. char16 __ovld __cnfn convert_char16_rtp(double16);
  4897. char16 __ovld __cnfn convert_char16_rtz(double16);
  4898. char16 __ovld __cnfn convert_char16_sat(double16);
  4899. char16 __ovld __cnfn convert_char16_sat_rte(double16);
  4900. char16 __ovld __cnfn convert_char16_sat_rtn(double16);
  4901. char16 __ovld __cnfn convert_char16_sat_rtp(double16);
  4902. char16 __ovld __cnfn convert_char16_sat_rtz(double16);
  4903. uchar __ovld __cnfn convert_uchar(double);
  4904. uchar __ovld __cnfn convert_uchar_rte(double);
  4905. uchar __ovld __cnfn convert_uchar_rtn(double);
  4906. uchar __ovld __cnfn convert_uchar_rtp(double);
  4907. uchar __ovld __cnfn convert_uchar_rtz(double);
  4908. uchar __ovld __cnfn convert_uchar_sat(double);
  4909. uchar __ovld __cnfn convert_uchar_sat_rte(double);
  4910. uchar __ovld __cnfn convert_uchar_sat_rtn(double);
  4911. uchar __ovld __cnfn convert_uchar_sat_rtp(double);
  4912. uchar __ovld __cnfn convert_uchar_sat_rtz(double);
  4913. uchar2 __ovld __cnfn convert_uchar2(double2);
  4914. uchar2 __ovld __cnfn convert_uchar2_rte(double2);
  4915. uchar2 __ovld __cnfn convert_uchar2_rtn(double2);
  4916. uchar2 __ovld __cnfn convert_uchar2_rtp(double2);
  4917. uchar2 __ovld __cnfn convert_uchar2_rtz(double2);
  4918. uchar2 __ovld __cnfn convert_uchar2_sat(double2);
  4919. uchar2 __ovld __cnfn convert_uchar2_sat_rte(double2);
  4920. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(double2);
  4921. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(double2);
  4922. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(double2);
  4923. uchar3 __ovld __cnfn convert_uchar3(double3);
  4924. uchar3 __ovld __cnfn convert_uchar3_rte(double3);
  4925. uchar3 __ovld __cnfn convert_uchar3_rtn(double3);
  4926. uchar3 __ovld __cnfn convert_uchar3_rtp(double3);
  4927. uchar3 __ovld __cnfn convert_uchar3_rtz(double3);
  4928. uchar3 __ovld __cnfn convert_uchar3_sat(double3);
  4929. uchar3 __ovld __cnfn convert_uchar3_sat_rte(double3);
  4930. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(double3);
  4931. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(double3);
  4932. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(double3);
  4933. uchar4 __ovld __cnfn convert_uchar4(double4);
  4934. uchar4 __ovld __cnfn convert_uchar4_rte(double4);
  4935. uchar4 __ovld __cnfn convert_uchar4_rtn(double4);
  4936. uchar4 __ovld __cnfn convert_uchar4_rtp(double4);
  4937. uchar4 __ovld __cnfn convert_uchar4_rtz(double4);
  4938. uchar4 __ovld __cnfn convert_uchar4_sat(double4);
  4939. uchar4 __ovld __cnfn convert_uchar4_sat_rte(double4);
  4940. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(double4);
  4941. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(double4);
  4942. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(double4);
  4943. uchar8 __ovld __cnfn convert_uchar8(double8);
  4944. uchar8 __ovld __cnfn convert_uchar8_rte(double8);
  4945. uchar8 __ovld __cnfn convert_uchar8_rtn(double8);
  4946. uchar8 __ovld __cnfn convert_uchar8_rtp(double8);
  4947. uchar8 __ovld __cnfn convert_uchar8_rtz(double8);
  4948. uchar8 __ovld __cnfn convert_uchar8_sat(double8);
  4949. uchar8 __ovld __cnfn convert_uchar8_sat_rte(double8);
  4950. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(double8);
  4951. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(double8);
  4952. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(double8);
  4953. uchar16 __ovld __cnfn convert_uchar16(double16);
  4954. uchar16 __ovld __cnfn convert_uchar16_rte(double16);
  4955. uchar16 __ovld __cnfn convert_uchar16_rtn(double16);
  4956. uchar16 __ovld __cnfn convert_uchar16_rtp(double16);
  4957. uchar16 __ovld __cnfn convert_uchar16_rtz(double16);
  4958. uchar16 __ovld __cnfn convert_uchar16_sat(double16);
  4959. uchar16 __ovld __cnfn convert_uchar16_sat_rte(double16);
  4960. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(double16);
  4961. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(double16);
  4962. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(double16);
  4963. short __ovld __cnfn convert_short(double);
  4964. short __ovld __cnfn convert_short_rte(double);
  4965. short __ovld __cnfn convert_short_rtn(double);
  4966. short __ovld __cnfn convert_short_rtp(double);
  4967. short __ovld __cnfn convert_short_rtz(double);
  4968. short __ovld __cnfn convert_short_sat(double);
  4969. short __ovld __cnfn convert_short_sat_rte(double);
  4970. short __ovld __cnfn convert_short_sat_rtn(double);
  4971. short __ovld __cnfn convert_short_sat_rtp(double);
  4972. short __ovld __cnfn convert_short_sat_rtz(double);
  4973. short2 __ovld __cnfn convert_short2(double2);
  4974. short2 __ovld __cnfn convert_short2_rte(double2);
  4975. short2 __ovld __cnfn convert_short2_rtn(double2);
  4976. short2 __ovld __cnfn convert_short2_rtp(double2);
  4977. short2 __ovld __cnfn convert_short2_rtz(double2);
  4978. short2 __ovld __cnfn convert_short2_sat(double2);
  4979. short2 __ovld __cnfn convert_short2_sat_rte(double2);
  4980. short2 __ovld __cnfn convert_short2_sat_rtn(double2);
  4981. short2 __ovld __cnfn convert_short2_sat_rtp(double2);
  4982. short2 __ovld __cnfn convert_short2_sat_rtz(double2);
  4983. short3 __ovld __cnfn convert_short3(double3);
  4984. short3 __ovld __cnfn convert_short3_rte(double3);
  4985. short3 __ovld __cnfn convert_short3_rtn(double3);
  4986. short3 __ovld __cnfn convert_short3_rtp(double3);
  4987. short3 __ovld __cnfn convert_short3_rtz(double3);
  4988. short3 __ovld __cnfn convert_short3_sat(double3);
  4989. short3 __ovld __cnfn convert_short3_sat_rte(double3);
  4990. short3 __ovld __cnfn convert_short3_sat_rtn(double3);
  4991. short3 __ovld __cnfn convert_short3_sat_rtp(double3);
  4992. short3 __ovld __cnfn convert_short3_sat_rtz(double3);
  4993. short4 __ovld __cnfn convert_short4(double4);
  4994. short4 __ovld __cnfn convert_short4_rte(double4);
  4995. short4 __ovld __cnfn convert_short4_rtn(double4);
  4996. short4 __ovld __cnfn convert_short4_rtp(double4);
  4997. short4 __ovld __cnfn convert_short4_rtz(double4);
  4998. short4 __ovld __cnfn convert_short4_sat(double4);
  4999. short4 __ovld __cnfn convert_short4_sat_rte(double4);
  5000. short4 __ovld __cnfn convert_short4_sat_rtn(double4);
  5001. short4 __ovld __cnfn convert_short4_sat_rtp(double4);
  5002. short4 __ovld __cnfn convert_short4_sat_rtz(double4);
  5003. short8 __ovld __cnfn convert_short8(double8);
  5004. short8 __ovld __cnfn convert_short8_rte(double8);
  5005. short8 __ovld __cnfn convert_short8_rtn(double8);
  5006. short8 __ovld __cnfn convert_short8_rtp(double8);
  5007. short8 __ovld __cnfn convert_short8_rtz(double8);
  5008. short8 __ovld __cnfn convert_short8_sat(double8);
  5009. short8 __ovld __cnfn convert_short8_sat_rte(double8);
  5010. short8 __ovld __cnfn convert_short8_sat_rtn(double8);
  5011. short8 __ovld __cnfn convert_short8_sat_rtp(double8);
  5012. short8 __ovld __cnfn convert_short8_sat_rtz(double8);
  5013. short16 __ovld __cnfn convert_short16(double16);
  5014. short16 __ovld __cnfn convert_short16_rte(double16);
  5015. short16 __ovld __cnfn convert_short16_rtn(double16);
  5016. short16 __ovld __cnfn convert_short16_rtp(double16);
  5017. short16 __ovld __cnfn convert_short16_rtz(double16);
  5018. short16 __ovld __cnfn convert_short16_sat(double16);
  5019. short16 __ovld __cnfn convert_short16_sat_rte(double16);
  5020. short16 __ovld __cnfn convert_short16_sat_rtn(double16);
  5021. short16 __ovld __cnfn convert_short16_sat_rtp(double16);
  5022. short16 __ovld __cnfn convert_short16_sat_rtz(double16);
  5023. ushort __ovld __cnfn convert_ushort(double);
  5024. ushort __ovld __cnfn convert_ushort_rte(double);
  5025. ushort __ovld __cnfn convert_ushort_rtn(double);
  5026. ushort __ovld __cnfn convert_ushort_rtp(double);
  5027. ushort __ovld __cnfn convert_ushort_rtz(double);
  5028. ushort __ovld __cnfn convert_ushort_sat(double);
  5029. ushort __ovld __cnfn convert_ushort_sat_rte(double);
  5030. ushort __ovld __cnfn convert_ushort_sat_rtn(double);
  5031. ushort __ovld __cnfn convert_ushort_sat_rtp(double);
  5032. ushort __ovld __cnfn convert_ushort_sat_rtz(double);
  5033. ushort2 __ovld __cnfn convert_ushort2(double2);
  5034. ushort2 __ovld __cnfn convert_ushort2_rte(double2);
  5035. ushort2 __ovld __cnfn convert_ushort2_rtn(double2);
  5036. ushort2 __ovld __cnfn convert_ushort2_rtp(double2);
  5037. ushort2 __ovld __cnfn convert_ushort2_rtz(double2);
  5038. ushort2 __ovld __cnfn convert_ushort2_sat(double2);
  5039. ushort2 __ovld __cnfn convert_ushort2_sat_rte(double2);
  5040. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(double2);
  5041. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(double2);
  5042. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(double2);
  5043. ushort3 __ovld __cnfn convert_ushort3(double3);
  5044. ushort3 __ovld __cnfn convert_ushort3_rte(double3);
  5045. ushort3 __ovld __cnfn convert_ushort3_rtn(double3);
  5046. ushort3 __ovld __cnfn convert_ushort3_rtp(double3);
  5047. ushort3 __ovld __cnfn convert_ushort3_rtz(double3);
  5048. ushort3 __ovld __cnfn convert_ushort3_sat(double3);
  5049. ushort3 __ovld __cnfn convert_ushort3_sat_rte(double3);
  5050. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(double3);
  5051. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(double3);
  5052. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(double3);
  5053. ushort4 __ovld __cnfn convert_ushort4(double4);
  5054. ushort4 __ovld __cnfn convert_ushort4_rte(double4);
  5055. ushort4 __ovld __cnfn convert_ushort4_rtn(double4);
  5056. ushort4 __ovld __cnfn convert_ushort4_rtp(double4);
  5057. ushort4 __ovld __cnfn convert_ushort4_rtz(double4);
  5058. ushort4 __ovld __cnfn convert_ushort4_sat(double4);
  5059. ushort4 __ovld __cnfn convert_ushort4_sat_rte(double4);
  5060. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(double4);
  5061. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(double4);
  5062. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(double4);
  5063. ushort8 __ovld __cnfn convert_ushort8(double8);
  5064. ushort8 __ovld __cnfn convert_ushort8_rte(double8);
  5065. ushort8 __ovld __cnfn convert_ushort8_rtn(double8);
  5066. ushort8 __ovld __cnfn convert_ushort8_rtp(double8);
  5067. ushort8 __ovld __cnfn convert_ushort8_rtz(double8);
  5068. ushort8 __ovld __cnfn convert_ushort8_sat(double8);
  5069. ushort8 __ovld __cnfn convert_ushort8_sat_rte(double8);
  5070. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(double8);
  5071. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(double8);
  5072. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(double8);
  5073. ushort16 __ovld __cnfn convert_ushort16(double16);
  5074. ushort16 __ovld __cnfn convert_ushort16_rte(double16);
  5075. ushort16 __ovld __cnfn convert_ushort16_rtn(double16);
  5076. ushort16 __ovld __cnfn convert_ushort16_rtp(double16);
  5077. ushort16 __ovld __cnfn convert_ushort16_rtz(double16);
  5078. ushort16 __ovld __cnfn convert_ushort16_sat(double16);
  5079. ushort16 __ovld __cnfn convert_ushort16_sat_rte(double16);
  5080. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(double16);
  5081. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(double16);
  5082. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(double16);
  5083. int __ovld __cnfn convert_int(double);
  5084. int __ovld __cnfn convert_int_rte(double);
  5085. int __ovld __cnfn convert_int_rtn(double);
  5086. int __ovld __cnfn convert_int_rtp(double);
  5087. int __ovld __cnfn convert_int_rtz(double);
  5088. int __ovld __cnfn convert_int_sat(double);
  5089. int __ovld __cnfn convert_int_sat_rte(double);
  5090. int __ovld __cnfn convert_int_sat_rtn(double);
  5091. int __ovld __cnfn convert_int_sat_rtp(double);
  5092. int __ovld __cnfn convert_int_sat_rtz(double);
  5093. int2 __ovld __cnfn convert_int2(double2);
  5094. int2 __ovld __cnfn convert_int2_rte(double2);
  5095. int2 __ovld __cnfn convert_int2_rtn(double2);
  5096. int2 __ovld __cnfn convert_int2_rtp(double2);
  5097. int2 __ovld __cnfn convert_int2_rtz(double2);
  5098. int2 __ovld __cnfn convert_int2_sat(double2);
  5099. int2 __ovld __cnfn convert_int2_sat_rte(double2);
  5100. int2 __ovld __cnfn convert_int2_sat_rtn(double2);
  5101. int2 __ovld __cnfn convert_int2_sat_rtp(double2);
  5102. int2 __ovld __cnfn convert_int2_sat_rtz(double2);
  5103. int3 __ovld __cnfn convert_int3(double3);
  5104. int3 __ovld __cnfn convert_int3_rte(double3);
  5105. int3 __ovld __cnfn convert_int3_rtn(double3);
  5106. int3 __ovld __cnfn convert_int3_rtp(double3);
  5107. int3 __ovld __cnfn convert_int3_rtz(double3);
  5108. int3 __ovld __cnfn convert_int3_sat(double3);
  5109. int3 __ovld __cnfn convert_int3_sat_rte(double3);
  5110. int3 __ovld __cnfn convert_int3_sat_rtn(double3);
  5111. int3 __ovld __cnfn convert_int3_sat_rtp(double3);
  5112. int3 __ovld __cnfn convert_int3_sat_rtz(double3);
  5113. int4 __ovld __cnfn convert_int4(double4);
  5114. int4 __ovld __cnfn convert_int4_rte(double4);
  5115. int4 __ovld __cnfn convert_int4_rtn(double4);
  5116. int4 __ovld __cnfn convert_int4_rtp(double4);
  5117. int4 __ovld __cnfn convert_int4_rtz(double4);
  5118. int4 __ovld __cnfn convert_int4_sat(double4);
  5119. int4 __ovld __cnfn convert_int4_sat_rte(double4);
  5120. int4 __ovld __cnfn convert_int4_sat_rtn(double4);
  5121. int4 __ovld __cnfn convert_int4_sat_rtp(double4);
  5122. int4 __ovld __cnfn convert_int4_sat_rtz(double4);
  5123. int8 __ovld __cnfn convert_int8(double8);
  5124. int8 __ovld __cnfn convert_int8_rte(double8);
  5125. int8 __ovld __cnfn convert_int8_rtn(double8);
  5126. int8 __ovld __cnfn convert_int8_rtp(double8);
  5127. int8 __ovld __cnfn convert_int8_rtz(double8);
  5128. int8 __ovld __cnfn convert_int8_sat(double8);
  5129. int8 __ovld __cnfn convert_int8_sat_rte(double8);
  5130. int8 __ovld __cnfn convert_int8_sat_rtn(double8);
  5131. int8 __ovld __cnfn convert_int8_sat_rtp(double8);
  5132. int8 __ovld __cnfn convert_int8_sat_rtz(double8);
  5133. int16 __ovld __cnfn convert_int16(double16);
  5134. int16 __ovld __cnfn convert_int16_rte(double16);
  5135. int16 __ovld __cnfn convert_int16_rtn(double16);
  5136. int16 __ovld __cnfn convert_int16_rtp(double16);
  5137. int16 __ovld __cnfn convert_int16_rtz(double16);
  5138. int16 __ovld __cnfn convert_int16_sat(double16);
  5139. int16 __ovld __cnfn convert_int16_sat_rte(double16);
  5140. int16 __ovld __cnfn convert_int16_sat_rtn(double16);
  5141. int16 __ovld __cnfn convert_int16_sat_rtp(double16);
  5142. int16 __ovld __cnfn convert_int16_sat_rtz(double16);
  5143. uint __ovld __cnfn convert_uint(double);
  5144. uint __ovld __cnfn convert_uint_rte(double);
  5145. uint __ovld __cnfn convert_uint_rtn(double);
  5146. uint __ovld __cnfn convert_uint_rtp(double);
  5147. uint __ovld __cnfn convert_uint_rtz(double);
  5148. uint __ovld __cnfn convert_uint_sat(double);
  5149. uint __ovld __cnfn convert_uint_sat_rte(double);
  5150. uint __ovld __cnfn convert_uint_sat_rtn(double);
  5151. uint __ovld __cnfn convert_uint_sat_rtp(double);
  5152. uint __ovld __cnfn convert_uint_sat_rtz(double);
  5153. uint2 __ovld __cnfn convert_uint2(double2);
  5154. uint2 __ovld __cnfn convert_uint2_rte(double2);
  5155. uint2 __ovld __cnfn convert_uint2_rtn(double2);
  5156. uint2 __ovld __cnfn convert_uint2_rtp(double2);
  5157. uint2 __ovld __cnfn convert_uint2_rtz(double2);
  5158. uint2 __ovld __cnfn convert_uint2_sat(double2);
  5159. uint2 __ovld __cnfn convert_uint2_sat_rte(double2);
  5160. uint2 __ovld __cnfn convert_uint2_sat_rtn(double2);
  5161. uint2 __ovld __cnfn convert_uint2_sat_rtp(double2);
  5162. uint2 __ovld __cnfn convert_uint2_sat_rtz(double2);
  5163. uint3 __ovld __cnfn convert_uint3(double3);
  5164. uint3 __ovld __cnfn convert_uint3_rte(double3);
  5165. uint3 __ovld __cnfn convert_uint3_rtn(double3);
  5166. uint3 __ovld __cnfn convert_uint3_rtp(double3);
  5167. uint3 __ovld __cnfn convert_uint3_rtz(double3);
  5168. uint3 __ovld __cnfn convert_uint3_sat(double3);
  5169. uint3 __ovld __cnfn convert_uint3_sat_rte(double3);
  5170. uint3 __ovld __cnfn convert_uint3_sat_rtn(double3);
  5171. uint3 __ovld __cnfn convert_uint3_sat_rtp(double3);
  5172. uint3 __ovld __cnfn convert_uint3_sat_rtz(double3);
  5173. uint4 __ovld __cnfn convert_uint4(double4);
  5174. uint4 __ovld __cnfn convert_uint4_rte(double4);
  5175. uint4 __ovld __cnfn convert_uint4_rtn(double4);
  5176. uint4 __ovld __cnfn convert_uint4_rtp(double4);
  5177. uint4 __ovld __cnfn convert_uint4_rtz(double4);
  5178. uint4 __ovld __cnfn convert_uint4_sat(double4);
  5179. uint4 __ovld __cnfn convert_uint4_sat_rte(double4);
  5180. uint4 __ovld __cnfn convert_uint4_sat_rtn(double4);
  5181. uint4 __ovld __cnfn convert_uint4_sat_rtp(double4);
  5182. uint4 __ovld __cnfn convert_uint4_sat_rtz(double4);
  5183. uint8 __ovld __cnfn convert_uint8(double8);
  5184. uint8 __ovld __cnfn convert_uint8_rte(double8);
  5185. uint8 __ovld __cnfn convert_uint8_rtn(double8);
  5186. uint8 __ovld __cnfn convert_uint8_rtp(double8);
  5187. uint8 __ovld __cnfn convert_uint8_rtz(double8);
  5188. uint8 __ovld __cnfn convert_uint8_sat(double8);
  5189. uint8 __ovld __cnfn convert_uint8_sat_rte(double8);
  5190. uint8 __ovld __cnfn convert_uint8_sat_rtn(double8);
  5191. uint8 __ovld __cnfn convert_uint8_sat_rtp(double8);
  5192. uint8 __ovld __cnfn convert_uint8_sat_rtz(double8);
  5193. uint16 __ovld __cnfn convert_uint16(double16);
  5194. uint16 __ovld __cnfn convert_uint16_rte(double16);
  5195. uint16 __ovld __cnfn convert_uint16_rtn(double16);
  5196. uint16 __ovld __cnfn convert_uint16_rtp(double16);
  5197. uint16 __ovld __cnfn convert_uint16_rtz(double16);
  5198. uint16 __ovld __cnfn convert_uint16_sat(double16);
  5199. uint16 __ovld __cnfn convert_uint16_sat_rte(double16);
  5200. uint16 __ovld __cnfn convert_uint16_sat_rtn(double16);
  5201. uint16 __ovld __cnfn convert_uint16_sat_rtp(double16);
  5202. uint16 __ovld __cnfn convert_uint16_sat_rtz(double16);
  5203. long __ovld __cnfn convert_long(double);
  5204. long __ovld __cnfn convert_long_rte(double);
  5205. long __ovld __cnfn convert_long_rtn(double);
  5206. long __ovld __cnfn convert_long_rtp(double);
  5207. long __ovld __cnfn convert_long_rtz(double);
  5208. long __ovld __cnfn convert_long_sat(double);
  5209. long __ovld __cnfn convert_long_sat_rte(double);
  5210. long __ovld __cnfn convert_long_sat_rtn(double);
  5211. long __ovld __cnfn convert_long_sat_rtp(double);
  5212. long __ovld __cnfn convert_long_sat_rtz(double);
  5213. long2 __ovld __cnfn convert_long2(double2);
  5214. long2 __ovld __cnfn convert_long2_rte(double2);
  5215. long2 __ovld __cnfn convert_long2_rtn(double2);
  5216. long2 __ovld __cnfn convert_long2_rtp(double2);
  5217. long2 __ovld __cnfn convert_long2_rtz(double2);
  5218. long2 __ovld __cnfn convert_long2_sat(double2);
  5219. long2 __ovld __cnfn convert_long2_sat_rte(double2);
  5220. long2 __ovld __cnfn convert_long2_sat_rtn(double2);
  5221. long2 __ovld __cnfn convert_long2_sat_rtp(double2);
  5222. long2 __ovld __cnfn convert_long2_sat_rtz(double2);
  5223. long3 __ovld __cnfn convert_long3(double3);
  5224. long3 __ovld __cnfn convert_long3_rte(double3);
  5225. long3 __ovld __cnfn convert_long3_rtn(double3);
  5226. long3 __ovld __cnfn convert_long3_rtp(double3);
  5227. long3 __ovld __cnfn convert_long3_rtz(double3);
  5228. long3 __ovld __cnfn convert_long3_sat(double3);
  5229. long3 __ovld __cnfn convert_long3_sat_rte(double3);
  5230. long3 __ovld __cnfn convert_long3_sat_rtn(double3);
  5231. long3 __ovld __cnfn convert_long3_sat_rtp(double3);
  5232. long3 __ovld __cnfn convert_long3_sat_rtz(double3);
  5233. long4 __ovld __cnfn convert_long4(double4);
  5234. long4 __ovld __cnfn convert_long4_rte(double4);
  5235. long4 __ovld __cnfn convert_long4_rtn(double4);
  5236. long4 __ovld __cnfn convert_long4_rtp(double4);
  5237. long4 __ovld __cnfn convert_long4_rtz(double4);
  5238. long4 __ovld __cnfn convert_long4_sat(double4);
  5239. long4 __ovld __cnfn convert_long4_sat_rte(double4);
  5240. long4 __ovld __cnfn convert_long4_sat_rtn(double4);
  5241. long4 __ovld __cnfn convert_long4_sat_rtp(double4);
  5242. long4 __ovld __cnfn convert_long4_sat_rtz(double4);
  5243. long8 __ovld __cnfn convert_long8(double8);
  5244. long8 __ovld __cnfn convert_long8_rte(double8);
  5245. long8 __ovld __cnfn convert_long8_rtn(double8);
  5246. long8 __ovld __cnfn convert_long8_rtp(double8);
  5247. long8 __ovld __cnfn convert_long8_rtz(double8);
  5248. long8 __ovld __cnfn convert_long8_sat(double8);
  5249. long8 __ovld __cnfn convert_long8_sat_rte(double8);
  5250. long8 __ovld __cnfn convert_long8_sat_rtn(double8);
  5251. long8 __ovld __cnfn convert_long8_sat_rtp(double8);
  5252. long8 __ovld __cnfn convert_long8_sat_rtz(double8);
  5253. long16 __ovld __cnfn convert_long16(double16);
  5254. long16 __ovld __cnfn convert_long16_rte(double16);
  5255. long16 __ovld __cnfn convert_long16_rtn(double16);
  5256. long16 __ovld __cnfn convert_long16_rtp(double16);
  5257. long16 __ovld __cnfn convert_long16_rtz(double16);
  5258. long16 __ovld __cnfn convert_long16_sat(double16);
  5259. long16 __ovld __cnfn convert_long16_sat_rte(double16);
  5260. long16 __ovld __cnfn convert_long16_sat_rtn(double16);
  5261. long16 __ovld __cnfn convert_long16_sat_rtp(double16);
  5262. long16 __ovld __cnfn convert_long16_sat_rtz(double16);
  5263. ulong __ovld __cnfn convert_ulong(double);
  5264. ulong __ovld __cnfn convert_ulong_rte(double);
  5265. ulong __ovld __cnfn convert_ulong_rtn(double);
  5266. ulong __ovld __cnfn convert_ulong_rtp(double);
  5267. ulong __ovld __cnfn convert_ulong_rtz(double);
  5268. ulong __ovld __cnfn convert_ulong_sat(double);
  5269. ulong __ovld __cnfn convert_ulong_sat_rte(double);
  5270. ulong __ovld __cnfn convert_ulong_sat_rtn(double);
  5271. ulong __ovld __cnfn convert_ulong_sat_rtp(double);
  5272. ulong __ovld __cnfn convert_ulong_sat_rtz(double);
  5273. ulong2 __ovld __cnfn convert_ulong2(double2);
  5274. ulong2 __ovld __cnfn convert_ulong2_rte(double2);
  5275. ulong2 __ovld __cnfn convert_ulong2_rtn(double2);
  5276. ulong2 __ovld __cnfn convert_ulong2_rtp(double2);
  5277. ulong2 __ovld __cnfn convert_ulong2_rtz(double2);
  5278. ulong2 __ovld __cnfn convert_ulong2_sat(double2);
  5279. ulong2 __ovld __cnfn convert_ulong2_sat_rte(double2);
  5280. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(double2);
  5281. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(double2);
  5282. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(double2);
  5283. ulong3 __ovld __cnfn convert_ulong3(double3);
  5284. ulong3 __ovld __cnfn convert_ulong3_rte(double3);
  5285. ulong3 __ovld __cnfn convert_ulong3_rtn(double3);
  5286. ulong3 __ovld __cnfn convert_ulong3_rtp(double3);
  5287. ulong3 __ovld __cnfn convert_ulong3_rtz(double3);
  5288. ulong3 __ovld __cnfn convert_ulong3_sat(double3);
  5289. ulong3 __ovld __cnfn convert_ulong3_sat_rte(double3);
  5290. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(double3);
  5291. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(double3);
  5292. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(double3);
  5293. ulong4 __ovld __cnfn convert_ulong4(double4);
  5294. ulong4 __ovld __cnfn convert_ulong4_rte(double4);
  5295. ulong4 __ovld __cnfn convert_ulong4_rtn(double4);
  5296. ulong4 __ovld __cnfn convert_ulong4_rtp(double4);
  5297. ulong4 __ovld __cnfn convert_ulong4_rtz(double4);
  5298. ulong4 __ovld __cnfn convert_ulong4_sat(double4);
  5299. ulong4 __ovld __cnfn convert_ulong4_sat_rte(double4);
  5300. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(double4);
  5301. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(double4);
  5302. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(double4);
  5303. ulong8 __ovld __cnfn convert_ulong8(double8);
  5304. ulong8 __ovld __cnfn convert_ulong8_rte(double8);
  5305. ulong8 __ovld __cnfn convert_ulong8_rtn(double8);
  5306. ulong8 __ovld __cnfn convert_ulong8_rtp(double8);
  5307. ulong8 __ovld __cnfn convert_ulong8_rtz(double8);
  5308. ulong8 __ovld __cnfn convert_ulong8_sat(double8);
  5309. ulong8 __ovld __cnfn convert_ulong8_sat_rte(double8);
  5310. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(double8);
  5311. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(double8);
  5312. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(double8);
  5313. ulong16 __ovld __cnfn convert_ulong16(double16);
  5314. ulong16 __ovld __cnfn convert_ulong16_rte(double16);
  5315. ulong16 __ovld __cnfn convert_ulong16_rtn(double16);
  5316. ulong16 __ovld __cnfn convert_ulong16_rtp(double16);
  5317. ulong16 __ovld __cnfn convert_ulong16_rtz(double16);
  5318. ulong16 __ovld __cnfn convert_ulong16_sat(double16);
  5319. ulong16 __ovld __cnfn convert_ulong16_sat_rte(double16);
  5320. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(double16);
  5321. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(double16);
  5322. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(double16);
  5323. float __ovld __cnfn convert_float(double);
  5324. float __ovld __cnfn convert_float_rte(double);
  5325. float __ovld __cnfn convert_float_rtn(double);
  5326. float __ovld __cnfn convert_float_rtp(double);
  5327. float __ovld __cnfn convert_float_rtz(double);
  5328. float2 __ovld __cnfn convert_float2(double2);
  5329. float2 __ovld __cnfn convert_float2_rte(double2);
  5330. float2 __ovld __cnfn convert_float2_rtn(double2);
  5331. float2 __ovld __cnfn convert_float2_rtp(double2);
  5332. float2 __ovld __cnfn convert_float2_rtz(double2);
  5333. float3 __ovld __cnfn convert_float3(double3);
  5334. float3 __ovld __cnfn convert_float3_rte(double3);
  5335. float3 __ovld __cnfn convert_float3_rtn(double3);
  5336. float3 __ovld __cnfn convert_float3_rtp(double3);
  5337. float3 __ovld __cnfn convert_float3_rtz(double3);
  5338. float4 __ovld __cnfn convert_float4(double4);
  5339. float4 __ovld __cnfn convert_float4_rte(double4);
  5340. float4 __ovld __cnfn convert_float4_rtn(double4);
  5341. float4 __ovld __cnfn convert_float4_rtp(double4);
  5342. float4 __ovld __cnfn convert_float4_rtz(double4);
  5343. float8 __ovld __cnfn convert_float8(double8);
  5344. float8 __ovld __cnfn convert_float8_rte(double8);
  5345. float8 __ovld __cnfn convert_float8_rtn(double8);
  5346. float8 __ovld __cnfn convert_float8_rtp(double8);
  5347. float8 __ovld __cnfn convert_float8_rtz(double8);
  5348. float16 __ovld __cnfn convert_float16(double16);
  5349. float16 __ovld __cnfn convert_float16_rte(double16);
  5350. float16 __ovld __cnfn convert_float16_rtn(double16);
  5351. float16 __ovld __cnfn convert_float16_rtp(double16);
  5352. float16 __ovld __cnfn convert_float16_rtz(double16);
  5353. double __ovld __cnfn convert_double(char);
  5354. double __ovld __cnfn convert_double(double);
  5355. double __ovld __cnfn convert_double(float);
  5356. double __ovld __cnfn convert_double(int);
  5357. double __ovld __cnfn convert_double(long);
  5358. double __ovld __cnfn convert_double(short);
  5359. double __ovld __cnfn convert_double(uchar);
  5360. double __ovld __cnfn convert_double(uint);
  5361. double __ovld __cnfn convert_double(ulong);
  5362. double __ovld __cnfn convert_double(ushort);
  5363. double __ovld __cnfn convert_double_rte(char);
  5364. double __ovld __cnfn convert_double_rte(double);
  5365. double __ovld __cnfn convert_double_rte(float);
  5366. double __ovld __cnfn convert_double_rte(int);
  5367. double __ovld __cnfn convert_double_rte(long);
  5368. double __ovld __cnfn convert_double_rte(short);
  5369. double __ovld __cnfn convert_double_rte(uchar);
  5370. double __ovld __cnfn convert_double_rte(uint);
  5371. double __ovld __cnfn convert_double_rte(ulong);
  5372. double __ovld __cnfn convert_double_rte(ushort);
  5373. double __ovld __cnfn convert_double_rtn(char);
  5374. double __ovld __cnfn convert_double_rtn(double);
  5375. double __ovld __cnfn convert_double_rtn(float);
  5376. double __ovld __cnfn convert_double_rtn(int);
  5377. double __ovld __cnfn convert_double_rtn(long);
  5378. double __ovld __cnfn convert_double_rtn(short);
  5379. double __ovld __cnfn convert_double_rtn(uchar);
  5380. double __ovld __cnfn convert_double_rtn(uint);
  5381. double __ovld __cnfn convert_double_rtn(ulong);
  5382. double __ovld __cnfn convert_double_rtn(ushort);
  5383. double __ovld __cnfn convert_double_rtp(char);
  5384. double __ovld __cnfn convert_double_rtp(double);
  5385. double __ovld __cnfn convert_double_rtp(float);
  5386. double __ovld __cnfn convert_double_rtp(int);
  5387. double __ovld __cnfn convert_double_rtp(long);
  5388. double __ovld __cnfn convert_double_rtp(short);
  5389. double __ovld __cnfn convert_double_rtp(uchar);
  5390. double __ovld __cnfn convert_double_rtp(uint);
  5391. double __ovld __cnfn convert_double_rtp(ulong);
  5392. double __ovld __cnfn convert_double_rtp(ushort);
  5393. double __ovld __cnfn convert_double_rtz(char);
  5394. double __ovld __cnfn convert_double_rtz(double);
  5395. double __ovld __cnfn convert_double_rtz(float);
  5396. double __ovld __cnfn convert_double_rtz(int);
  5397. double __ovld __cnfn convert_double_rtz(long);
  5398. double __ovld __cnfn convert_double_rtz(short);
  5399. double __ovld __cnfn convert_double_rtz(uchar);
  5400. double __ovld __cnfn convert_double_rtz(uint);
  5401. double __ovld __cnfn convert_double_rtz(ulong);
  5402. double __ovld __cnfn convert_double_rtz(ushort);
  5403. double2 __ovld __cnfn convert_double2(char2);
  5404. double2 __ovld __cnfn convert_double2(double2);
  5405. double2 __ovld __cnfn convert_double2(float2);
  5406. double2 __ovld __cnfn convert_double2(int2);
  5407. double2 __ovld __cnfn convert_double2(long2);
  5408. double2 __ovld __cnfn convert_double2(short2);
  5409. double2 __ovld __cnfn convert_double2(uchar2);
  5410. double2 __ovld __cnfn convert_double2(uint2);
  5411. double2 __ovld __cnfn convert_double2(ulong2);
  5412. double2 __ovld __cnfn convert_double2(ushort2);
  5413. double2 __ovld __cnfn convert_double2_rte(char2);
  5414. double2 __ovld __cnfn convert_double2_rte(double2);
  5415. double2 __ovld __cnfn convert_double2_rte(float2);
  5416. double2 __ovld __cnfn convert_double2_rte(int2);
  5417. double2 __ovld __cnfn convert_double2_rte(long2);
  5418. double2 __ovld __cnfn convert_double2_rte(short2);
  5419. double2 __ovld __cnfn convert_double2_rte(uchar2);
  5420. double2 __ovld __cnfn convert_double2_rte(uint2);
  5421. double2 __ovld __cnfn convert_double2_rte(ulong2);
  5422. double2 __ovld __cnfn convert_double2_rte(ushort2);
  5423. double2 __ovld __cnfn convert_double2_rtn(char2);
  5424. double2 __ovld __cnfn convert_double2_rtn(double2);
  5425. double2 __ovld __cnfn convert_double2_rtn(float2);
  5426. double2 __ovld __cnfn convert_double2_rtn(int2);
  5427. double2 __ovld __cnfn convert_double2_rtn(long2);
  5428. double2 __ovld __cnfn convert_double2_rtn(short2);
  5429. double2 __ovld __cnfn convert_double2_rtn(uchar2);
  5430. double2 __ovld __cnfn convert_double2_rtn(uint2);
  5431. double2 __ovld __cnfn convert_double2_rtn(ulong2);
  5432. double2 __ovld __cnfn convert_double2_rtn(ushort2);
  5433. double2 __ovld __cnfn convert_double2_rtp(char2);
  5434. double2 __ovld __cnfn convert_double2_rtp(double2);
  5435. double2 __ovld __cnfn convert_double2_rtp(float2);
  5436. double2 __ovld __cnfn convert_double2_rtp(int2);
  5437. double2 __ovld __cnfn convert_double2_rtp(long2);
  5438. double2 __ovld __cnfn convert_double2_rtp(short2);
  5439. double2 __ovld __cnfn convert_double2_rtp(uchar2);
  5440. double2 __ovld __cnfn convert_double2_rtp(uint2);
  5441. double2 __ovld __cnfn convert_double2_rtp(ulong2);
  5442. double2 __ovld __cnfn convert_double2_rtp(ushort2);
  5443. double2 __ovld __cnfn convert_double2_rtz(char2);
  5444. double2 __ovld __cnfn convert_double2_rtz(double2);
  5445. double2 __ovld __cnfn convert_double2_rtz(float2);
  5446. double2 __ovld __cnfn convert_double2_rtz(int2);
  5447. double2 __ovld __cnfn convert_double2_rtz(long2);
  5448. double2 __ovld __cnfn convert_double2_rtz(short2);
  5449. double2 __ovld __cnfn convert_double2_rtz(uchar2);
  5450. double2 __ovld __cnfn convert_double2_rtz(uint2);
  5451. double2 __ovld __cnfn convert_double2_rtz(ulong2);
  5452. double2 __ovld __cnfn convert_double2_rtz(ushort2);
  5453. double3 __ovld __cnfn convert_double3(char3);
  5454. double3 __ovld __cnfn convert_double3(double3);
  5455. double3 __ovld __cnfn convert_double3(float3);
  5456. double3 __ovld __cnfn convert_double3(int3);
  5457. double3 __ovld __cnfn convert_double3(long3);
  5458. double3 __ovld __cnfn convert_double3(short3);
  5459. double3 __ovld __cnfn convert_double3(uchar3);
  5460. double3 __ovld __cnfn convert_double3(uint3);
  5461. double3 __ovld __cnfn convert_double3(ulong3);
  5462. double3 __ovld __cnfn convert_double3(ushort3);
  5463. double3 __ovld __cnfn convert_double3_rte(char3);
  5464. double3 __ovld __cnfn convert_double3_rte(double3);
  5465. double3 __ovld __cnfn convert_double3_rte(float3);
  5466. double3 __ovld __cnfn convert_double3_rte(int3);
  5467. double3 __ovld __cnfn convert_double3_rte(long3);
  5468. double3 __ovld __cnfn convert_double3_rte(short3);
  5469. double3 __ovld __cnfn convert_double3_rte(uchar3);
  5470. double3 __ovld __cnfn convert_double3_rte(uint3);
  5471. double3 __ovld __cnfn convert_double3_rte(ulong3);
  5472. double3 __ovld __cnfn convert_double3_rte(ushort3);
  5473. double3 __ovld __cnfn convert_double3_rtn(char3);
  5474. double3 __ovld __cnfn convert_double3_rtn(double3);
  5475. double3 __ovld __cnfn convert_double3_rtn(float3);
  5476. double3 __ovld __cnfn convert_double3_rtn(int3);
  5477. double3 __ovld __cnfn convert_double3_rtn(long3);
  5478. double3 __ovld __cnfn convert_double3_rtn(short3);
  5479. double3 __ovld __cnfn convert_double3_rtn(uchar3);
  5480. double3 __ovld __cnfn convert_double3_rtn(uint3);
  5481. double3 __ovld __cnfn convert_double3_rtn(ulong3);
  5482. double3 __ovld __cnfn convert_double3_rtn(ushort3);
  5483. double3 __ovld __cnfn convert_double3_rtp(char3);
  5484. double3 __ovld __cnfn convert_double3_rtp(double3);
  5485. double3 __ovld __cnfn convert_double3_rtp(float3);
  5486. double3 __ovld __cnfn convert_double3_rtp(int3);
  5487. double3 __ovld __cnfn convert_double3_rtp(long3);
  5488. double3 __ovld __cnfn convert_double3_rtp(short3);
  5489. double3 __ovld __cnfn convert_double3_rtp(uchar3);
  5490. double3 __ovld __cnfn convert_double3_rtp(uint3);
  5491. double3 __ovld __cnfn convert_double3_rtp(ulong3);
  5492. double3 __ovld __cnfn convert_double3_rtp(ushort3);
  5493. double3 __ovld __cnfn convert_double3_rtz(char3);
  5494. double3 __ovld __cnfn convert_double3_rtz(double3);
  5495. double3 __ovld __cnfn convert_double3_rtz(float3);
  5496. double3 __ovld __cnfn convert_double3_rtz(int3);
  5497. double3 __ovld __cnfn convert_double3_rtz(long3);
  5498. double3 __ovld __cnfn convert_double3_rtz(short3);
  5499. double3 __ovld __cnfn convert_double3_rtz(uchar3);
  5500. double3 __ovld __cnfn convert_double3_rtz(uint3);
  5501. double3 __ovld __cnfn convert_double3_rtz(ulong3);
  5502. double3 __ovld __cnfn convert_double3_rtz(ushort3);
  5503. double4 __ovld __cnfn convert_double4(char4);
  5504. double4 __ovld __cnfn convert_double4(double4);
  5505. double4 __ovld __cnfn convert_double4(float4);
  5506. double4 __ovld __cnfn convert_double4(int4);
  5507. double4 __ovld __cnfn convert_double4(long4);
  5508. double4 __ovld __cnfn convert_double4(short4);
  5509. double4 __ovld __cnfn convert_double4(uchar4);
  5510. double4 __ovld __cnfn convert_double4(uint4);
  5511. double4 __ovld __cnfn convert_double4(ulong4);
  5512. double4 __ovld __cnfn convert_double4(ushort4);
  5513. double4 __ovld __cnfn convert_double4_rte(char4);
  5514. double4 __ovld __cnfn convert_double4_rte(double4);
  5515. double4 __ovld __cnfn convert_double4_rte(float4);
  5516. double4 __ovld __cnfn convert_double4_rte(int4);
  5517. double4 __ovld __cnfn convert_double4_rte(long4);
  5518. double4 __ovld __cnfn convert_double4_rte(short4);
  5519. double4 __ovld __cnfn convert_double4_rte(uchar4);
  5520. double4 __ovld __cnfn convert_double4_rte(uint4);
  5521. double4 __ovld __cnfn convert_double4_rte(ulong4);
  5522. double4 __ovld __cnfn convert_double4_rte(ushort4);
  5523. double4 __ovld __cnfn convert_double4_rtn(char4);
  5524. double4 __ovld __cnfn convert_double4_rtn(double4);
  5525. double4 __ovld __cnfn convert_double4_rtn(float4);
  5526. double4 __ovld __cnfn convert_double4_rtn(int4);
  5527. double4 __ovld __cnfn convert_double4_rtn(long4);
  5528. double4 __ovld __cnfn convert_double4_rtn(short4);
  5529. double4 __ovld __cnfn convert_double4_rtn(uchar4);
  5530. double4 __ovld __cnfn convert_double4_rtn(uint4);
  5531. double4 __ovld __cnfn convert_double4_rtn(ulong4);
  5532. double4 __ovld __cnfn convert_double4_rtn(ushort4);
  5533. double4 __ovld __cnfn convert_double4_rtp(char4);
  5534. double4 __ovld __cnfn convert_double4_rtp(double4);
  5535. double4 __ovld __cnfn convert_double4_rtp(float4);
  5536. double4 __ovld __cnfn convert_double4_rtp(int4);
  5537. double4 __ovld __cnfn convert_double4_rtp(long4);
  5538. double4 __ovld __cnfn convert_double4_rtp(short4);
  5539. double4 __ovld __cnfn convert_double4_rtp(uchar4);
  5540. double4 __ovld __cnfn convert_double4_rtp(uint4);
  5541. double4 __ovld __cnfn convert_double4_rtp(ulong4);
  5542. double4 __ovld __cnfn convert_double4_rtp(ushort4);
  5543. double4 __ovld __cnfn convert_double4_rtz(char4);
  5544. double4 __ovld __cnfn convert_double4_rtz(double4);
  5545. double4 __ovld __cnfn convert_double4_rtz(float4);
  5546. double4 __ovld __cnfn convert_double4_rtz(int4);
  5547. double4 __ovld __cnfn convert_double4_rtz(long4);
  5548. double4 __ovld __cnfn convert_double4_rtz(short4);
  5549. double4 __ovld __cnfn convert_double4_rtz(uchar4);
  5550. double4 __ovld __cnfn convert_double4_rtz(uint4);
  5551. double4 __ovld __cnfn convert_double4_rtz(ulong4);
  5552. double4 __ovld __cnfn convert_double4_rtz(ushort4);
  5553. double8 __ovld __cnfn convert_double8(char8);
  5554. double8 __ovld __cnfn convert_double8(double8);
  5555. double8 __ovld __cnfn convert_double8(float8);
  5556. double8 __ovld __cnfn convert_double8(int8);
  5557. double8 __ovld __cnfn convert_double8(long8);
  5558. double8 __ovld __cnfn convert_double8(short8);
  5559. double8 __ovld __cnfn convert_double8(uchar8);
  5560. double8 __ovld __cnfn convert_double8(uint8);
  5561. double8 __ovld __cnfn convert_double8(ulong8);
  5562. double8 __ovld __cnfn convert_double8(ushort8);
  5563. double8 __ovld __cnfn convert_double8_rte(char8);
  5564. double8 __ovld __cnfn convert_double8_rte(double8);
  5565. double8 __ovld __cnfn convert_double8_rte(float8);
  5566. double8 __ovld __cnfn convert_double8_rte(int8);
  5567. double8 __ovld __cnfn convert_double8_rte(long8);
  5568. double8 __ovld __cnfn convert_double8_rte(short8);
  5569. double8 __ovld __cnfn convert_double8_rte(uchar8);
  5570. double8 __ovld __cnfn convert_double8_rte(uint8);
  5571. double8 __ovld __cnfn convert_double8_rte(ulong8);
  5572. double8 __ovld __cnfn convert_double8_rte(ushort8);
  5573. double8 __ovld __cnfn convert_double8_rtn(char8);
  5574. double8 __ovld __cnfn convert_double8_rtn(double8);
  5575. double8 __ovld __cnfn convert_double8_rtn(float8);
  5576. double8 __ovld __cnfn convert_double8_rtn(int8);
  5577. double8 __ovld __cnfn convert_double8_rtn(long8);
  5578. double8 __ovld __cnfn convert_double8_rtn(short8);
  5579. double8 __ovld __cnfn convert_double8_rtn(uchar8);
  5580. double8 __ovld __cnfn convert_double8_rtn(uint8);
  5581. double8 __ovld __cnfn convert_double8_rtn(ulong8);
  5582. double8 __ovld __cnfn convert_double8_rtn(ushort8);
  5583. double8 __ovld __cnfn convert_double8_rtp(char8);
  5584. double8 __ovld __cnfn convert_double8_rtp(double8);
  5585. double8 __ovld __cnfn convert_double8_rtp(float8);
  5586. double8 __ovld __cnfn convert_double8_rtp(int8);
  5587. double8 __ovld __cnfn convert_double8_rtp(long8);
  5588. double8 __ovld __cnfn convert_double8_rtp(short8);
  5589. double8 __ovld __cnfn convert_double8_rtp(uchar8);
  5590. double8 __ovld __cnfn convert_double8_rtp(uint8);
  5591. double8 __ovld __cnfn convert_double8_rtp(ulong8);
  5592. double8 __ovld __cnfn convert_double8_rtp(ushort8);
  5593. double8 __ovld __cnfn convert_double8_rtz(char8);
  5594. double8 __ovld __cnfn convert_double8_rtz(double8);
  5595. double8 __ovld __cnfn convert_double8_rtz(float8);
  5596. double8 __ovld __cnfn convert_double8_rtz(int8);
  5597. double8 __ovld __cnfn convert_double8_rtz(long8);
  5598. double8 __ovld __cnfn convert_double8_rtz(short8);
  5599. double8 __ovld __cnfn convert_double8_rtz(uchar8);
  5600. double8 __ovld __cnfn convert_double8_rtz(uint8);
  5601. double8 __ovld __cnfn convert_double8_rtz(ulong8);
  5602. double8 __ovld __cnfn convert_double8_rtz(ushort8);
  5603. double16 __ovld __cnfn convert_double16(char16);
  5604. double16 __ovld __cnfn convert_double16(double16);
  5605. double16 __ovld __cnfn convert_double16(float16);
  5606. double16 __ovld __cnfn convert_double16(int16);
  5607. double16 __ovld __cnfn convert_double16(long16);
  5608. double16 __ovld __cnfn convert_double16(short16);
  5609. double16 __ovld __cnfn convert_double16(uchar16);
  5610. double16 __ovld __cnfn convert_double16(uint16);
  5611. double16 __ovld __cnfn convert_double16(ulong16);
  5612. double16 __ovld __cnfn convert_double16(ushort16);
  5613. double16 __ovld __cnfn convert_double16_rte(char16);
  5614. double16 __ovld __cnfn convert_double16_rte(double16);
  5615. double16 __ovld __cnfn convert_double16_rte(float16);
  5616. double16 __ovld __cnfn convert_double16_rte(int16);
  5617. double16 __ovld __cnfn convert_double16_rte(long16);
  5618. double16 __ovld __cnfn convert_double16_rte(short16);
  5619. double16 __ovld __cnfn convert_double16_rte(uchar16);
  5620. double16 __ovld __cnfn convert_double16_rte(uint16);
  5621. double16 __ovld __cnfn convert_double16_rte(ulong16);
  5622. double16 __ovld __cnfn convert_double16_rte(ushort16);
  5623. double16 __ovld __cnfn convert_double16_rtn(char16);
  5624. double16 __ovld __cnfn convert_double16_rtn(double16);
  5625. double16 __ovld __cnfn convert_double16_rtn(float16);
  5626. double16 __ovld __cnfn convert_double16_rtn(int16);
  5627. double16 __ovld __cnfn convert_double16_rtn(long16);
  5628. double16 __ovld __cnfn convert_double16_rtn(short16);
  5629. double16 __ovld __cnfn convert_double16_rtn(uchar16);
  5630. double16 __ovld __cnfn convert_double16_rtn(uint16);
  5631. double16 __ovld __cnfn convert_double16_rtn(ulong16);
  5632. double16 __ovld __cnfn convert_double16_rtn(ushort16);
  5633. double16 __ovld __cnfn convert_double16_rtp(char16);
  5634. double16 __ovld __cnfn convert_double16_rtp(double16);
  5635. double16 __ovld __cnfn convert_double16_rtp(float16);
  5636. double16 __ovld __cnfn convert_double16_rtp(int16);
  5637. double16 __ovld __cnfn convert_double16_rtp(long16);
  5638. double16 __ovld __cnfn convert_double16_rtp(short16);
  5639. double16 __ovld __cnfn convert_double16_rtp(uchar16);
  5640. double16 __ovld __cnfn convert_double16_rtp(uint16);
  5641. double16 __ovld __cnfn convert_double16_rtp(ulong16);
  5642. double16 __ovld __cnfn convert_double16_rtp(ushort16);
  5643. double16 __ovld __cnfn convert_double16_rtz(char16);
  5644. double16 __ovld __cnfn convert_double16_rtz(double16);
  5645. double16 __ovld __cnfn convert_double16_rtz(float16);
  5646. double16 __ovld __cnfn convert_double16_rtz(int16);
  5647. double16 __ovld __cnfn convert_double16_rtz(long16);
  5648. double16 __ovld __cnfn convert_double16_rtz(short16);
  5649. double16 __ovld __cnfn convert_double16_rtz(uchar16);
  5650. double16 __ovld __cnfn convert_double16_rtz(uint16);
  5651. double16 __ovld __cnfn convert_double16_rtz(ulong16);
  5652. double16 __ovld __cnfn convert_double16_rtz(ushort16);
  5653. #endif //cl_khr_fp64
  5654. #ifdef cl_khr_fp16
  5655. // Convert half types to non-double types.
  5656. uchar __ovld __cnfn convert_uchar(half);
  5657. uchar __ovld __cnfn convert_uchar_rte(half);
  5658. uchar __ovld __cnfn convert_uchar_rtp(half);
  5659. uchar __ovld __cnfn convert_uchar_rtn(half);
  5660. uchar __ovld __cnfn convert_uchar_rtz(half);
  5661. uchar __ovld __cnfn convert_uchar_sat(half);
  5662. uchar __ovld __cnfn convert_uchar_sat_rte(half);
  5663. uchar __ovld __cnfn convert_uchar_sat_rtp(half);
  5664. uchar __ovld __cnfn convert_uchar_sat_rtn(half);
  5665. uchar __ovld __cnfn convert_uchar_sat_rtz(half);
  5666. uchar2 __ovld __cnfn convert_uchar2(half2);
  5667. uchar2 __ovld __cnfn convert_uchar2_rte(half2);
  5668. uchar2 __ovld __cnfn convert_uchar2_rtp(half2);
  5669. uchar2 __ovld __cnfn convert_uchar2_rtn(half2);
  5670. uchar2 __ovld __cnfn convert_uchar2_rtz(half2);
  5671. uchar2 __ovld __cnfn convert_uchar2_sat(half2);
  5672. uchar2 __ovld __cnfn convert_uchar2_sat_rte(half2);
  5673. uchar2 __ovld __cnfn convert_uchar2_sat_rtp(half2);
  5674. uchar2 __ovld __cnfn convert_uchar2_sat_rtn(half2);
  5675. uchar2 __ovld __cnfn convert_uchar2_sat_rtz(half2);
  5676. uchar3 __ovld __cnfn convert_uchar3(half3);
  5677. uchar3 __ovld __cnfn convert_uchar3_rte(half3);
  5678. uchar3 __ovld __cnfn convert_uchar3_rtp(half3);
  5679. uchar3 __ovld __cnfn convert_uchar3_rtn(half3);
  5680. uchar3 __ovld __cnfn convert_uchar3_rtz(half3);
  5681. uchar3 __ovld __cnfn convert_uchar3_sat(half3);
  5682. uchar3 __ovld __cnfn convert_uchar3_sat_rte(half3);
  5683. uchar3 __ovld __cnfn convert_uchar3_sat_rtp(half3);
  5684. uchar3 __ovld __cnfn convert_uchar3_sat_rtn(half3);
  5685. uchar3 __ovld __cnfn convert_uchar3_sat_rtz(half3);
  5686. uchar4 __ovld __cnfn convert_uchar4(half4);
  5687. uchar4 __ovld __cnfn convert_uchar4_rte(half4);
  5688. uchar4 __ovld __cnfn convert_uchar4_rtp(half4);
  5689. uchar4 __ovld __cnfn convert_uchar4_rtn(half4);
  5690. uchar4 __ovld __cnfn convert_uchar4_rtz(half4);
  5691. uchar4 __ovld __cnfn convert_uchar4_sat(half4);
  5692. uchar4 __ovld __cnfn convert_uchar4_sat_rte(half4);
  5693. uchar4 __ovld __cnfn convert_uchar4_sat_rtp(half4);
  5694. uchar4 __ovld __cnfn convert_uchar4_sat_rtn(half4);
  5695. uchar4 __ovld __cnfn convert_uchar4_sat_rtz(half4);
  5696. uchar8 __ovld __cnfn convert_uchar8(half8);
  5697. uchar8 __ovld __cnfn convert_uchar8_rte(half8);
  5698. uchar8 __ovld __cnfn convert_uchar8_rtp(half8);
  5699. uchar8 __ovld __cnfn convert_uchar8_rtn(half8);
  5700. uchar8 __ovld __cnfn convert_uchar8_rtz(half8);
  5701. uchar8 __ovld __cnfn convert_uchar8_sat(half8);
  5702. uchar8 __ovld __cnfn convert_uchar8_sat_rte(half8);
  5703. uchar8 __ovld __cnfn convert_uchar8_sat_rtp(half8);
  5704. uchar8 __ovld __cnfn convert_uchar8_sat_rtn(half8);
  5705. uchar8 __ovld __cnfn convert_uchar8_sat_rtz(half8);
  5706. uchar16 __ovld __cnfn convert_uchar16(half16);
  5707. uchar16 __ovld __cnfn convert_uchar16_rte(half16);
  5708. uchar16 __ovld __cnfn convert_uchar16_rtp(half16);
  5709. uchar16 __ovld __cnfn convert_uchar16_rtn(half16);
  5710. uchar16 __ovld __cnfn convert_uchar16_rtz(half16);
  5711. uchar16 __ovld __cnfn convert_uchar16_sat(half16);
  5712. uchar16 __ovld __cnfn convert_uchar16_sat_rte(half16);
  5713. uchar16 __ovld __cnfn convert_uchar16_sat_rtp(half16);
  5714. uchar16 __ovld __cnfn convert_uchar16_sat_rtn(half16);
  5715. uchar16 __ovld __cnfn convert_uchar16_sat_rtz(half16);
  5716. ushort __ovld __cnfn convert_ushort(half);
  5717. ushort __ovld __cnfn convert_ushort_rte(half);
  5718. ushort __ovld __cnfn convert_ushort_rtp(half);
  5719. ushort __ovld __cnfn convert_ushort_rtn(half);
  5720. ushort __ovld __cnfn convert_ushort_rtz(half);
  5721. ushort __ovld __cnfn convert_ushort_sat(half);
  5722. ushort __ovld __cnfn convert_ushort_sat_rte(half);
  5723. ushort __ovld __cnfn convert_ushort_sat_rtp(half);
  5724. ushort __ovld __cnfn convert_ushort_sat_rtn(half);
  5725. ushort __ovld __cnfn convert_ushort_sat_rtz(half);
  5726. ushort2 __ovld __cnfn convert_ushort2(half2);
  5727. ushort2 __ovld __cnfn convert_ushort2_rte(half2);
  5728. ushort2 __ovld __cnfn convert_ushort2_rtp(half2);
  5729. ushort2 __ovld __cnfn convert_ushort2_rtn(half2);
  5730. ushort2 __ovld __cnfn convert_ushort2_rtz(half2);
  5731. ushort2 __ovld __cnfn convert_ushort2_sat(half2);
  5732. ushort2 __ovld __cnfn convert_ushort2_sat_rte(half2);
  5733. ushort2 __ovld __cnfn convert_ushort2_sat_rtp(half2);
  5734. ushort2 __ovld __cnfn convert_ushort2_sat_rtn(half2);
  5735. ushort2 __ovld __cnfn convert_ushort2_sat_rtz(half2);
  5736. ushort3 __ovld __cnfn convert_ushort3(half3);
  5737. ushort3 __ovld __cnfn convert_ushort3_rte(half3);
  5738. ushort3 __ovld __cnfn convert_ushort3_rtp(half3);
  5739. ushort3 __ovld __cnfn convert_ushort3_rtn(half3);
  5740. ushort3 __ovld __cnfn convert_ushort3_rtz(half3);
  5741. ushort3 __ovld __cnfn convert_ushort3_sat(half3);
  5742. ushort3 __ovld __cnfn convert_ushort3_sat_rte(half3);
  5743. ushort3 __ovld __cnfn convert_ushort3_sat_rtp(half3);
  5744. ushort3 __ovld __cnfn convert_ushort3_sat_rtn(half3);
  5745. ushort3 __ovld __cnfn convert_ushort3_sat_rtz(half3);
  5746. ushort4 __ovld __cnfn convert_ushort4(half4);
  5747. ushort4 __ovld __cnfn convert_ushort4_rte(half4);
  5748. ushort4 __ovld __cnfn convert_ushort4_rtp(half4);
  5749. ushort4 __ovld __cnfn convert_ushort4_rtn(half4);
  5750. ushort4 __ovld __cnfn convert_ushort4_rtz(half4);
  5751. ushort4 __ovld __cnfn convert_ushort4_sat(half4);
  5752. ushort4 __ovld __cnfn convert_ushort4_sat_rte(half4);
  5753. ushort4 __ovld __cnfn convert_ushort4_sat_rtp(half4);
  5754. ushort4 __ovld __cnfn convert_ushort4_sat_rtn(half4);
  5755. ushort4 __ovld __cnfn convert_ushort4_sat_rtz(half4);
  5756. ushort8 __ovld __cnfn convert_ushort8(half8);
  5757. ushort8 __ovld __cnfn convert_ushort8_rte(half8);
  5758. ushort8 __ovld __cnfn convert_ushort8_rtp(half8);
  5759. ushort8 __ovld __cnfn convert_ushort8_rtn(half8);
  5760. ushort8 __ovld __cnfn convert_ushort8_rtz(half8);
  5761. ushort8 __ovld __cnfn convert_ushort8_sat(half8);
  5762. ushort8 __ovld __cnfn convert_ushort8_sat_rte(half8);
  5763. ushort8 __ovld __cnfn convert_ushort8_sat_rtp(half8);
  5764. ushort8 __ovld __cnfn convert_ushort8_sat_rtn(half8);
  5765. ushort8 __ovld __cnfn convert_ushort8_sat_rtz(half8);
  5766. ushort16 __ovld __cnfn convert_ushort16(half16);
  5767. ushort16 __ovld __cnfn convert_ushort16_rte(half16);
  5768. ushort16 __ovld __cnfn convert_ushort16_rtp(half16);
  5769. ushort16 __ovld __cnfn convert_ushort16_rtn(half16);
  5770. ushort16 __ovld __cnfn convert_ushort16_rtz(half16);
  5771. ushort16 __ovld __cnfn convert_ushort16_sat(half16);
  5772. ushort16 __ovld __cnfn convert_ushort16_sat_rte(half16);
  5773. ushort16 __ovld __cnfn convert_ushort16_sat_rtp(half16);
  5774. ushort16 __ovld __cnfn convert_ushort16_sat_rtn(half16);
  5775. ushort16 __ovld __cnfn convert_ushort16_sat_rtz(half16);
  5776. uint __ovld __cnfn convert_uint(half);
  5777. uint __ovld __cnfn convert_uint_rte(half);
  5778. uint __ovld __cnfn convert_uint_rtp(half);
  5779. uint __ovld __cnfn convert_uint_rtn(half);
  5780. uint __ovld __cnfn convert_uint_rtz(half);
  5781. uint __ovld __cnfn convert_uint_sat(half);
  5782. uint __ovld __cnfn convert_uint_sat_rte(half);
  5783. uint __ovld __cnfn convert_uint_sat_rtp(half);
  5784. uint __ovld __cnfn convert_uint_sat_rtn(half);
  5785. uint __ovld __cnfn convert_uint_sat_rtz(half);
  5786. uint2 __ovld __cnfn convert_uint2(half2);
  5787. uint2 __ovld __cnfn convert_uint2_rte(half2);
  5788. uint2 __ovld __cnfn convert_uint2_rtp(half2);
  5789. uint2 __ovld __cnfn convert_uint2_rtn(half2);
  5790. uint2 __ovld __cnfn convert_uint2_rtz(half2);
  5791. uint2 __ovld __cnfn convert_uint2_sat(half2);
  5792. uint2 __ovld __cnfn convert_uint2_sat_rte(half2);
  5793. uint2 __ovld __cnfn convert_uint2_sat_rtp(half2);
  5794. uint2 __ovld __cnfn convert_uint2_sat_rtn(half2);
  5795. uint2 __ovld __cnfn convert_uint2_sat_rtz(half2);
  5796. uint3 __ovld __cnfn convert_uint3(half3);
  5797. uint3 __ovld __cnfn convert_uint3_rte(half3);
  5798. uint3 __ovld __cnfn convert_uint3_rtp(half3);
  5799. uint3 __ovld __cnfn convert_uint3_rtn(half3);
  5800. uint3 __ovld __cnfn convert_uint3_rtz(half3);
  5801. uint3 __ovld __cnfn convert_uint3_sat(half3);
  5802. uint3 __ovld __cnfn convert_uint3_sat_rte(half3);
  5803. uint3 __ovld __cnfn convert_uint3_sat_rtp(half3);
  5804. uint3 __ovld __cnfn convert_uint3_sat_rtn(half3);
  5805. uint3 __ovld __cnfn convert_uint3_sat_rtz(half3);
  5806. uint4 __ovld __cnfn convert_uint4(half4);
  5807. uint4 __ovld __cnfn convert_uint4_rte(half4);
  5808. uint4 __ovld __cnfn convert_uint4_rtp(half4);
  5809. uint4 __ovld __cnfn convert_uint4_rtn(half4);
  5810. uint4 __ovld __cnfn convert_uint4_rtz(half4);
  5811. uint4 __ovld __cnfn convert_uint4_sat(half4);
  5812. uint4 __ovld __cnfn convert_uint4_sat_rte(half4);
  5813. uint4 __ovld __cnfn convert_uint4_sat_rtp(half4);
  5814. uint4 __ovld __cnfn convert_uint4_sat_rtn(half4);
  5815. uint4 __ovld __cnfn convert_uint4_sat_rtz(half4);
  5816. uint8 __ovld __cnfn convert_uint8(half8);
  5817. uint8 __ovld __cnfn convert_uint8_rte(half8);
  5818. uint8 __ovld __cnfn convert_uint8_rtp(half8);
  5819. uint8 __ovld __cnfn convert_uint8_rtn(half8);
  5820. uint8 __ovld __cnfn convert_uint8_rtz(half8);
  5821. uint8 __ovld __cnfn convert_uint8_sat(half8);
  5822. uint8 __ovld __cnfn convert_uint8_sat_rte(half8);
  5823. uint8 __ovld __cnfn convert_uint8_sat_rtp(half8);
  5824. uint8 __ovld __cnfn convert_uint8_sat_rtn(half8);
  5825. uint8 __ovld __cnfn convert_uint8_sat_rtz(half8);
  5826. uint16 __ovld __cnfn convert_uint16(half16);
  5827. uint16 __ovld __cnfn convert_uint16_rte(half16);
  5828. uint16 __ovld __cnfn convert_uint16_rtp(half16);
  5829. uint16 __ovld __cnfn convert_uint16_rtn(half16);
  5830. uint16 __ovld __cnfn convert_uint16_rtz(half16);
  5831. uint16 __ovld __cnfn convert_uint16_sat(half16);
  5832. uint16 __ovld __cnfn convert_uint16_sat_rte(half16);
  5833. uint16 __ovld __cnfn convert_uint16_sat_rtp(half16);
  5834. uint16 __ovld __cnfn convert_uint16_sat_rtn(half16);
  5835. uint16 __ovld __cnfn convert_uint16_sat_rtz(half16);
  5836. ulong __ovld __cnfn convert_ulong(half);
  5837. ulong __ovld __cnfn convert_ulong_rte(half);
  5838. ulong __ovld __cnfn convert_ulong_rtp(half);
  5839. ulong __ovld __cnfn convert_ulong_rtn(half);
  5840. ulong __ovld __cnfn convert_ulong_rtz(half);
  5841. ulong __ovld __cnfn convert_ulong_sat(half);
  5842. ulong __ovld __cnfn convert_ulong_sat_rte(half);
  5843. ulong __ovld __cnfn convert_ulong_sat_rtp(half);
  5844. ulong __ovld __cnfn convert_ulong_sat_rtn(half);
  5845. ulong __ovld __cnfn convert_ulong_sat_rtz(half);
  5846. ulong2 __ovld __cnfn convert_ulong2(half2);
  5847. ulong2 __ovld __cnfn convert_ulong2_rte(half2);
  5848. ulong2 __ovld __cnfn convert_ulong2_rtp(half2);
  5849. ulong2 __ovld __cnfn convert_ulong2_rtn(half2);
  5850. ulong2 __ovld __cnfn convert_ulong2_rtz(half2);
  5851. ulong2 __ovld __cnfn convert_ulong2_sat(half2);
  5852. ulong2 __ovld __cnfn convert_ulong2_sat_rte(half2);
  5853. ulong2 __ovld __cnfn convert_ulong2_sat_rtp(half2);
  5854. ulong2 __ovld __cnfn convert_ulong2_sat_rtn(half2);
  5855. ulong2 __ovld __cnfn convert_ulong2_sat_rtz(half2);
  5856. ulong3 __ovld __cnfn convert_ulong3(half3);
  5857. ulong3 __ovld __cnfn convert_ulong3_rte(half3);
  5858. ulong3 __ovld __cnfn convert_ulong3_rtp(half3);
  5859. ulong3 __ovld __cnfn convert_ulong3_rtn(half3);
  5860. ulong3 __ovld __cnfn convert_ulong3_rtz(half3);
  5861. ulong3 __ovld __cnfn convert_ulong3_sat(half3);
  5862. ulong3 __ovld __cnfn convert_ulong3_sat_rte(half3);
  5863. ulong3 __ovld __cnfn convert_ulong3_sat_rtp(half3);
  5864. ulong3 __ovld __cnfn convert_ulong3_sat_rtn(half3);
  5865. ulong3 __ovld __cnfn convert_ulong3_sat_rtz(half3);
  5866. ulong4 __ovld __cnfn convert_ulong4(half4);
  5867. ulong4 __ovld __cnfn convert_ulong4_rte(half4);
  5868. ulong4 __ovld __cnfn convert_ulong4_rtp(half4);
  5869. ulong4 __ovld __cnfn convert_ulong4_rtn(half4);
  5870. ulong4 __ovld __cnfn convert_ulong4_rtz(half4);
  5871. ulong4 __ovld __cnfn convert_ulong4_sat(half4);
  5872. ulong4 __ovld __cnfn convert_ulong4_sat_rte(half4);
  5873. ulong4 __ovld __cnfn convert_ulong4_sat_rtp(half4);
  5874. ulong4 __ovld __cnfn convert_ulong4_sat_rtn(half4);
  5875. ulong4 __ovld __cnfn convert_ulong4_sat_rtz(half4);
  5876. ulong8 __ovld __cnfn convert_ulong8(half8);
  5877. ulong8 __ovld __cnfn convert_ulong8_rte(half8);
  5878. ulong8 __ovld __cnfn convert_ulong8_rtp(half8);
  5879. ulong8 __ovld __cnfn convert_ulong8_rtn(half8);
  5880. ulong8 __ovld __cnfn convert_ulong8_rtz(half8);
  5881. ulong8 __ovld __cnfn convert_ulong8_sat(half8);
  5882. ulong8 __ovld __cnfn convert_ulong8_sat_rte(half8);
  5883. ulong8 __ovld __cnfn convert_ulong8_sat_rtp(half8);
  5884. ulong8 __ovld __cnfn convert_ulong8_sat_rtn(half8);
  5885. ulong8 __ovld __cnfn convert_ulong8_sat_rtz(half8);
  5886. ulong16 __ovld __cnfn convert_ulong16(half16);
  5887. ulong16 __ovld __cnfn convert_ulong16_rte(half16);
  5888. ulong16 __ovld __cnfn convert_ulong16_rtp(half16);
  5889. ulong16 __ovld __cnfn convert_ulong16_rtn(half16);
  5890. ulong16 __ovld __cnfn convert_ulong16_rtz(half16);
  5891. ulong16 __ovld __cnfn convert_ulong16_sat(half16);
  5892. ulong16 __ovld __cnfn convert_ulong16_sat_rte(half16);
  5893. ulong16 __ovld __cnfn convert_ulong16_sat_rtp(half16);
  5894. ulong16 __ovld __cnfn convert_ulong16_sat_rtn(half16);
  5895. ulong16 __ovld __cnfn convert_ulong16_sat_rtz(half16);
  5896. char __ovld __cnfn convert_char(half);
  5897. char __ovld __cnfn convert_char_rte(half);
  5898. char __ovld __cnfn convert_char_rtp(half);
  5899. char __ovld __cnfn convert_char_rtn(half);
  5900. char __ovld __cnfn convert_char_rtz(half);
  5901. char __ovld __cnfn convert_char_sat(half);
  5902. char __ovld __cnfn convert_char_sat_rte(half);
  5903. char __ovld __cnfn convert_char_sat_rtp(half);
  5904. char __ovld __cnfn convert_char_sat_rtn(half);
  5905. char __ovld __cnfn convert_char_sat_rtz(half);
  5906. char2 __ovld __cnfn convert_char2(half2);
  5907. char2 __ovld __cnfn convert_char2_rte(half2);
  5908. char2 __ovld __cnfn convert_char2_rtp(half2);
  5909. char2 __ovld __cnfn convert_char2_rtn(half2);
  5910. char2 __ovld __cnfn convert_char2_rtz(half2);
  5911. char2 __ovld __cnfn convert_char2_sat(half2);
  5912. char2 __ovld __cnfn convert_char2_sat_rte(half2);
  5913. char2 __ovld __cnfn convert_char2_sat_rtp(half2);
  5914. char2 __ovld __cnfn convert_char2_sat_rtn(half2);
  5915. char2 __ovld __cnfn convert_char2_sat_rtz(half2);
  5916. char3 __ovld __cnfn convert_char3(half3);
  5917. char3 __ovld __cnfn convert_char3_rte(half3);
  5918. char3 __ovld __cnfn convert_char3_rtp(half3);
  5919. char3 __ovld __cnfn convert_char3_rtn(half3);
  5920. char3 __ovld __cnfn convert_char3_rtz(half3);
  5921. char3 __ovld __cnfn convert_char3_sat(half3);
  5922. char3 __ovld __cnfn convert_char3_sat_rte(half3);
  5923. char3 __ovld __cnfn convert_char3_sat_rtp(half3);
  5924. char3 __ovld __cnfn convert_char3_sat_rtn(half3);
  5925. char3 __ovld __cnfn convert_char3_sat_rtz(half3);
  5926. char4 __ovld __cnfn convert_char4(half4);
  5927. char4 __ovld __cnfn convert_char4_rte(half4);
  5928. char4 __ovld __cnfn convert_char4_rtp(half4);
  5929. char4 __ovld __cnfn convert_char4_rtn(half4);
  5930. char4 __ovld __cnfn convert_char4_rtz(half4);
  5931. char4 __ovld __cnfn convert_char4_sat(half4);
  5932. char4 __ovld __cnfn convert_char4_sat_rte(half4);
  5933. char4 __ovld __cnfn convert_char4_sat_rtp(half4);
  5934. char4 __ovld __cnfn convert_char4_sat_rtn(half4);
  5935. char4 __ovld __cnfn convert_char4_sat_rtz(half4);
  5936. char8 __ovld __cnfn convert_char8(half8);
  5937. char8 __ovld __cnfn convert_char8_rte(half8);
  5938. char8 __ovld __cnfn convert_char8_rtp(half8);
  5939. char8 __ovld __cnfn convert_char8_rtn(half8);
  5940. char8 __ovld __cnfn convert_char8_rtz(half8);
  5941. char8 __ovld __cnfn convert_char8_sat(half8);
  5942. char8 __ovld __cnfn convert_char8_sat_rte(half8);
  5943. char8 __ovld __cnfn convert_char8_sat_rtp(half8);
  5944. char8 __ovld __cnfn convert_char8_sat_rtn(half8);
  5945. char8 __ovld __cnfn convert_char8_sat_rtz(half8);
  5946. char16 __ovld __cnfn convert_char16(half16);
  5947. char16 __ovld __cnfn convert_char16_rte(half16);
  5948. char16 __ovld __cnfn convert_char16_rtp(half16);
  5949. char16 __ovld __cnfn convert_char16_rtn(half16);
  5950. char16 __ovld __cnfn convert_char16_rtz(half16);
  5951. char16 __ovld __cnfn convert_char16_sat(half16);
  5952. char16 __ovld __cnfn convert_char16_sat_rte(half16);
  5953. char16 __ovld __cnfn convert_char16_sat_rtp(half16);
  5954. char16 __ovld __cnfn convert_char16_sat_rtn(half16);
  5955. char16 __ovld __cnfn convert_char16_sat_rtz(half16);
  5956. short __ovld __cnfn convert_short(half);
  5957. short __ovld __cnfn convert_short_rte(half);
  5958. short __ovld __cnfn convert_short_rtp(half);
  5959. short __ovld __cnfn convert_short_rtn(half);
  5960. short __ovld __cnfn convert_short_rtz(half);
  5961. short __ovld __cnfn convert_short_sat(half);
  5962. short __ovld __cnfn convert_short_sat_rte(half);
  5963. short __ovld __cnfn convert_short_sat_rtp(half);
  5964. short __ovld __cnfn convert_short_sat_rtn(half);
  5965. short __ovld __cnfn convert_short_sat_rtz(half);
  5966. short2 __ovld __cnfn convert_short2(half2);
  5967. short2 __ovld __cnfn convert_short2_rte(half2);
  5968. short2 __ovld __cnfn convert_short2_rtp(half2);
  5969. short2 __ovld __cnfn convert_short2_rtn(half2);
  5970. short2 __ovld __cnfn convert_short2_rtz(half2);
  5971. short2 __ovld __cnfn convert_short2_sat(half2);
  5972. short2 __ovld __cnfn convert_short2_sat_rte(half2);
  5973. short2 __ovld __cnfn convert_short2_sat_rtp(half2);
  5974. short2 __ovld __cnfn convert_short2_sat_rtn(half2);
  5975. short2 __ovld __cnfn convert_short2_sat_rtz(half2);
  5976. short3 __ovld __cnfn convert_short3(half3);
  5977. short3 __ovld __cnfn convert_short3_rte(half3);
  5978. short3 __ovld __cnfn convert_short3_rtp(half3);
  5979. short3 __ovld __cnfn convert_short3_rtn(half3);
  5980. short3 __ovld __cnfn convert_short3_rtz(half3);
  5981. short3 __ovld __cnfn convert_short3_sat(half3);
  5982. short3 __ovld __cnfn convert_short3_sat_rte(half3);
  5983. short3 __ovld __cnfn convert_short3_sat_rtp(half3);
  5984. short3 __ovld __cnfn convert_short3_sat_rtn(half3);
  5985. short3 __ovld __cnfn convert_short3_sat_rtz(half3);
  5986. short4 __ovld __cnfn convert_short4(half4);
  5987. short4 __ovld __cnfn convert_short4_rte(half4);
  5988. short4 __ovld __cnfn convert_short4_rtp(half4);
  5989. short4 __ovld __cnfn convert_short4_rtn(half4);
  5990. short4 __ovld __cnfn convert_short4_rtz(half4);
  5991. short4 __ovld __cnfn convert_short4_sat(half4);
  5992. short4 __ovld __cnfn convert_short4_sat_rte(half4);
  5993. short4 __ovld __cnfn convert_short4_sat_rtp(half4);
  5994. short4 __ovld __cnfn convert_short4_sat_rtn(half4);
  5995. short4 __ovld __cnfn convert_short4_sat_rtz(half4);
  5996. short8 __ovld __cnfn convert_short8(half8);
  5997. short8 __ovld __cnfn convert_short8_rte(half8);
  5998. short8 __ovld __cnfn convert_short8_rtp(half8);
  5999. short8 __ovld __cnfn convert_short8_rtn(half8);
  6000. short8 __ovld __cnfn convert_short8_rtz(half8);
  6001. short8 __ovld __cnfn convert_short8_sat(half8);
  6002. short8 __ovld __cnfn convert_short8_sat_rte(half8);
  6003. short8 __ovld __cnfn convert_short8_sat_rtp(half8);
  6004. short8 __ovld __cnfn convert_short8_sat_rtn(half8);
  6005. short8 __ovld __cnfn convert_short8_sat_rtz(half8);
  6006. short16 __ovld __cnfn convert_short16(half16);
  6007. short16 __ovld __cnfn convert_short16_rte(half16);
  6008. short16 __ovld __cnfn convert_short16_rtp(half16);
  6009. short16 __ovld __cnfn convert_short16_rtn(half16);
  6010. short16 __ovld __cnfn convert_short16_rtz(half16);
  6011. short16 __ovld __cnfn convert_short16_sat(half16);
  6012. short16 __ovld __cnfn convert_short16_sat_rte(half16);
  6013. short16 __ovld __cnfn convert_short16_sat_rtp(half16);
  6014. short16 __ovld __cnfn convert_short16_sat_rtn(half16);
  6015. short16 __ovld __cnfn convert_short16_sat_rtz(half16);
  6016. int __ovld __cnfn convert_int(half);
  6017. int __ovld __cnfn convert_int_rte(half);
  6018. int __ovld __cnfn convert_int_rtp(half);
  6019. int __ovld __cnfn convert_int_rtn(half);
  6020. int __ovld __cnfn convert_int_rtz(half);
  6021. int __ovld __cnfn convert_int_sat(half);
  6022. int __ovld __cnfn convert_int_sat_rte(half);
  6023. int __ovld __cnfn convert_int_sat_rtp(half);
  6024. int __ovld __cnfn convert_int_sat_rtn(half);
  6025. int __ovld __cnfn convert_int_sat_rtz(half);
  6026. int2 __ovld __cnfn convert_int2(half2);
  6027. int2 __ovld __cnfn convert_int2_rte(half2);
  6028. int2 __ovld __cnfn convert_int2_rtp(half2);
  6029. int2 __ovld __cnfn convert_int2_rtn(half2);
  6030. int2 __ovld __cnfn convert_int2_rtz(half2);
  6031. int2 __ovld __cnfn convert_int2_sat(half2);
  6032. int2 __ovld __cnfn convert_int2_sat_rte(half2);
  6033. int2 __ovld __cnfn convert_int2_sat_rtp(half2);
  6034. int2 __ovld __cnfn convert_int2_sat_rtn(half2);
  6035. int2 __ovld __cnfn convert_int2_sat_rtz(half2);
  6036. int3 __ovld __cnfn convert_int3(half3);
  6037. int3 __ovld __cnfn convert_int3_rte(half3);
  6038. int3 __ovld __cnfn convert_int3_rtp(half3);
  6039. int3 __ovld __cnfn convert_int3_rtn(half3);
  6040. int3 __ovld __cnfn convert_int3_rtz(half3);
  6041. int3 __ovld __cnfn convert_int3_sat(half3);
  6042. int3 __ovld __cnfn convert_int3_sat_rte(half3);
  6043. int3 __ovld __cnfn convert_int3_sat_rtp(half3);
  6044. int3 __ovld __cnfn convert_int3_sat_rtn(half3);
  6045. int3 __ovld __cnfn convert_int3_sat_rtz(half3);
  6046. int4 __ovld __cnfn convert_int4(half4);
  6047. int4 __ovld __cnfn convert_int4_rte(half4);
  6048. int4 __ovld __cnfn convert_int4_rtp(half4);
  6049. int4 __ovld __cnfn convert_int4_rtn(half4);
  6050. int4 __ovld __cnfn convert_int4_rtz(half4);
  6051. int4 __ovld __cnfn convert_int4_sat(half4);
  6052. int4 __ovld __cnfn convert_int4_sat_rte(half4);
  6053. int4 __ovld __cnfn convert_int4_sat_rtp(half4);
  6054. int4 __ovld __cnfn convert_int4_sat_rtn(half4);
  6055. int4 __ovld __cnfn convert_int4_sat_rtz(half4);
  6056. int8 __ovld __cnfn convert_int8(half8);
  6057. int8 __ovld __cnfn convert_int8_rte(half8);
  6058. int8 __ovld __cnfn convert_int8_rtp(half8);
  6059. int8 __ovld __cnfn convert_int8_rtn(half8);
  6060. int8 __ovld __cnfn convert_int8_rtz(half8);
  6061. int8 __ovld __cnfn convert_int8_sat(half8);
  6062. int8 __ovld __cnfn convert_int8_sat_rte(half8);
  6063. int8 __ovld __cnfn convert_int8_sat_rtp(half8);
  6064. int8 __ovld __cnfn convert_int8_sat_rtn(half8);
  6065. int8 __ovld __cnfn convert_int8_sat_rtz(half8);
  6066. int16 __ovld __cnfn convert_int16(half16);
  6067. int16 __ovld __cnfn convert_int16_rte(half16);
  6068. int16 __ovld __cnfn convert_int16_rtp(half16);
  6069. int16 __ovld __cnfn convert_int16_rtn(half16);
  6070. int16 __ovld __cnfn convert_int16_rtz(half16);
  6071. int16 __ovld __cnfn convert_int16_sat(half16);
  6072. int16 __ovld __cnfn convert_int16_sat_rte(half16);
  6073. int16 __ovld __cnfn convert_int16_sat_rtp(half16);
  6074. int16 __ovld __cnfn convert_int16_sat_rtn(half16);
  6075. int16 __ovld __cnfn convert_int16_sat_rtz(half16);
  6076. long __ovld __cnfn convert_long(half);
  6077. long __ovld __cnfn convert_long_rte(half);
  6078. long __ovld __cnfn convert_long_rtp(half);
  6079. long __ovld __cnfn convert_long_rtn(half);
  6080. long __ovld __cnfn convert_long_rtz(half);
  6081. long __ovld __cnfn convert_long_sat(half);
  6082. long __ovld __cnfn convert_long_sat_rte(half);
  6083. long __ovld __cnfn convert_long_sat_rtp(half);
  6084. long __ovld __cnfn convert_long_sat_rtn(half);
  6085. long __ovld __cnfn convert_long_sat_rtz(half);
  6086. long2 __ovld __cnfn convert_long2(half2);
  6087. long2 __ovld __cnfn convert_long2_rte(half2);
  6088. long2 __ovld __cnfn convert_long2_rtp(half2);
  6089. long2 __ovld __cnfn convert_long2_rtn(half2);
  6090. long2 __ovld __cnfn convert_long2_rtz(half2);
  6091. long2 __ovld __cnfn convert_long2_sat(half2);
  6092. long2 __ovld __cnfn convert_long2_sat_rte(half2);
  6093. long2 __ovld __cnfn convert_long2_sat_rtp(half2);
  6094. long2 __ovld __cnfn convert_long2_sat_rtn(half2);
  6095. long2 __ovld __cnfn convert_long2_sat_rtz(half2);
  6096. long3 __ovld __cnfn convert_long3(half3);
  6097. long3 __ovld __cnfn convert_long3_rte(half3);
  6098. long3 __ovld __cnfn convert_long3_rtp(half3);
  6099. long3 __ovld __cnfn convert_long3_rtn(half3);
  6100. long3 __ovld __cnfn convert_long3_rtz(half3);
  6101. long3 __ovld __cnfn convert_long3_sat(half3);
  6102. long3 __ovld __cnfn convert_long3_sat_rte(half3);
  6103. long3 __ovld __cnfn convert_long3_sat_rtp(half3);
  6104. long3 __ovld __cnfn convert_long3_sat_rtn(half3);
  6105. long3 __ovld __cnfn convert_long3_sat_rtz(half3);
  6106. long4 __ovld __cnfn convert_long4(half4);
  6107. long4 __ovld __cnfn convert_long4_rte(half4);
  6108. long4 __ovld __cnfn convert_long4_rtp(half4);
  6109. long4 __ovld __cnfn convert_long4_rtn(half4);
  6110. long4 __ovld __cnfn convert_long4_rtz(half4);
  6111. long4 __ovld __cnfn convert_long4_sat(half4);
  6112. long4 __ovld __cnfn convert_long4_sat_rte(half4);
  6113. long4 __ovld __cnfn convert_long4_sat_rtp(half4);
  6114. long4 __ovld __cnfn convert_long4_sat_rtn(half4);
  6115. long4 __ovld __cnfn convert_long4_sat_rtz(half4);
  6116. long8 __ovld __cnfn convert_long8(half8);
  6117. long8 __ovld __cnfn convert_long8_rte(half8);
  6118. long8 __ovld __cnfn convert_long8_rtp(half8);
  6119. long8 __ovld __cnfn convert_long8_rtn(half8);
  6120. long8 __ovld __cnfn convert_long8_rtz(half8);
  6121. long8 __ovld __cnfn convert_long8_sat(half8);
  6122. long8 __ovld __cnfn convert_long8_sat_rte(half8);
  6123. long8 __ovld __cnfn convert_long8_sat_rtp(half8);
  6124. long8 __ovld __cnfn convert_long8_sat_rtn(half8);
  6125. long8 __ovld __cnfn convert_long8_sat_rtz(half8);
  6126. long16 __ovld __cnfn convert_long16(half16);
  6127. long16 __ovld __cnfn convert_long16_rte(half16);
  6128. long16 __ovld __cnfn convert_long16_rtp(half16);
  6129. long16 __ovld __cnfn convert_long16_rtn(half16);
  6130. long16 __ovld __cnfn convert_long16_rtz(half16);
  6131. long16 __ovld __cnfn convert_long16_sat(half16);
  6132. long16 __ovld __cnfn convert_long16_sat_rte(half16);
  6133. long16 __ovld __cnfn convert_long16_sat_rtp(half16);
  6134. long16 __ovld __cnfn convert_long16_sat_rtn(half16);
  6135. long16 __ovld __cnfn convert_long16_sat_rtz(half16);
  6136. float __ovld __cnfn convert_float(half);
  6137. float __ovld __cnfn convert_float_rte(half);
  6138. float __ovld __cnfn convert_float_rtp(half);
  6139. float __ovld __cnfn convert_float_rtn(half);
  6140. float __ovld __cnfn convert_float_rtz(half);
  6141. float2 __ovld __cnfn convert_float2(half2);
  6142. float2 __ovld __cnfn convert_float2_rte(half2);
  6143. float2 __ovld __cnfn convert_float2_rtp(half2);
  6144. float2 __ovld __cnfn convert_float2_rtn(half2);
  6145. float2 __ovld __cnfn convert_float2_rtz(half2);
  6146. float3 __ovld __cnfn convert_float3(half3);
  6147. float3 __ovld __cnfn convert_float3_rte(half3);
  6148. float3 __ovld __cnfn convert_float3_rtp(half3);
  6149. float3 __ovld __cnfn convert_float3_rtn(half3);
  6150. float3 __ovld __cnfn convert_float3_rtz(half3);
  6151. float4 __ovld __cnfn convert_float4(half4);
  6152. float4 __ovld __cnfn convert_float4_rte(half4);
  6153. float4 __ovld __cnfn convert_float4_rtp(half4);
  6154. float4 __ovld __cnfn convert_float4_rtn(half4);
  6155. float4 __ovld __cnfn convert_float4_rtz(half4);
  6156. float8 __ovld __cnfn convert_float8(half8);
  6157. float8 __ovld __cnfn convert_float8_rte(half8);
  6158. float8 __ovld __cnfn convert_float8_rtp(half8);
  6159. float8 __ovld __cnfn convert_float8_rtn(half8);
  6160. float8 __ovld __cnfn convert_float8_rtz(half8);
  6161. float16 __ovld __cnfn convert_float16(half16);
  6162. float16 __ovld __cnfn convert_float16_rte(half16);
  6163. float16 __ovld __cnfn convert_float16_rtp(half16);
  6164. float16 __ovld __cnfn convert_float16_rtn(half16);
  6165. float16 __ovld __cnfn convert_float16_rtz(half16);
  6166. // Convert non-double types to half types.
  6167. half __ovld __cnfn convert_half(uchar);
  6168. half __ovld __cnfn convert_half(ushort);
  6169. half __ovld __cnfn convert_half(uint);
  6170. half __ovld __cnfn convert_half(ulong);
  6171. half __ovld __cnfn convert_half(char);
  6172. half __ovld __cnfn convert_half(short);
  6173. half __ovld __cnfn convert_half(int);
  6174. half __ovld __cnfn convert_half(long);
  6175. half __ovld __cnfn convert_half(float);
  6176. half __ovld __cnfn convert_half(half);
  6177. half __ovld __cnfn convert_half_rte(uchar);
  6178. half __ovld __cnfn convert_half_rte(ushort);
  6179. half __ovld __cnfn convert_half_rte(uint);
  6180. half __ovld __cnfn convert_half_rte(ulong);
  6181. half __ovld __cnfn convert_half_rte(char);
  6182. half __ovld __cnfn convert_half_rte(short);
  6183. half __ovld __cnfn convert_half_rte(int);
  6184. half __ovld __cnfn convert_half_rte(long);
  6185. half __ovld __cnfn convert_half_rte(float);
  6186. half __ovld __cnfn convert_half_rte(half);
  6187. half __ovld __cnfn convert_half_rtp(uchar);
  6188. half __ovld __cnfn convert_half_rtp(ushort);
  6189. half __ovld __cnfn convert_half_rtp(uint);
  6190. half __ovld __cnfn convert_half_rtp(ulong);
  6191. half __ovld __cnfn convert_half_rtp(char);
  6192. half __ovld __cnfn convert_half_rtp(short);
  6193. half __ovld __cnfn convert_half_rtp(int);
  6194. half __ovld __cnfn convert_half_rtp(long);
  6195. half __ovld __cnfn convert_half_rtp(float);
  6196. half __ovld __cnfn convert_half_rtp(half);
  6197. half __ovld __cnfn convert_half_rtn(uchar);
  6198. half __ovld __cnfn convert_half_rtn(ushort);
  6199. half __ovld __cnfn convert_half_rtn(uint);
  6200. half __ovld __cnfn convert_half_rtn(ulong);
  6201. half __ovld __cnfn convert_half_rtn(char);
  6202. half __ovld __cnfn convert_half_rtn(short);
  6203. half __ovld __cnfn convert_half_rtn(int);
  6204. half __ovld __cnfn convert_half_rtn(long);
  6205. half __ovld __cnfn convert_half_rtn(float);
  6206. half __ovld __cnfn convert_half_rtn(half);
  6207. half __ovld __cnfn convert_half_rtz(uchar);
  6208. half __ovld __cnfn convert_half_rtz(ushort);
  6209. half __ovld __cnfn convert_half_rtz(uint);
  6210. half __ovld __cnfn convert_half_rtz(ulong);
  6211. half __ovld __cnfn convert_half_rtz(char);
  6212. half __ovld __cnfn convert_half_rtz(short);
  6213. half __ovld __cnfn convert_half_rtz(int);
  6214. half __ovld __cnfn convert_half_rtz(long);
  6215. half __ovld __cnfn convert_half_rtz(float);
  6216. half __ovld __cnfn convert_half_rtz(half);
  6217. half2 __ovld __cnfn convert_half2(char2);
  6218. half2 __ovld __cnfn convert_half2(uchar2);
  6219. half2 __ovld __cnfn convert_half2(short2);
  6220. half2 __ovld __cnfn convert_half2(ushort2);
  6221. half2 __ovld __cnfn convert_half2(int2);
  6222. half2 __ovld __cnfn convert_half2(uint2);
  6223. half2 __ovld __cnfn convert_half2(long2);
  6224. half2 __ovld __cnfn convert_half2(ulong2);
  6225. half2 __ovld __cnfn convert_half2(float2);
  6226. half2 __ovld __cnfn convert_half2(half2);
  6227. half2 __ovld __cnfn convert_half2_rte(char2);
  6228. half2 __ovld __cnfn convert_half2_rte(uchar2);
  6229. half2 __ovld __cnfn convert_half2_rte(short2);
  6230. half2 __ovld __cnfn convert_half2_rte(ushort2);
  6231. half2 __ovld __cnfn convert_half2_rte(int2);
  6232. half2 __ovld __cnfn convert_half2_rte(uint2);
  6233. half2 __ovld __cnfn convert_half2_rte(long2);
  6234. half2 __ovld __cnfn convert_half2_rte(ulong2);
  6235. half2 __ovld __cnfn convert_half2_rte(float2);
  6236. half2 __ovld __cnfn convert_half2_rte(half2);
  6237. half2 __ovld __cnfn convert_half2_rtp(char2);
  6238. half2 __ovld __cnfn convert_half2_rtp(uchar2);
  6239. half2 __ovld __cnfn convert_half2_rtp(short2);
  6240. half2 __ovld __cnfn convert_half2_rtp(ushort2);
  6241. half2 __ovld __cnfn convert_half2_rtp(int2);
  6242. half2 __ovld __cnfn convert_half2_rtp(uint2);
  6243. half2 __ovld __cnfn convert_half2_rtp(long2);
  6244. half2 __ovld __cnfn convert_half2_rtp(ulong2);
  6245. half2 __ovld __cnfn convert_half2_rtp(float2);
  6246. half2 __ovld __cnfn convert_half2_rtp(half2);
  6247. half2 __ovld __cnfn convert_half2_rtn(char2);
  6248. half2 __ovld __cnfn convert_half2_rtn(uchar2);
  6249. half2 __ovld __cnfn convert_half2_rtn(short2);
  6250. half2 __ovld __cnfn convert_half2_rtn(ushort2);
  6251. half2 __ovld __cnfn convert_half2_rtn(int2);
  6252. half2 __ovld __cnfn convert_half2_rtn(uint2);
  6253. half2 __ovld __cnfn convert_half2_rtn(long2);
  6254. half2 __ovld __cnfn convert_half2_rtn(ulong2);
  6255. half2 __ovld __cnfn convert_half2_rtn(float2);
  6256. half2 __ovld __cnfn convert_half2_rtn(half2);
  6257. half2 __ovld __cnfn convert_half2_rtz(char2);
  6258. half2 __ovld __cnfn convert_half2_rtz(uchar2);
  6259. half2 __ovld __cnfn convert_half2_rtz(short2);
  6260. half2 __ovld __cnfn convert_half2_rtz(ushort2);
  6261. half2 __ovld __cnfn convert_half2_rtz(int2);
  6262. half2 __ovld __cnfn convert_half2_rtz(uint2);
  6263. half2 __ovld __cnfn convert_half2_rtz(long2);
  6264. half2 __ovld __cnfn convert_half2_rtz(ulong2);
  6265. half2 __ovld __cnfn convert_half2_rtz(float2);
  6266. half2 __ovld __cnfn convert_half2_rtz(half2);
  6267. half3 __ovld __cnfn convert_half3(char3);
  6268. half3 __ovld __cnfn convert_half3(uchar3);
  6269. half3 __ovld __cnfn convert_half3(short3);
  6270. half3 __ovld __cnfn convert_half3(ushort3);
  6271. half3 __ovld __cnfn convert_half3(int3);
  6272. half3 __ovld __cnfn convert_half3(uint3);
  6273. half3 __ovld __cnfn convert_half3(long3);
  6274. half3 __ovld __cnfn convert_half3(ulong3);
  6275. half3 __ovld __cnfn convert_half3(float3);
  6276. half3 __ovld __cnfn convert_half3(half3);
  6277. half3 __ovld __cnfn convert_half3_rte(char3);
  6278. half3 __ovld __cnfn convert_half3_rte(uchar3);
  6279. half3 __ovld __cnfn convert_half3_rte(short3);
  6280. half3 __ovld __cnfn convert_half3_rte(ushort3);
  6281. half3 __ovld __cnfn convert_half3_rte(int3);
  6282. half3 __ovld __cnfn convert_half3_rte(uint3);
  6283. half3 __ovld __cnfn convert_half3_rte(long3);
  6284. half3 __ovld __cnfn convert_half3_rte(ulong3);
  6285. half3 __ovld __cnfn convert_half3_rte(float3);
  6286. half3 __ovld __cnfn convert_half3_rte(half3);
  6287. half3 __ovld __cnfn convert_half3_rtp(char3);
  6288. half3 __ovld __cnfn convert_half3_rtp(uchar3);
  6289. half3 __ovld __cnfn convert_half3_rtp(short3);
  6290. half3 __ovld __cnfn convert_half3_rtp(ushort3);
  6291. half3 __ovld __cnfn convert_half3_rtp(int3);
  6292. half3 __ovld __cnfn convert_half3_rtp(uint3);
  6293. half3 __ovld __cnfn convert_half3_rtp(long3);
  6294. half3 __ovld __cnfn convert_half3_rtp(ulong3);
  6295. half3 __ovld __cnfn convert_half3_rtp(float3);
  6296. half3 __ovld __cnfn convert_half3_rtp(half3);
  6297. half3 __ovld __cnfn convert_half3_rtn(char3);
  6298. half3 __ovld __cnfn convert_half3_rtn(uchar3);
  6299. half3 __ovld __cnfn convert_half3_rtn(short3);
  6300. half3 __ovld __cnfn convert_half3_rtn(ushort3);
  6301. half3 __ovld __cnfn convert_half3_rtn(int3);
  6302. half3 __ovld __cnfn convert_half3_rtn(uint3);
  6303. half3 __ovld __cnfn convert_half3_rtn(long3);
  6304. half3 __ovld __cnfn convert_half3_rtn(ulong3);
  6305. half3 __ovld __cnfn convert_half3_rtn(float3);
  6306. half3 __ovld __cnfn convert_half3_rtn(half3);
  6307. half3 __ovld __cnfn convert_half3_rtz(char3);
  6308. half3 __ovld __cnfn convert_half3_rtz(uchar3);
  6309. half3 __ovld __cnfn convert_half3_rtz(short3);
  6310. half3 __ovld __cnfn convert_half3_rtz(ushort3);
  6311. half3 __ovld __cnfn convert_half3_rtz(int3);
  6312. half3 __ovld __cnfn convert_half3_rtz(uint3);
  6313. half3 __ovld __cnfn convert_half3_rtz(long3);
  6314. half3 __ovld __cnfn convert_half3_rtz(ulong3);
  6315. half3 __ovld __cnfn convert_half3_rtz(float3);
  6316. half3 __ovld __cnfn convert_half3_rtz(half3);
  6317. half4 __ovld __cnfn convert_half4(char4);
  6318. half4 __ovld __cnfn convert_half4(uchar4);
  6319. half4 __ovld __cnfn convert_half4(short4);
  6320. half4 __ovld __cnfn convert_half4(ushort4);
  6321. half4 __ovld __cnfn convert_half4(int4);
  6322. half4 __ovld __cnfn convert_half4(uint4);
  6323. half4 __ovld __cnfn convert_half4(long4);
  6324. half4 __ovld __cnfn convert_half4(ulong4);
  6325. half4 __ovld __cnfn convert_half4(float4);
  6326. half4 __ovld __cnfn convert_half4(half4);
  6327. half4 __ovld __cnfn convert_half4_rte(char4);
  6328. half4 __ovld __cnfn convert_half4_rte(uchar4);
  6329. half4 __ovld __cnfn convert_half4_rte(short4);
  6330. half4 __ovld __cnfn convert_half4_rte(ushort4);
  6331. half4 __ovld __cnfn convert_half4_rte(int4);
  6332. half4 __ovld __cnfn convert_half4_rte(uint4);
  6333. half4 __ovld __cnfn convert_half4_rte(long4);
  6334. half4 __ovld __cnfn convert_half4_rte(ulong4);
  6335. half4 __ovld __cnfn convert_half4_rte(float4);
  6336. half4 __ovld __cnfn convert_half4_rte(half4);
  6337. half4 __ovld __cnfn convert_half4_rtp(char4);
  6338. half4 __ovld __cnfn convert_half4_rtp(uchar4);
  6339. half4 __ovld __cnfn convert_half4_rtp(short4);
  6340. half4 __ovld __cnfn convert_half4_rtp(ushort4);
  6341. half4 __ovld __cnfn convert_half4_rtp(int4);
  6342. half4 __ovld __cnfn convert_half4_rtp(uint4);
  6343. half4 __ovld __cnfn convert_half4_rtp(long4);
  6344. half4 __ovld __cnfn convert_half4_rtp(ulong4);
  6345. half4 __ovld __cnfn convert_half4_rtp(float4);
  6346. half4 __ovld __cnfn convert_half4_rtp(half4);
  6347. half4 __ovld __cnfn convert_half4_rtn(char4);
  6348. half4 __ovld __cnfn convert_half4_rtn(uchar4);
  6349. half4 __ovld __cnfn convert_half4_rtn(short4);
  6350. half4 __ovld __cnfn convert_half4_rtn(ushort4);
  6351. half4 __ovld __cnfn convert_half4_rtn(int4);
  6352. half4 __ovld __cnfn convert_half4_rtn(uint4);
  6353. half4 __ovld __cnfn convert_half4_rtn(long4);
  6354. half4 __ovld __cnfn convert_half4_rtn(ulong4);
  6355. half4 __ovld __cnfn convert_half4_rtn(float4);
  6356. half4 __ovld __cnfn convert_half4_rtn(half4);
  6357. half4 __ovld __cnfn convert_half4_rtz(char4);
  6358. half4 __ovld __cnfn convert_half4_rtz(uchar4);
  6359. half4 __ovld __cnfn convert_half4_rtz(short4);
  6360. half4 __ovld __cnfn convert_half4_rtz(ushort4);
  6361. half4 __ovld __cnfn convert_half4_rtz(int4);
  6362. half4 __ovld __cnfn convert_half4_rtz(uint4);
  6363. half4 __ovld __cnfn convert_half4_rtz(long4);
  6364. half4 __ovld __cnfn convert_half4_rtz(ulong4);
  6365. half4 __ovld __cnfn convert_half4_rtz(float4);
  6366. half4 __ovld __cnfn convert_half4_rtz(half4);
  6367. half8 __ovld __cnfn convert_half8(char8);
  6368. half8 __ovld __cnfn convert_half8(uchar8);
  6369. half8 __ovld __cnfn convert_half8(short8);
  6370. half8 __ovld __cnfn convert_half8(ushort8);
  6371. half8 __ovld __cnfn convert_half8(int8);
  6372. half8 __ovld __cnfn convert_half8(uint8);
  6373. half8 __ovld __cnfn convert_half8(long8);
  6374. half8 __ovld __cnfn convert_half8(ulong8);
  6375. half8 __ovld __cnfn convert_half8(float8);
  6376. half8 __ovld __cnfn convert_half8(half8);
  6377. half8 __ovld __cnfn convert_half8_rte(char8);
  6378. half8 __ovld __cnfn convert_half8_rte(uchar8);
  6379. half8 __ovld __cnfn convert_half8_rte(short8);
  6380. half8 __ovld __cnfn convert_half8_rte(ushort8);
  6381. half8 __ovld __cnfn convert_half8_rte(int8);
  6382. half8 __ovld __cnfn convert_half8_rte(uint8);
  6383. half8 __ovld __cnfn convert_half8_rte(long8);
  6384. half8 __ovld __cnfn convert_half8_rte(ulong8);
  6385. half8 __ovld __cnfn convert_half8_rte(float8);
  6386. half8 __ovld __cnfn convert_half8_rte(half8);
  6387. half8 __ovld __cnfn convert_half8_rtp(char8);
  6388. half8 __ovld __cnfn convert_half8_rtp(uchar8);
  6389. half8 __ovld __cnfn convert_half8_rtp(short8);
  6390. half8 __ovld __cnfn convert_half8_rtp(ushort8);
  6391. half8 __ovld __cnfn convert_half8_rtp(int8);
  6392. half8 __ovld __cnfn convert_half8_rtp(uint8);
  6393. half8 __ovld __cnfn convert_half8_rtp(long8);
  6394. half8 __ovld __cnfn convert_half8_rtp(ulong8);
  6395. half8 __ovld __cnfn convert_half8_rtp(float8);
  6396. half8 __ovld __cnfn convert_half8_rtp(half8);
  6397. half8 __ovld __cnfn convert_half8_rtn(char8);
  6398. half8 __ovld __cnfn convert_half8_rtn(uchar8);
  6399. half8 __ovld __cnfn convert_half8_rtn(short8);
  6400. half8 __ovld __cnfn convert_half8_rtn(ushort8);
  6401. half8 __ovld __cnfn convert_half8_rtn(int8);
  6402. half8 __ovld __cnfn convert_half8_rtn(uint8);
  6403. half8 __ovld __cnfn convert_half8_rtn(long8);
  6404. half8 __ovld __cnfn convert_half8_rtn(ulong8);
  6405. half8 __ovld __cnfn convert_half8_rtn(float8);
  6406. half8 __ovld __cnfn convert_half8_rtn(half8);
  6407. half8 __ovld __cnfn convert_half8_rtz(char8);
  6408. half8 __ovld __cnfn convert_half8_rtz(uchar8);
  6409. half8 __ovld __cnfn convert_half8_rtz(short8);
  6410. half8 __ovld __cnfn convert_half8_rtz(ushort8);
  6411. half8 __ovld __cnfn convert_half8_rtz(int8);
  6412. half8 __ovld __cnfn convert_half8_rtz(uint8);
  6413. half8 __ovld __cnfn convert_half8_rtz(long8);
  6414. half8 __ovld __cnfn convert_half8_rtz(ulong8);
  6415. half8 __ovld __cnfn convert_half8_rtz(float8);
  6416. half8 __ovld __cnfn convert_half8_rtz(half8);
  6417. half16 __ovld __cnfn convert_half16(char16);
  6418. half16 __ovld __cnfn convert_half16(uchar16);
  6419. half16 __ovld __cnfn convert_half16(short16);
  6420. half16 __ovld __cnfn convert_half16(ushort16);
  6421. half16 __ovld __cnfn convert_half16(int16);
  6422. half16 __ovld __cnfn convert_half16(uint16);
  6423. half16 __ovld __cnfn convert_half16(long16);
  6424. half16 __ovld __cnfn convert_half16(ulong16);
  6425. half16 __ovld __cnfn convert_half16(float16);
  6426. half16 __ovld __cnfn convert_half16(half16);
  6427. half16 __ovld __cnfn convert_half16_rte(char16);
  6428. half16 __ovld __cnfn convert_half16_rte(uchar16);
  6429. half16 __ovld __cnfn convert_half16_rte(short16);
  6430. half16 __ovld __cnfn convert_half16_rte(ushort16);
  6431. half16 __ovld __cnfn convert_half16_rte(int16);
  6432. half16 __ovld __cnfn convert_half16_rte(uint16);
  6433. half16 __ovld __cnfn convert_half16_rte(long16);
  6434. half16 __ovld __cnfn convert_half16_rte(ulong16);
  6435. half16 __ovld __cnfn convert_half16_rte(float16);
  6436. half16 __ovld __cnfn convert_half16_rte(half16);
  6437. half16 __ovld __cnfn convert_half16_rtp(char16);
  6438. half16 __ovld __cnfn convert_half16_rtp(uchar16);
  6439. half16 __ovld __cnfn convert_half16_rtp(short16);
  6440. half16 __ovld __cnfn convert_half16_rtp(ushort16);
  6441. half16 __ovld __cnfn convert_half16_rtp(int16);
  6442. half16 __ovld __cnfn convert_half16_rtp(uint16);
  6443. half16 __ovld __cnfn convert_half16_rtp(long16);
  6444. half16 __ovld __cnfn convert_half16_rtp(ulong16);
  6445. half16 __ovld __cnfn convert_half16_rtp(float16);
  6446. half16 __ovld __cnfn convert_half16_rtp(half16);
  6447. half16 __ovld __cnfn convert_half16_rtn(char16);
  6448. half16 __ovld __cnfn convert_half16_rtn(uchar16);
  6449. half16 __ovld __cnfn convert_half16_rtn(short16);
  6450. half16 __ovld __cnfn convert_half16_rtn(ushort16);
  6451. half16 __ovld __cnfn convert_half16_rtn(int16);
  6452. half16 __ovld __cnfn convert_half16_rtn(uint16);
  6453. half16 __ovld __cnfn convert_half16_rtn(long16);
  6454. half16 __ovld __cnfn convert_half16_rtn(ulong16);
  6455. half16 __ovld __cnfn convert_half16_rtn(float16);
  6456. half16 __ovld __cnfn convert_half16_rtn(half16);
  6457. half16 __ovld __cnfn convert_half16_rtz(char16);
  6458. half16 __ovld __cnfn convert_half16_rtz(uchar16);
  6459. half16 __ovld __cnfn convert_half16_rtz(short16);
  6460. half16 __ovld __cnfn convert_half16_rtz(ushort16);
  6461. half16 __ovld __cnfn convert_half16_rtz(int16);
  6462. half16 __ovld __cnfn convert_half16_rtz(uint16);
  6463. half16 __ovld __cnfn convert_half16_rtz(long16);
  6464. half16 __ovld __cnfn convert_half16_rtz(ulong16);
  6465. half16 __ovld __cnfn convert_half16_rtz(float16);
  6466. half16 __ovld __cnfn convert_half16_rtz(half16);
  6467. // Convert half types to double types.
  6468. #ifdef cl_khr_fp64
  6469. double __ovld __cnfn convert_double(half);
  6470. double __ovld __cnfn convert_double_rte(half);
  6471. double __ovld __cnfn convert_double_rtp(half);
  6472. double __ovld __cnfn convert_double_rtn(half);
  6473. double __ovld __cnfn convert_double_rtz(half);
  6474. double2 __ovld __cnfn convert_double2(half2);
  6475. double2 __ovld __cnfn convert_double2_rte(half2);
  6476. double2 __ovld __cnfn convert_double2_rtp(half2);
  6477. double2 __ovld __cnfn convert_double2_rtn(half2);
  6478. double2 __ovld __cnfn convert_double2_rtz(half2);
  6479. double3 __ovld __cnfn convert_double3(half3);
  6480. double3 __ovld __cnfn convert_double3_rte(half3);
  6481. double3 __ovld __cnfn convert_double3_rtp(half3);
  6482. double3 __ovld __cnfn convert_double3_rtn(half3);
  6483. double3 __ovld __cnfn convert_double3_rtz(half3);
  6484. double4 __ovld __cnfn convert_double4(half4);
  6485. double4 __ovld __cnfn convert_double4_rte(half4);
  6486. double4 __ovld __cnfn convert_double4_rtp(half4);
  6487. double4 __ovld __cnfn convert_double4_rtn(half4);
  6488. double4 __ovld __cnfn convert_double4_rtz(half4);
  6489. double8 __ovld __cnfn convert_double8(half8);
  6490. double8 __ovld __cnfn convert_double8_rte(half8);
  6491. double8 __ovld __cnfn convert_double8_rtp(half8);
  6492. double8 __ovld __cnfn convert_double8_rtn(half8);
  6493. double8 __ovld __cnfn convert_double8_rtz(half8);
  6494. double16 __ovld __cnfn convert_double16(half16);
  6495. double16 __ovld __cnfn convert_double16_rte(half16);
  6496. double16 __ovld __cnfn convert_double16_rtp(half16);
  6497. double16 __ovld __cnfn convert_double16_rtn(half16);
  6498. double16 __ovld __cnfn convert_double16_rtz(half16);
  6499. // Convert double types to half types.
  6500. half __ovld __cnfn convert_half(double);
  6501. half __ovld __cnfn convert_half_rte(double);
  6502. half __ovld __cnfn convert_half_rtp(double);
  6503. half __ovld __cnfn convert_half_rtn(double);
  6504. half __ovld __cnfn convert_half_rtz(double);
  6505. half2 __ovld __cnfn convert_half2(double2);
  6506. half2 __ovld __cnfn convert_half2_rte(double2);
  6507. half2 __ovld __cnfn convert_half2_rtp(double2);
  6508. half2 __ovld __cnfn convert_half2_rtn(double2);
  6509. half2 __ovld __cnfn convert_half2_rtz(double2);
  6510. half3 __ovld __cnfn convert_half3(double3);
  6511. half3 __ovld __cnfn convert_half3_rte(double3);
  6512. half3 __ovld __cnfn convert_half3_rtp(double3);
  6513. half3 __ovld __cnfn convert_half3_rtn(double3);
  6514. half3 __ovld __cnfn convert_half3_rtz(double3);
  6515. half4 __ovld __cnfn convert_half4(double4);
  6516. half4 __ovld __cnfn convert_half4_rte(double4);
  6517. half4 __ovld __cnfn convert_half4_rtp(double4);
  6518. half4 __ovld __cnfn convert_half4_rtn(double4);
  6519. half4 __ovld __cnfn convert_half4_rtz(double4);
  6520. half8 __ovld __cnfn convert_half8(double8);
  6521. half8 __ovld __cnfn convert_half8_rte(double8);
  6522. half8 __ovld __cnfn convert_half8_rtp(double8);
  6523. half8 __ovld __cnfn convert_half8_rtn(double8);
  6524. half8 __ovld __cnfn convert_half8_rtz(double8);
  6525. half16 __ovld __cnfn convert_half16(double16);
  6526. half16 __ovld __cnfn convert_half16_rte(double16);
  6527. half16 __ovld __cnfn convert_half16_rtp(double16);
  6528. half16 __ovld __cnfn convert_half16_rtn(double16);
  6529. half16 __ovld __cnfn convert_half16_rtz(double16);
  6530. #endif //cl_khr_fp64
  6531. #endif // cl_khr_fp16
  6532. /**
  6533. * OpenCL v1.1/1.2/2.0 s6.2.4.2 - as_type operators
  6534. * Reinterprets a data type as another data type of the same size
  6535. */
  6536. #define as_char(x) __builtin_astype((x), char)
  6537. #define as_char2(x) __builtin_astype((x), char2)
  6538. #define as_char3(x) __builtin_astype((x), char3)
  6539. #define as_char4(x) __builtin_astype((x), char4)
  6540. #define as_char8(x) __builtin_astype((x), char8)
  6541. #define as_char16(x) __builtin_astype((x), char16)
  6542. #define as_uchar(x) __builtin_astype((x), uchar)
  6543. #define as_uchar2(x) __builtin_astype((x), uchar2)
  6544. #define as_uchar3(x) __builtin_astype((x), uchar3)
  6545. #define as_uchar4(x) __builtin_astype((x), uchar4)
  6546. #define as_uchar8(x) __builtin_astype((x), uchar8)
  6547. #define as_uchar16(x) __builtin_astype((x), uchar16)
  6548. #define as_short(x) __builtin_astype((x), short)
  6549. #define as_short2(x) __builtin_astype((x), short2)
  6550. #define as_short3(x) __builtin_astype((x), short3)
  6551. #define as_short4(x) __builtin_astype((x), short4)
  6552. #define as_short8(x) __builtin_astype((x), short8)
  6553. #define as_short16(x) __builtin_astype((x), short16)
  6554. #define as_ushort(x) __builtin_astype((x), ushort)
  6555. #define as_ushort2(x) __builtin_astype((x), ushort2)
  6556. #define as_ushort3(x) __builtin_astype((x), ushort3)
  6557. #define as_ushort4(x) __builtin_astype((x), ushort4)
  6558. #define as_ushort8(x) __builtin_astype((x), ushort8)
  6559. #define as_ushort16(x) __builtin_astype((x), ushort16)
  6560. #define as_int(x) __builtin_astype((x), int)
  6561. #define as_int2(x) __builtin_astype((x), int2)
  6562. #define as_int3(x) __builtin_astype((x), int3)
  6563. #define as_int4(x) __builtin_astype((x), int4)
  6564. #define as_int8(x) __builtin_astype((x), int8)
  6565. #define as_int16(x) __builtin_astype((x), int16)
  6566. #define as_uint(x) __builtin_astype((x), uint)
  6567. #define as_uint2(x) __builtin_astype((x), uint2)
  6568. #define as_uint3(x) __builtin_astype((x), uint3)
  6569. #define as_uint4(x) __builtin_astype((x), uint4)
  6570. #define as_uint8(x) __builtin_astype((x), uint8)
  6571. #define as_uint16(x) __builtin_astype((x), uint16)
  6572. #define as_long(x) __builtin_astype((x), long)
  6573. #define as_long2(x) __builtin_astype((x), long2)
  6574. #define as_long3(x) __builtin_astype((x), long3)
  6575. #define as_long4(x) __builtin_astype((x), long4)
  6576. #define as_long8(x) __builtin_astype((x), long8)
  6577. #define as_long16(x) __builtin_astype((x), long16)
  6578. #define as_ulong(x) __builtin_astype((x), ulong)
  6579. #define as_ulong2(x) __builtin_astype((x), ulong2)
  6580. #define as_ulong3(x) __builtin_astype((x), ulong3)
  6581. #define as_ulong4(x) __builtin_astype((x), ulong4)
  6582. #define as_ulong8(x) __builtin_astype((x), ulong8)
  6583. #define as_ulong16(x) __builtin_astype((x), ulong16)
  6584. #define as_float(x) __builtin_astype((x), float)
  6585. #define as_float2(x) __builtin_astype((x), float2)
  6586. #define as_float3(x) __builtin_astype((x), float3)
  6587. #define as_float4(x) __builtin_astype((x), float4)
  6588. #define as_float8(x) __builtin_astype((x), float8)
  6589. #define as_float16(x) __builtin_astype((x), float16)
  6590. #ifdef cl_khr_fp64
  6591. #define as_double(x) __builtin_astype((x), double)
  6592. #define as_double2(x) __builtin_astype((x), double2)
  6593. #define as_double3(x) __builtin_astype((x), double3)
  6594. #define as_double4(x) __builtin_astype((x), double4)
  6595. #define as_double8(x) __builtin_astype((x), double8)
  6596. #define as_double16(x) __builtin_astype((x), double16)
  6597. #endif //cl_khr_fp64
  6598. #ifdef cl_khr_fp16
  6599. #define as_half(x) __builtin_astype((x), half)
  6600. #define as_half2(x) __builtin_astype((x), half2)
  6601. #define as_half3(x) __builtin_astype((x), half3)
  6602. #define as_half4(x) __builtin_astype((x), half4)
  6603. #define as_half8(x) __builtin_astype((x), half8)
  6604. #define as_half16(x) __builtin_astype((x), half16)
  6605. #endif //cl_khr_fp16
  6606. // OpenCL v1.1 s6.9, v1.2/2.0 s6.10 - Function qualifiers
  6607. #define __kernel_exec(X, typen) __kernel \
  6608. __attribute__((work_group_size_hint(X, 1, 1))) \
  6609. __attribute__((vec_type_hint(typen)))
  6610. #define kernel_exec(X, typen) __kernel \
  6611. __attribute__((work_group_size_hint(X, 1, 1))) \
  6612. __attribute__((vec_type_hint(typen)))
  6613. // OpenCL v1.1 s6.11.1, v1.2 s6.12.1, v2.0 s6.13.1 - Work-item Functions
  6614. /**
  6615. * Returns the number of dimensions in use. This is the
  6616. * value given to the work_dim argument specified in
  6617. * clEnqueueNDRangeKernel.
  6618. * For clEnqueueTask, this returns 1.
  6619. */
  6620. uint __ovld __cnfn get_work_dim(void);
  6621. /**
  6622. * Returns the number of global work-items specified for
  6623. * dimension identified by dimindx. This value is given by
  6624. * the global_work_size argument to
  6625. * clEnqueueNDRangeKernel. Valid values of dimindx
  6626. * are 0 to get_work_dim() - 1. For other values of
  6627. * dimindx, get_global_size() returns 1.
  6628. * For clEnqueueTask, this always returns 1.
  6629. */
  6630. size_t __ovld __cnfn get_global_size(uint dimindx);
  6631. /**
  6632. * Returns the unique global work-item ID value for
  6633. * dimension identified by dimindx. The global work-item
  6634. * ID specifies the work-item ID based on the number of
  6635. * global work-items specified to execute the kernel. Valid
  6636. * values of dimindx are 0 to get_work_dim() - 1. For
  6637. * other values of dimindx, get_global_id() returns 0.
  6638. * For clEnqueueTask, this returns 0.
  6639. */
  6640. size_t __ovld __cnfn get_global_id(uint dimindx);
  6641. /**
  6642. * Returns the number of local work-items specified in
  6643. * dimension identified by dimindx. This value is given by
  6644. * the local_work_size argument to
  6645. * clEnqueueNDRangeKernel if local_work_size is not
  6646. * NULL; otherwise the OpenCL implementation chooses
  6647. * an appropriate local_work_size value which is returned
  6648. * by this function. Valid values of dimindx are 0 to
  6649. * get_work_dim() - 1. For other values of dimindx,
  6650. * get_local_size() returns 1.
  6651. * For clEnqueueTask, this always returns 1.
  6652. */
  6653. size_t __ovld __cnfn get_local_size(uint dimindx);
  6654. /**
  6655. * Returns the unique local work-item ID i.e. a work-item
  6656. * within a specific work-group for dimension identified by
  6657. * dimindx. Valid values of dimindx are 0 to
  6658. * get_work_dim() - 1. For other values of dimindx,
  6659. * get_local_id() returns 0.
  6660. * For clEnqueueTask, this returns 0.
  6661. */
  6662. size_t __ovld __cnfn get_local_id(uint dimindx);
  6663. /**
  6664. * Returns the number of work-groups that will execute a
  6665. * kernel for dimension identified by dimindx.
  6666. * Valid values of dimindx are 0 to get_work_dim() - 1.
  6667. * For other values of dimindx, get_num_groups () returns
  6668. * 1.
  6669. * For clEnqueueTask, this always returns 1.
  6670. */
  6671. size_t __ovld __cnfn get_num_groups(uint dimindx);
  6672. /**
  6673. * get_group_id returns the work-group ID which is a
  6674. * number from 0 .. get_num_groups(dimindx) - 1.
  6675. * Valid values of dimindx are 0 to get_work_dim() - 1.
  6676. * For other values, get_group_id() returns 0.
  6677. * For clEnqueueTask, this returns 0.
  6678. */
  6679. size_t __ovld __cnfn get_group_id(uint dimindx);
  6680. /**
  6681. * get_global_offset returns the offset values specified in
  6682. * global_work_offset argument to
  6683. * clEnqueueNDRangeKernel.
  6684. * Valid values of dimindx are 0 to get_work_dim() - 1.
  6685. * For other values, get_global_offset() returns 0.
  6686. * For clEnqueueTask, this returns 0.
  6687. */
  6688. size_t __ovld __cnfn get_global_offset(uint dimindx);
  6689. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  6690. size_t __ovld get_enqueued_local_size(uint dimindx);
  6691. size_t __ovld get_global_linear_id(void);
  6692. size_t __ovld get_local_linear_id(void);
  6693. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  6694. // OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions
  6695. /**
  6696. * Arc cosine function.
  6697. */
  6698. float __ovld __cnfn acos(float);
  6699. float2 __ovld __cnfn acos(float2);
  6700. float3 __ovld __cnfn acos(float3);
  6701. float4 __ovld __cnfn acos(float4);
  6702. float8 __ovld __cnfn acos(float8);
  6703. float16 __ovld __cnfn acos(float16);
  6704. #ifdef cl_khr_fp64
  6705. double __ovld __cnfn acos(double);
  6706. double2 __ovld __cnfn acos(double2);
  6707. double3 __ovld __cnfn acos(double3);
  6708. double4 __ovld __cnfn acos(double4);
  6709. double8 __ovld __cnfn acos(double8);
  6710. double16 __ovld __cnfn acos(double16);
  6711. #endif //cl_khr_fp64
  6712. #ifdef cl_khr_fp16
  6713. half __ovld __cnfn acos(half);
  6714. half2 __ovld __cnfn acos(half2);
  6715. half3 __ovld __cnfn acos(half3);
  6716. half4 __ovld __cnfn acos(half4);
  6717. half8 __ovld __cnfn acos(half8);
  6718. half16 __ovld __cnfn acos(half16);
  6719. #endif //cl_khr_fp16
  6720. /**
  6721. * Inverse hyperbolic cosine.
  6722. */
  6723. float __ovld __cnfn acosh(float);
  6724. float2 __ovld __cnfn acosh(float2);
  6725. float3 __ovld __cnfn acosh(float3);
  6726. float4 __ovld __cnfn acosh(float4);
  6727. float8 __ovld __cnfn acosh(float8);
  6728. float16 __ovld __cnfn acosh(float16);
  6729. #ifdef cl_khr_fp64
  6730. double __ovld __cnfn acosh(double);
  6731. double2 __ovld __cnfn acosh(double2);
  6732. double3 __ovld __cnfn acosh(double3);
  6733. double4 __ovld __cnfn acosh(double4);
  6734. double8 __ovld __cnfn acosh(double8);
  6735. double16 __ovld __cnfn acosh(double16);
  6736. #endif //cl_khr_fp64
  6737. #ifdef cl_khr_fp16
  6738. half __ovld __cnfn acosh(half);
  6739. half2 __ovld __cnfn acosh(half2);
  6740. half3 __ovld __cnfn acosh(half3);
  6741. half4 __ovld __cnfn acosh(half4);
  6742. half8 __ovld __cnfn acosh(half8);
  6743. half16 __ovld __cnfn acosh(half16);
  6744. #endif //cl_khr_fp16
  6745. /**
  6746. * Compute acos (x) / PI.
  6747. */
  6748. float __ovld __cnfn acospi(float x);
  6749. float2 __ovld __cnfn acospi(float2 x);
  6750. float3 __ovld __cnfn acospi(float3 x);
  6751. float4 __ovld __cnfn acospi(float4 x);
  6752. float8 __ovld __cnfn acospi(float8 x);
  6753. float16 __ovld __cnfn acospi(float16 x);
  6754. #ifdef cl_khr_fp64
  6755. double __ovld __cnfn acospi(double x);
  6756. double2 __ovld __cnfn acospi(double2 x);
  6757. double3 __ovld __cnfn acospi(double3 x);
  6758. double4 __ovld __cnfn acospi(double4 x);
  6759. double8 __ovld __cnfn acospi(double8 x);
  6760. double16 __ovld __cnfn acospi(double16 x);
  6761. #endif //cl_khr_fp64
  6762. #ifdef cl_khr_fp16
  6763. half __ovld __cnfn acospi(half x);
  6764. half2 __ovld __cnfn acospi(half2 x);
  6765. half3 __ovld __cnfn acospi(half3 x);
  6766. half4 __ovld __cnfn acospi(half4 x);
  6767. half8 __ovld __cnfn acospi(half8 x);
  6768. half16 __ovld __cnfn acospi(half16 x);
  6769. #endif //cl_khr_fp16
  6770. /**
  6771. * Arc sine function.
  6772. */
  6773. float __ovld __cnfn asin(float);
  6774. float2 __ovld __cnfn asin(float2);
  6775. float3 __ovld __cnfn asin(float3);
  6776. float4 __ovld __cnfn asin(float4);
  6777. float8 __ovld __cnfn asin(float8);
  6778. float16 __ovld __cnfn asin(float16);
  6779. #ifdef cl_khr_fp64
  6780. double __ovld __cnfn asin(double);
  6781. double2 __ovld __cnfn asin(double2);
  6782. double3 __ovld __cnfn asin(double3);
  6783. double4 __ovld __cnfn asin(double4);
  6784. double8 __ovld __cnfn asin(double8);
  6785. double16 __ovld __cnfn asin(double16);
  6786. #endif //cl_khr_fp64
  6787. #ifdef cl_khr_fp16
  6788. half __ovld __cnfn asin(half);
  6789. half2 __ovld __cnfn asin(half2);
  6790. half3 __ovld __cnfn asin(half3);
  6791. half4 __ovld __cnfn asin(half4);
  6792. half8 __ovld __cnfn asin(half8);
  6793. half16 __ovld __cnfn asin(half16);
  6794. #endif //cl_khr_fp16
  6795. /**
  6796. * Inverse hyperbolic sine.
  6797. */
  6798. float __ovld __cnfn asinh(float);
  6799. float2 __ovld __cnfn asinh(float2);
  6800. float3 __ovld __cnfn asinh(float3);
  6801. float4 __ovld __cnfn asinh(float4);
  6802. float8 __ovld __cnfn asinh(float8);
  6803. float16 __ovld __cnfn asinh(float16);
  6804. #ifdef cl_khr_fp64
  6805. double __ovld __cnfn asinh(double);
  6806. double2 __ovld __cnfn asinh(double2);
  6807. double3 __ovld __cnfn asinh(double3);
  6808. double4 __ovld __cnfn asinh(double4);
  6809. double8 __ovld __cnfn asinh(double8);
  6810. double16 __ovld __cnfn asinh(double16);
  6811. #endif //cl_khr_fp64
  6812. #ifdef cl_khr_fp16
  6813. half __ovld __cnfn asinh(half);
  6814. half2 __ovld __cnfn asinh(half2);
  6815. half3 __ovld __cnfn asinh(half3);
  6816. half4 __ovld __cnfn asinh(half4);
  6817. half8 __ovld __cnfn asinh(half8);
  6818. half16 __ovld __cnfn asinh(half16);
  6819. #endif //cl_khr_fp16
  6820. /**
  6821. * Compute asin (x) / PI.
  6822. */
  6823. float __ovld __cnfn asinpi(float x);
  6824. float2 __ovld __cnfn asinpi(float2 x);
  6825. float3 __ovld __cnfn asinpi(float3 x);
  6826. float4 __ovld __cnfn asinpi(float4 x);
  6827. float8 __ovld __cnfn asinpi(float8 x);
  6828. float16 __ovld __cnfn asinpi(float16 x);
  6829. #ifdef cl_khr_fp64
  6830. double __ovld __cnfn asinpi(double x);
  6831. double2 __ovld __cnfn asinpi(double2 x);
  6832. double3 __ovld __cnfn asinpi(double3 x);
  6833. double4 __ovld __cnfn asinpi(double4 x);
  6834. double8 __ovld __cnfn asinpi(double8 x);
  6835. double16 __ovld __cnfn asinpi(double16 x);
  6836. #endif //cl_khr_fp64
  6837. #ifdef cl_khr_fp16
  6838. half __ovld __cnfn asinpi(half x);
  6839. half2 __ovld __cnfn asinpi(half2 x);
  6840. half3 __ovld __cnfn asinpi(half3 x);
  6841. half4 __ovld __cnfn asinpi(half4 x);
  6842. half8 __ovld __cnfn asinpi(half8 x);
  6843. half16 __ovld __cnfn asinpi(half16 x);
  6844. #endif //cl_khr_fp16
  6845. /**
  6846. * Arc tangent function.
  6847. */
  6848. float __ovld __cnfn atan(float y_over_x);
  6849. float2 __ovld __cnfn atan(float2 y_over_x);
  6850. float3 __ovld __cnfn atan(float3 y_over_x);
  6851. float4 __ovld __cnfn atan(float4 y_over_x);
  6852. float8 __ovld __cnfn atan(float8 y_over_x);
  6853. float16 __ovld __cnfn atan(float16 y_over_x);
  6854. #ifdef cl_khr_fp64
  6855. double __ovld __cnfn atan(double y_over_x);
  6856. double2 __ovld __cnfn atan(double2 y_over_x);
  6857. double3 __ovld __cnfn atan(double3 y_over_x);
  6858. double4 __ovld __cnfn atan(double4 y_over_x);
  6859. double8 __ovld __cnfn atan(double8 y_over_x);
  6860. double16 __ovld __cnfn atan(double16 y_over_x);
  6861. #endif //cl_khr_fp64
  6862. #ifdef cl_khr_fp16
  6863. half __ovld __cnfn atan(half y_over_x);
  6864. half2 __ovld __cnfn atan(half2 y_over_x);
  6865. half3 __ovld __cnfn atan(half3 y_over_x);
  6866. half4 __ovld __cnfn atan(half4 y_over_x);
  6867. half8 __ovld __cnfn atan(half8 y_over_x);
  6868. half16 __ovld __cnfn atan(half16 y_over_x);
  6869. #endif //cl_khr_fp16
  6870. /**
  6871. * Arc tangent of y / x.
  6872. */
  6873. float __ovld __cnfn atan2(float y, float x);
  6874. float2 __ovld __cnfn atan2(float2 y, float2 x);
  6875. float3 __ovld __cnfn atan2(float3 y, float3 x);
  6876. float4 __ovld __cnfn atan2(float4 y, float4 x);
  6877. float8 __ovld __cnfn atan2(float8 y, float8 x);
  6878. float16 __ovld __cnfn atan2(float16 y, float16 x);
  6879. #ifdef cl_khr_fp64
  6880. double __ovld __cnfn atan2(double y, double x);
  6881. double2 __ovld __cnfn atan2(double2 y, double2 x);
  6882. double3 __ovld __cnfn atan2(double3 y, double3 x);
  6883. double4 __ovld __cnfn atan2(double4 y, double4 x);
  6884. double8 __ovld __cnfn atan2(double8 y, double8 x);
  6885. double16 __ovld __cnfn atan2(double16 y, double16 x);
  6886. #endif //cl_khr_fp64
  6887. #ifdef cl_khr_fp16
  6888. half __ovld __cnfn atan2(half y, half x);
  6889. half2 __ovld __cnfn atan2(half2 y, half2 x);
  6890. half3 __ovld __cnfn atan2(half3 y, half3 x);
  6891. half4 __ovld __cnfn atan2(half4 y, half4 x);
  6892. half8 __ovld __cnfn atan2(half8 y, half8 x);
  6893. half16 __ovld __cnfn atan2(half16 y, half16 x);
  6894. #endif //cl_khr_fp16
  6895. /**
  6896. * Hyperbolic arc tangent.
  6897. */
  6898. float __ovld __cnfn atanh(float);
  6899. float2 __ovld __cnfn atanh(float2);
  6900. float3 __ovld __cnfn atanh(float3);
  6901. float4 __ovld __cnfn atanh(float4);
  6902. float8 __ovld __cnfn atanh(float8);
  6903. float16 __ovld __cnfn atanh(float16);
  6904. #ifdef cl_khr_fp64
  6905. double __ovld __cnfn atanh(double);
  6906. double2 __ovld __cnfn atanh(double2);
  6907. double3 __ovld __cnfn atanh(double3);
  6908. double4 __ovld __cnfn atanh(double4);
  6909. double8 __ovld __cnfn atanh(double8);
  6910. double16 __ovld __cnfn atanh(double16);
  6911. #endif //cl_khr_fp64
  6912. #ifdef cl_khr_fp16
  6913. half __ovld __cnfn atanh(half);
  6914. half2 __ovld __cnfn atanh(half2);
  6915. half3 __ovld __cnfn atanh(half3);
  6916. half4 __ovld __cnfn atanh(half4);
  6917. half8 __ovld __cnfn atanh(half8);
  6918. half16 __ovld __cnfn atanh(half16);
  6919. #endif //cl_khr_fp16
  6920. /**
  6921. * Compute atan (x) / PI.
  6922. */
  6923. float __ovld __cnfn atanpi(float x);
  6924. float2 __ovld __cnfn atanpi(float2 x);
  6925. float3 __ovld __cnfn atanpi(float3 x);
  6926. float4 __ovld __cnfn atanpi(float4 x);
  6927. float8 __ovld __cnfn atanpi(float8 x);
  6928. float16 __ovld __cnfn atanpi(float16 x);
  6929. #ifdef cl_khr_fp64
  6930. double __ovld __cnfn atanpi(double x);
  6931. double2 __ovld __cnfn atanpi(double2 x);
  6932. double3 __ovld __cnfn atanpi(double3 x);
  6933. double4 __ovld __cnfn atanpi(double4 x);
  6934. double8 __ovld __cnfn atanpi(double8 x);
  6935. double16 __ovld __cnfn atanpi(double16 x);
  6936. #endif //cl_khr_fp64
  6937. #ifdef cl_khr_fp16
  6938. half __ovld __cnfn atanpi(half x);
  6939. half2 __ovld __cnfn atanpi(half2 x);
  6940. half3 __ovld __cnfn atanpi(half3 x);
  6941. half4 __ovld __cnfn atanpi(half4 x);
  6942. half8 __ovld __cnfn atanpi(half8 x);
  6943. half16 __ovld __cnfn atanpi(half16 x);
  6944. #endif //cl_khr_fp16
  6945. /**
  6946. * Compute atan2 (y, x) / PI.
  6947. */
  6948. float __ovld __cnfn atan2pi(float y, float x);
  6949. float2 __ovld __cnfn atan2pi(float2 y, float2 x);
  6950. float3 __ovld __cnfn atan2pi(float3 y, float3 x);
  6951. float4 __ovld __cnfn atan2pi(float4 y, float4 x);
  6952. float8 __ovld __cnfn atan2pi(float8 y, float8 x);
  6953. float16 __ovld __cnfn atan2pi(float16 y, float16 x);
  6954. #ifdef cl_khr_fp64
  6955. double __ovld __cnfn atan2pi(double y, double x);
  6956. double2 __ovld __cnfn atan2pi(double2 y, double2 x);
  6957. double3 __ovld __cnfn atan2pi(double3 y, double3 x);
  6958. double4 __ovld __cnfn atan2pi(double4 y, double4 x);
  6959. double8 __ovld __cnfn atan2pi(double8 y, double8 x);
  6960. double16 __ovld __cnfn atan2pi(double16 y, double16 x);
  6961. #endif //cl_khr_fp64
  6962. #ifdef cl_khr_fp16
  6963. half __ovld __cnfn atan2pi(half y, half x);
  6964. half2 __ovld __cnfn atan2pi(half2 y, half2 x);
  6965. half3 __ovld __cnfn atan2pi(half3 y, half3 x);
  6966. half4 __ovld __cnfn atan2pi(half4 y, half4 x);
  6967. half8 __ovld __cnfn atan2pi(half8 y, half8 x);
  6968. half16 __ovld __cnfn atan2pi(half16 y, half16 x);
  6969. #endif //cl_khr_fp16
  6970. /**
  6971. * Compute cube-root.
  6972. */
  6973. float __ovld __cnfn cbrt(float);
  6974. float2 __ovld __cnfn cbrt(float2);
  6975. float3 __ovld __cnfn cbrt(float3);
  6976. float4 __ovld __cnfn cbrt(float4);
  6977. float8 __ovld __cnfn cbrt(float8);
  6978. float16 __ovld __cnfn cbrt(float16);
  6979. #ifdef cl_khr_fp64
  6980. double __ovld __cnfn cbrt(double);
  6981. double2 __ovld __cnfn cbrt(double2);
  6982. double3 __ovld __cnfn cbrt(double3);
  6983. double4 __ovld __cnfn cbrt(double4);
  6984. double8 __ovld __cnfn cbrt(double8);
  6985. double16 __ovld __cnfn cbrt(double16);
  6986. #endif //cl_khr_fp64
  6987. #ifdef cl_khr_fp16
  6988. half __ovld __cnfn cbrt(half);
  6989. half2 __ovld __cnfn cbrt(half2);
  6990. half3 __ovld __cnfn cbrt(half3);
  6991. half4 __ovld __cnfn cbrt(half4);
  6992. half8 __ovld __cnfn cbrt(half8);
  6993. half16 __ovld __cnfn cbrt(half16);
  6994. #endif //cl_khr_fp16
  6995. /**
  6996. * Round to integral value using the round to positive
  6997. * infinity rounding mode.
  6998. */
  6999. float __ovld __cnfn ceil(float);
  7000. float2 __ovld __cnfn ceil(float2);
  7001. float3 __ovld __cnfn ceil(float3);
  7002. float4 __ovld __cnfn ceil(float4);
  7003. float8 __ovld __cnfn ceil(float8);
  7004. float16 __ovld __cnfn ceil(float16);
  7005. #ifdef cl_khr_fp64
  7006. double __ovld __cnfn ceil(double);
  7007. double2 __ovld __cnfn ceil(double2);
  7008. double3 __ovld __cnfn ceil(double3);
  7009. double4 __ovld __cnfn ceil(double4);
  7010. double8 __ovld __cnfn ceil(double8);
  7011. double16 __ovld __cnfn ceil(double16);
  7012. #endif //cl_khr_fp64
  7013. #ifdef cl_khr_fp16
  7014. half __ovld __cnfn ceil(half);
  7015. half2 __ovld __cnfn ceil(half2);
  7016. half3 __ovld __cnfn ceil(half3);
  7017. half4 __ovld __cnfn ceil(half4);
  7018. half8 __ovld __cnfn ceil(half8);
  7019. half16 __ovld __cnfn ceil(half16);
  7020. #endif //cl_khr_fp16
  7021. /**
  7022. * Returns x with its sign changed to match the sign of y.
  7023. */
  7024. float __ovld __cnfn copysign(float x, float y);
  7025. float2 __ovld __cnfn copysign(float2 x, float2 y);
  7026. float3 __ovld __cnfn copysign(float3 x, float3 y);
  7027. float4 __ovld __cnfn copysign(float4 x, float4 y);
  7028. float8 __ovld __cnfn copysign(float8 x, float8 y);
  7029. float16 __ovld __cnfn copysign(float16 x, float16 y);
  7030. #ifdef cl_khr_fp64
  7031. double __ovld __cnfn copysign(double x, double y);
  7032. double2 __ovld __cnfn copysign(double2 x, double2 y);
  7033. double3 __ovld __cnfn copysign(double3 x, double3 y);
  7034. double4 __ovld __cnfn copysign(double4 x, double4 y);
  7035. double8 __ovld __cnfn copysign(double8 x, double8 y);
  7036. double16 __ovld __cnfn copysign(double16 x, double16 y);
  7037. #endif //cl_khr_fp64
  7038. #ifdef cl_khr_fp16
  7039. half __ovld __cnfn copysign(half x, half y);
  7040. half2 __ovld __cnfn copysign(half2 x, half2 y);
  7041. half3 __ovld __cnfn copysign(half3 x, half3 y);
  7042. half4 __ovld __cnfn copysign(half4 x, half4 y);
  7043. half8 __ovld __cnfn copysign(half8 x, half8 y);
  7044. half16 __ovld __cnfn copysign(half16 x, half16 y);
  7045. #endif //cl_khr_fp16
  7046. /**
  7047. * Compute cosine.
  7048. */
  7049. float __ovld __cnfn cos(float);
  7050. float2 __ovld __cnfn cos(float2);
  7051. float3 __ovld __cnfn cos(float3);
  7052. float4 __ovld __cnfn cos(float4);
  7053. float8 __ovld __cnfn cos(float8);
  7054. float16 __ovld __cnfn cos(float16);
  7055. #ifdef cl_khr_fp64
  7056. double __ovld __cnfn cos(double);
  7057. double2 __ovld __cnfn cos(double2);
  7058. double3 __ovld __cnfn cos(double3);
  7059. double4 __ovld __cnfn cos(double4);
  7060. double8 __ovld __cnfn cos(double8);
  7061. double16 __ovld __cnfn cos(double16);
  7062. #endif //cl_khr_fp64
  7063. #ifdef cl_khr_fp16
  7064. half __ovld __cnfn cos(half);
  7065. half2 __ovld __cnfn cos(half2);
  7066. half3 __ovld __cnfn cos(half3);
  7067. half4 __ovld __cnfn cos(half4);
  7068. half8 __ovld __cnfn cos(half8);
  7069. half16 __ovld __cnfn cos(half16);
  7070. #endif //cl_khr_fp16
  7071. /**
  7072. * Compute hyperbolic cosine.
  7073. */
  7074. float __ovld __cnfn cosh(float);
  7075. float2 __ovld __cnfn cosh(float2);
  7076. float3 __ovld __cnfn cosh(float3);
  7077. float4 __ovld __cnfn cosh(float4);
  7078. float8 __ovld __cnfn cosh(float8);
  7079. float16 __ovld __cnfn cosh(float16);
  7080. #ifdef cl_khr_fp64
  7081. double __ovld __cnfn cosh(double);
  7082. double2 __ovld __cnfn cosh(double2);
  7083. double3 __ovld __cnfn cosh(double3);
  7084. double4 __ovld __cnfn cosh(double4);
  7085. double8 __ovld __cnfn cosh(double8);
  7086. double16 __ovld __cnfn cosh(double16);
  7087. #endif //cl_khr_fp64
  7088. #ifdef cl_khr_fp16
  7089. half __ovld __cnfn cosh(half);
  7090. half2 __ovld __cnfn cosh(half2);
  7091. half3 __ovld __cnfn cosh(half3);
  7092. half4 __ovld __cnfn cosh(half4);
  7093. half8 __ovld __cnfn cosh(half8);
  7094. half16 __ovld __cnfn cosh(half16);
  7095. #endif //cl_khr_fp16
  7096. /**
  7097. * Compute cos (PI * x).
  7098. */
  7099. float __ovld __cnfn cospi(float x);
  7100. float2 __ovld __cnfn cospi(float2 x);
  7101. float3 __ovld __cnfn cospi(float3 x);
  7102. float4 __ovld __cnfn cospi(float4 x);
  7103. float8 __ovld __cnfn cospi(float8 x);
  7104. float16 __ovld __cnfn cospi(float16 x);
  7105. #ifdef cl_khr_fp64
  7106. double __ovld __cnfn cospi(double x);
  7107. double2 __ovld __cnfn cospi(double2 x);
  7108. double3 __ovld __cnfn cospi(double3 x);
  7109. double4 __ovld __cnfn cospi(double4 x);
  7110. double8 __ovld __cnfn cospi(double8 x);
  7111. double16 __ovld __cnfn cospi(double16 x);
  7112. #endif //cl_khr_fp64
  7113. #ifdef cl_khr_fp16
  7114. half __ovld __cnfn cospi(half x);
  7115. half2 __ovld __cnfn cospi(half2 x);
  7116. half3 __ovld __cnfn cospi(half3 x);
  7117. half4 __ovld __cnfn cospi(half4 x);
  7118. half8 __ovld __cnfn cospi(half8 x);
  7119. half16 __ovld __cnfn cospi(half16 x);
  7120. #endif //cl_khr_fp16
  7121. /**
  7122. * Complementary error function.
  7123. */
  7124. float __ovld __cnfn erfc(float);
  7125. float2 __ovld __cnfn erfc(float2);
  7126. float3 __ovld __cnfn erfc(float3);
  7127. float4 __ovld __cnfn erfc(float4);
  7128. float8 __ovld __cnfn erfc(float8);
  7129. float16 __ovld __cnfn erfc(float16);
  7130. #ifdef cl_khr_fp64
  7131. double __ovld __cnfn erfc(double);
  7132. double2 __ovld __cnfn erfc(double2);
  7133. double3 __ovld __cnfn erfc(double3);
  7134. double4 __ovld __cnfn erfc(double4);
  7135. double8 __ovld __cnfn erfc(double8);
  7136. double16 __ovld __cnfn erfc(double16);
  7137. #endif //cl_khr_fp64
  7138. #ifdef cl_khr_fp16
  7139. half __ovld __cnfn erfc(half);
  7140. half2 __ovld __cnfn erfc(half2);
  7141. half3 __ovld __cnfn erfc(half3);
  7142. half4 __ovld __cnfn erfc(half4);
  7143. half8 __ovld __cnfn erfc(half8);
  7144. half16 __ovld __cnfn erfc(half16);
  7145. #endif //cl_khr_fp16
  7146. /**
  7147. * Error function encountered in integrating the
  7148. * normal distribution.
  7149. */
  7150. float __ovld __cnfn erf(float);
  7151. float2 __ovld __cnfn erf(float2);
  7152. float3 __ovld __cnfn erf(float3);
  7153. float4 __ovld __cnfn erf(float4);
  7154. float8 __ovld __cnfn erf(float8);
  7155. float16 __ovld __cnfn erf(float16);
  7156. #ifdef cl_khr_fp64
  7157. double __ovld __cnfn erf(double);
  7158. double2 __ovld __cnfn erf(double2);
  7159. double3 __ovld __cnfn erf(double3);
  7160. double4 __ovld __cnfn erf(double4);
  7161. double8 __ovld __cnfn erf(double8);
  7162. double16 __ovld __cnfn erf(double16);
  7163. #endif //cl_khr_fp64
  7164. #ifdef cl_khr_fp16
  7165. half __ovld __cnfn erf(half);
  7166. half2 __ovld __cnfn erf(half2);
  7167. half3 __ovld __cnfn erf(half3);
  7168. half4 __ovld __cnfn erf(half4);
  7169. half8 __ovld __cnfn erf(half8);
  7170. half16 __ovld __cnfn erf(half16);
  7171. #endif //cl_khr_fp16
  7172. /**
  7173. * Compute the base e exponential function of x.
  7174. */
  7175. float __ovld __cnfn exp(float x);
  7176. float2 __ovld __cnfn exp(float2 x);
  7177. float3 __ovld __cnfn exp(float3 x);
  7178. float4 __ovld __cnfn exp(float4 x);
  7179. float8 __ovld __cnfn exp(float8 x);
  7180. float16 __ovld __cnfn exp(float16 x);
  7181. #ifdef cl_khr_fp64
  7182. double __ovld __cnfn exp(double x);
  7183. double2 __ovld __cnfn exp(double2 x);
  7184. double3 __ovld __cnfn exp(double3 x);
  7185. double4 __ovld __cnfn exp(double4 x);
  7186. double8 __ovld __cnfn exp(double8 x);
  7187. double16 __ovld __cnfn exp(double16 x);
  7188. #endif //cl_khr_fp64
  7189. #ifdef cl_khr_fp16
  7190. half __ovld __cnfn exp(half x);
  7191. half2 __ovld __cnfn exp(half2 x);
  7192. half3 __ovld __cnfn exp(half3 x);
  7193. half4 __ovld __cnfn exp(half4 x);
  7194. half8 __ovld __cnfn exp(half8 x);
  7195. half16 __ovld __cnfn exp(half16 x);
  7196. #endif //cl_khr_fp16
  7197. /**
  7198. * Exponential base 2 function.
  7199. */
  7200. float __ovld __cnfn exp2(float);
  7201. float2 __ovld __cnfn exp2(float2);
  7202. float3 __ovld __cnfn exp2(float3);
  7203. float4 __ovld __cnfn exp2(float4);
  7204. float8 __ovld __cnfn exp2(float8);
  7205. float16 __ovld __cnfn exp2(float16);
  7206. #ifdef cl_khr_fp64
  7207. double __ovld __cnfn exp2(double);
  7208. double2 __ovld __cnfn exp2(double2);
  7209. double3 __ovld __cnfn exp2(double3);
  7210. double4 __ovld __cnfn exp2(double4);
  7211. double8 __ovld __cnfn exp2(double8);
  7212. double16 __ovld __cnfn exp2(double16);
  7213. #endif //cl_khr_fp64
  7214. #ifdef cl_khr_fp16
  7215. half __ovld __cnfn exp2(half);
  7216. half2 __ovld __cnfn exp2(half2);
  7217. half3 __ovld __cnfn exp2(half3);
  7218. half4 __ovld __cnfn exp2(half4);
  7219. half8 __ovld __cnfn exp2(half8);
  7220. half16 __ovld __cnfn exp2(half16);
  7221. #endif //cl_khr_fp16
  7222. /**
  7223. * Exponential base 10 function.
  7224. */
  7225. float __ovld __cnfn exp10(float);
  7226. float2 __ovld __cnfn exp10(float2);
  7227. float3 __ovld __cnfn exp10(float3);
  7228. float4 __ovld __cnfn exp10(float4);
  7229. float8 __ovld __cnfn exp10(float8);
  7230. float16 __ovld __cnfn exp10(float16);
  7231. #ifdef cl_khr_fp64
  7232. double __ovld __cnfn exp10(double);
  7233. double2 __ovld __cnfn exp10(double2);
  7234. double3 __ovld __cnfn exp10(double3);
  7235. double4 __ovld __cnfn exp10(double4);
  7236. double8 __ovld __cnfn exp10(double8);
  7237. double16 __ovld __cnfn exp10(double16);
  7238. #endif //cl_khr_fp64
  7239. #ifdef cl_khr_fp16
  7240. half __ovld __cnfn exp10(half);
  7241. half2 __ovld __cnfn exp10(half2);
  7242. half3 __ovld __cnfn exp10(half3);
  7243. half4 __ovld __cnfn exp10(half4);
  7244. half8 __ovld __cnfn exp10(half8);
  7245. half16 __ovld __cnfn exp10(half16);
  7246. #endif //cl_khr_fp16
  7247. /**
  7248. * Compute e^x- 1.0.
  7249. */
  7250. float __ovld __cnfn expm1(float x);
  7251. float2 __ovld __cnfn expm1(float2 x);
  7252. float3 __ovld __cnfn expm1(float3 x);
  7253. float4 __ovld __cnfn expm1(float4 x);
  7254. float8 __ovld __cnfn expm1(float8 x);
  7255. float16 __ovld __cnfn expm1(float16 x);
  7256. #ifdef cl_khr_fp64
  7257. double __ovld __cnfn expm1(double x);
  7258. double2 __ovld __cnfn expm1(double2 x);
  7259. double3 __ovld __cnfn expm1(double3 x);
  7260. double4 __ovld __cnfn expm1(double4 x);
  7261. double8 __ovld __cnfn expm1(double8 x);
  7262. double16 __ovld __cnfn expm1(double16 x);
  7263. #endif //cl_khr_fp64
  7264. #ifdef cl_khr_fp16
  7265. half __ovld __cnfn expm1(half x);
  7266. half2 __ovld __cnfn expm1(half2 x);
  7267. half3 __ovld __cnfn expm1(half3 x);
  7268. half4 __ovld __cnfn expm1(half4 x);
  7269. half8 __ovld __cnfn expm1(half8 x);
  7270. half16 __ovld __cnfn expm1(half16 x);
  7271. #endif //cl_khr_fp16
  7272. /**
  7273. * Compute absolute value of a floating-point number.
  7274. */
  7275. float __ovld __cnfn fabs(float);
  7276. float2 __ovld __cnfn fabs(float2);
  7277. float3 __ovld __cnfn fabs(float3);
  7278. float4 __ovld __cnfn fabs(float4);
  7279. float8 __ovld __cnfn fabs(float8);
  7280. float16 __ovld __cnfn fabs(float16);
  7281. #ifdef cl_khr_fp64
  7282. double __ovld __cnfn fabs(double);
  7283. double2 __ovld __cnfn fabs(double2);
  7284. double3 __ovld __cnfn fabs(double3);
  7285. double4 __ovld __cnfn fabs(double4);
  7286. double8 __ovld __cnfn fabs(double8);
  7287. double16 __ovld __cnfn fabs(double16);
  7288. #endif //cl_khr_fp64
  7289. #ifdef cl_khr_fp16
  7290. half __ovld __cnfn fabs(half);
  7291. half2 __ovld __cnfn fabs(half2);
  7292. half3 __ovld __cnfn fabs(half3);
  7293. half4 __ovld __cnfn fabs(half4);
  7294. half8 __ovld __cnfn fabs(half8);
  7295. half16 __ovld __cnfn fabs(half16);
  7296. #endif //cl_khr_fp16
  7297. /**
  7298. * x - y if x > y, +0 if x is less than or equal to y.
  7299. */
  7300. float __ovld __cnfn fdim(float x, float y);
  7301. float2 __ovld __cnfn fdim(float2 x, float2 y);
  7302. float3 __ovld __cnfn fdim(float3 x, float3 y);
  7303. float4 __ovld __cnfn fdim(float4 x, float4 y);
  7304. float8 __ovld __cnfn fdim(float8 x, float8 y);
  7305. float16 __ovld __cnfn fdim(float16 x, float16 y);
  7306. #ifdef cl_khr_fp64
  7307. double __ovld __cnfn fdim(double x, double y);
  7308. double2 __ovld __cnfn fdim(double2 x, double2 y);
  7309. double3 __ovld __cnfn fdim(double3 x, double3 y);
  7310. double4 __ovld __cnfn fdim(double4 x, double4 y);
  7311. double8 __ovld __cnfn fdim(double8 x, double8 y);
  7312. double16 __ovld __cnfn fdim(double16 x, double16 y);
  7313. #endif //cl_khr_fp64
  7314. #ifdef cl_khr_fp16
  7315. half __ovld __cnfn fdim(half x, half y);
  7316. half2 __ovld __cnfn fdim(half2 x, half2 y);
  7317. half3 __ovld __cnfn fdim(half3 x, half3 y);
  7318. half4 __ovld __cnfn fdim(half4 x, half4 y);
  7319. half8 __ovld __cnfn fdim(half8 x, half8 y);
  7320. half16 __ovld __cnfn fdim(half16 x, half16 y);
  7321. #endif //cl_khr_fp16
  7322. /**
  7323. * Round to integral value using the round to -ve
  7324. * infinity rounding mode.
  7325. */
  7326. float __ovld __cnfn floor(float);
  7327. float2 __ovld __cnfn floor(float2);
  7328. float3 __ovld __cnfn floor(float3);
  7329. float4 __ovld __cnfn floor(float4);
  7330. float8 __ovld __cnfn floor(float8);
  7331. float16 __ovld __cnfn floor(float16);
  7332. #ifdef cl_khr_fp64
  7333. double __ovld __cnfn floor(double);
  7334. double2 __ovld __cnfn floor(double2);
  7335. double3 __ovld __cnfn floor(double3);
  7336. double4 __ovld __cnfn floor(double4);
  7337. double8 __ovld __cnfn floor(double8);
  7338. double16 __ovld __cnfn floor(double16);
  7339. #endif //cl_khr_fp64
  7340. #ifdef cl_khr_fp16
  7341. half __ovld __cnfn floor(half);
  7342. half2 __ovld __cnfn floor(half2);
  7343. half3 __ovld __cnfn floor(half3);
  7344. half4 __ovld __cnfn floor(half4);
  7345. half8 __ovld __cnfn floor(half8);
  7346. half16 __ovld __cnfn floor(half16);
  7347. #endif //cl_khr_fp16
  7348. /**
  7349. * Returns the correctly rounded floating-point
  7350. * representation of the sum of c with the infinitely
  7351. * precise product of a and b. Rounding of
  7352. * intermediate products shall not occur. Edge case
  7353. * behavior is per the IEEE 754-2008 standard.
  7354. */
  7355. float __ovld __cnfn fma(float a, float b, float c);
  7356. float2 __ovld __cnfn fma(float2 a, float2 b, float2 c);
  7357. float3 __ovld __cnfn fma(float3 a, float3 b, float3 c);
  7358. float4 __ovld __cnfn fma(float4 a, float4 b, float4 c);
  7359. float8 __ovld __cnfn fma(float8 a, float8 b, float8 c);
  7360. float16 __ovld __cnfn fma(float16 a, float16 b, float16 c);
  7361. #ifdef cl_khr_fp64
  7362. double __ovld __cnfn fma(double a, double b, double c);
  7363. double2 __ovld __cnfn fma(double2 a, double2 b, double2 c);
  7364. double3 __ovld __cnfn fma(double3 a, double3 b, double3 c);
  7365. double4 __ovld __cnfn fma(double4 a, double4 b, double4 c);
  7366. double8 __ovld __cnfn fma(double8 a, double8 b, double8 c);
  7367. double16 __ovld __cnfn fma(double16 a, double16 b, double16 c);
  7368. #endif //cl_khr_fp64
  7369. #ifdef cl_khr_fp16
  7370. half __ovld __cnfn fma(half a, half b, half c);
  7371. half2 __ovld __cnfn fma(half2 a, half2 b, half2 c);
  7372. half3 __ovld __cnfn fma(half3 a, half3 b, half3 c);
  7373. half4 __ovld __cnfn fma(half4 a, half4 b, half4 c);
  7374. half8 __ovld __cnfn fma(half8 a, half8 b, half8 c);
  7375. half16 __ovld __cnfn fma(half16 a, half16 b, half16 c);
  7376. #endif //cl_khr_fp16
  7377. /**
  7378. * Returns y if x < y, otherwise it returns x. If one
  7379. * argument is a NaN, fmax() returns the other
  7380. * argument. If both arguments are NaNs, fmax()
  7381. * returns a NaN.
  7382. */
  7383. float __ovld __cnfn fmax(float x, float y);
  7384. float2 __ovld __cnfn fmax(float2 x, float2 y);
  7385. float3 __ovld __cnfn fmax(float3 x, float3 y);
  7386. float4 __ovld __cnfn fmax(float4 x, float4 y);
  7387. float8 __ovld __cnfn fmax(float8 x, float8 y);
  7388. float16 __ovld __cnfn fmax(float16 x, float16 y);
  7389. float2 __ovld __cnfn fmax(float2 x, float y);
  7390. float3 __ovld __cnfn fmax(float3 x, float y);
  7391. float4 __ovld __cnfn fmax(float4 x, float y);
  7392. float8 __ovld __cnfn fmax(float8 x, float y);
  7393. float16 __ovld __cnfn fmax(float16 x, float y);
  7394. #ifdef cl_khr_fp64
  7395. double __ovld __cnfn fmax(double x, double y);
  7396. double2 __ovld __cnfn fmax(double2 x, double2 y);
  7397. double3 __ovld __cnfn fmax(double3 x, double3 y);
  7398. double4 __ovld __cnfn fmax(double4 x, double4 y);
  7399. double8 __ovld __cnfn fmax(double8 x, double8 y);
  7400. double16 __ovld __cnfn fmax(double16 x, double16 y);
  7401. double2 __ovld __cnfn fmax(double2 x, double y);
  7402. double3 __ovld __cnfn fmax(double3 x, double y);
  7403. double4 __ovld __cnfn fmax(double4 x, double y);
  7404. double8 __ovld __cnfn fmax(double8 x, double y);
  7405. double16 __ovld __cnfn fmax(double16 x, double y);
  7406. #endif //cl_khr_fp64
  7407. #ifdef cl_khr_fp16
  7408. half __ovld __cnfn fmax(half x, half y);
  7409. half2 __ovld __cnfn fmax(half2 x, half2 y);
  7410. half3 __ovld __cnfn fmax(half3 x, half3 y);
  7411. half4 __ovld __cnfn fmax(half4 x, half4 y);
  7412. half8 __ovld __cnfn fmax(half8 x, half8 y);
  7413. half16 __ovld __cnfn fmax(half16 x, half16 y);
  7414. half2 __ovld __cnfn fmax(half2 x, half y);
  7415. half3 __ovld __cnfn fmax(half3 x, half y);
  7416. half4 __ovld __cnfn fmax(half4 x, half y);
  7417. half8 __ovld __cnfn fmax(half8 x, half y);
  7418. half16 __ovld __cnfn fmax(half16 x, half y);
  7419. #endif //cl_khr_fp16
  7420. /**
  7421. * Returns y if y < x, otherwise it returns x. If one
  7422. * argument is a NaN, fmin() returns the other
  7423. * argument. If both arguments are NaNs, fmin()
  7424. * returns a NaN.
  7425. */
  7426. float __ovld __cnfn fmin(float x, float y);
  7427. float2 __ovld __cnfn fmin(float2 x, float2 y);
  7428. float3 __ovld __cnfn fmin(float3 x, float3 y);
  7429. float4 __ovld __cnfn fmin(float4 x, float4 y);
  7430. float8 __ovld __cnfn fmin(float8 x, float8 y);
  7431. float16 __ovld __cnfn fmin(float16 x, float16 y);
  7432. float2 __ovld __cnfn fmin(float2 x, float y);
  7433. float3 __ovld __cnfn fmin(float3 x, float y);
  7434. float4 __ovld __cnfn fmin(float4 x, float y);
  7435. float8 __ovld __cnfn fmin(float8 x, float y);
  7436. float16 __ovld __cnfn fmin(float16 x, float y);
  7437. #ifdef cl_khr_fp64
  7438. double __ovld __cnfn fmin(double x, double y);
  7439. double2 __ovld __cnfn fmin(double2 x, double2 y);
  7440. double3 __ovld __cnfn fmin(double3 x, double3 y);
  7441. double4 __ovld __cnfn fmin(double4 x, double4 y);
  7442. double8 __ovld __cnfn fmin(double8 x, double8 y);
  7443. double16 __ovld __cnfn fmin(double16 x, double16 y);
  7444. double2 __ovld __cnfn fmin(double2 x, double y);
  7445. double3 __ovld __cnfn fmin(double3 x, double y);
  7446. double4 __ovld __cnfn fmin(double4 x, double y);
  7447. double8 __ovld __cnfn fmin(double8 x, double y);
  7448. double16 __ovld __cnfn fmin(double16 x, double y);
  7449. #endif //cl_khr_fp64
  7450. #ifdef cl_khr_fp16
  7451. half __ovld __cnfn fmin(half x, half y);
  7452. half2 __ovld __cnfn fmin(half2 x, half2 y);
  7453. half3 __ovld __cnfn fmin(half3 x, half3 y);
  7454. half4 __ovld __cnfn fmin(half4 x, half4 y);
  7455. half8 __ovld __cnfn fmin(half8 x, half8 y);
  7456. half16 __ovld __cnfn fmin(half16 x, half16 y);
  7457. half2 __ovld __cnfn fmin(half2 x, half y);
  7458. half3 __ovld __cnfn fmin(half3 x, half y);
  7459. half4 __ovld __cnfn fmin(half4 x, half y);
  7460. half8 __ovld __cnfn fmin(half8 x, half y);
  7461. half16 __ovld __cnfn fmin(half16 x, half y);
  7462. #endif //cl_khr_fp16
  7463. /**
  7464. * Modulus. Returns x - y * trunc (x/y).
  7465. */
  7466. float __ovld __cnfn fmod(float x, float y);
  7467. float2 __ovld __cnfn fmod(float2 x, float2 y);
  7468. float3 __ovld __cnfn fmod(float3 x, float3 y);
  7469. float4 __ovld __cnfn fmod(float4 x, float4 y);
  7470. float8 __ovld __cnfn fmod(float8 x, float8 y);
  7471. float16 __ovld __cnfn fmod(float16 x, float16 y);
  7472. #ifdef cl_khr_fp64
  7473. double __ovld __cnfn fmod(double x, double y);
  7474. double2 __ovld __cnfn fmod(double2 x, double2 y);
  7475. double3 __ovld __cnfn fmod(double3 x, double3 y);
  7476. double4 __ovld __cnfn fmod(double4 x, double4 y);
  7477. double8 __ovld __cnfn fmod(double8 x, double8 y);
  7478. double16 __ovld __cnfn fmod(double16 x, double16 y);
  7479. #endif //cl_khr_fp64
  7480. #ifdef cl_khr_fp16
  7481. half __ovld __cnfn fmod(half x, half y);
  7482. half2 __ovld __cnfn fmod(half2 x, half2 y);
  7483. half3 __ovld __cnfn fmod(half3 x, half3 y);
  7484. half4 __ovld __cnfn fmod(half4 x, half4 y);
  7485. half8 __ovld __cnfn fmod(half8 x, half8 y);
  7486. half16 __ovld __cnfn fmod(half16 x, half16 y);
  7487. #endif //cl_khr_fp16
  7488. /**
  7489. * Returns fmin(x - floor (x), 0x1.fffffep-1f ).
  7490. * floor(x) is returned in iptr.
  7491. */
  7492. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7493. float __ovld fract(float x, float *iptr);
  7494. float2 __ovld fract(float2 x, float2 *iptr);
  7495. float3 __ovld fract(float3 x, float3 *iptr);
  7496. float4 __ovld fract(float4 x, float4 *iptr);
  7497. float8 __ovld fract(float8 x, float8 *iptr);
  7498. float16 __ovld fract(float16 x, float16 *iptr);
  7499. #ifdef cl_khr_fp64
  7500. double __ovld fract(double x, double *iptr);
  7501. double2 __ovld fract(double2 x, double2 *iptr);
  7502. double3 __ovld fract(double3 x, double3 *iptr);
  7503. double4 __ovld fract(double4 x, double4 *iptr);
  7504. double8 __ovld fract(double8 x, double8 *iptr);
  7505. double16 __ovld fract(double16 x, double16 *iptr);
  7506. #endif //cl_khr_fp64
  7507. #ifdef cl_khr_fp16
  7508. half __ovld fract(half x, half *iptr);
  7509. half2 __ovld fract(half2 x, half2 *iptr);
  7510. half3 __ovld fract(half3 x, half3 *iptr);
  7511. half4 __ovld fract(half4 x, half4 *iptr);
  7512. half8 __ovld fract(half8 x, half8 *iptr);
  7513. half16 __ovld fract(half16 x, half16 *iptr);
  7514. #endif //cl_khr_fp16
  7515. #else
  7516. float __ovld fract(float x, __global float *iptr);
  7517. float2 __ovld fract(float2 x, __global float2 *iptr);
  7518. float3 __ovld fract(float3 x, __global float3 *iptr);
  7519. float4 __ovld fract(float4 x, __global float4 *iptr);
  7520. float8 __ovld fract(float8 x, __global float8 *iptr);
  7521. float16 __ovld fract(float16 x, __global float16 *iptr);
  7522. float __ovld fract(float x, __local float *iptr);
  7523. float2 __ovld fract(float2 x, __local float2 *iptr);
  7524. float3 __ovld fract(float3 x, __local float3 *iptr);
  7525. float4 __ovld fract(float4 x, __local float4 *iptr);
  7526. float8 __ovld fract(float8 x, __local float8 *iptr);
  7527. float16 __ovld fract(float16 x, __local float16 *iptr);
  7528. float __ovld fract(float x, __private float *iptr);
  7529. float2 __ovld fract(float2 x, __private float2 *iptr);
  7530. float3 __ovld fract(float3 x, __private float3 *iptr);
  7531. float4 __ovld fract(float4 x, __private float4 *iptr);
  7532. float8 __ovld fract(float8 x, __private float8 *iptr);
  7533. float16 __ovld fract(float16 x, __private float16 *iptr);
  7534. #ifdef cl_khr_fp64
  7535. double __ovld fract(double x, __global double *iptr);
  7536. double2 __ovld fract(double2 x, __global double2 *iptr);
  7537. double3 __ovld fract(double3 x, __global double3 *iptr);
  7538. double4 __ovld fract(double4 x, __global double4 *iptr);
  7539. double8 __ovld fract(double8 x, __global double8 *iptr);
  7540. double16 __ovld fract(double16 x, __global double16 *iptr);
  7541. double __ovld fract(double x, __local double *iptr);
  7542. double2 __ovld fract(double2 x, __local double2 *iptr);
  7543. double3 __ovld fract(double3 x, __local double3 *iptr);
  7544. double4 __ovld fract(double4 x, __local double4 *iptr);
  7545. double8 __ovld fract(double8 x, __local double8 *iptr);
  7546. double16 __ovld fract(double16 x, __local double16 *iptr);
  7547. double __ovld fract(double x, __private double *iptr);
  7548. double2 __ovld fract(double2 x, __private double2 *iptr);
  7549. double3 __ovld fract(double3 x, __private double3 *iptr);
  7550. double4 __ovld fract(double4 x, __private double4 *iptr);
  7551. double8 __ovld fract(double8 x, __private double8 *iptr);
  7552. double16 __ovld fract(double16 x, __private double16 *iptr);
  7553. #endif //cl_khr_fp64
  7554. #ifdef cl_khr_fp16
  7555. half __ovld fract(half x, __global half *iptr);
  7556. half2 __ovld fract(half2 x, __global half2 *iptr);
  7557. half3 __ovld fract(half3 x, __global half3 *iptr);
  7558. half4 __ovld fract(half4 x, __global half4 *iptr);
  7559. half8 __ovld fract(half8 x, __global half8 *iptr);
  7560. half16 __ovld fract(half16 x, __global half16 *iptr);
  7561. half __ovld fract(half x, __local half *iptr);
  7562. half2 __ovld fract(half2 x, __local half2 *iptr);
  7563. half3 __ovld fract(half3 x, __local half3 *iptr);
  7564. half4 __ovld fract(half4 x, __local half4 *iptr);
  7565. half8 __ovld fract(half8 x, __local half8 *iptr);
  7566. half16 __ovld fract(half16 x, __local half16 *iptr);
  7567. half __ovld fract(half x, __private half *iptr);
  7568. half2 __ovld fract(half2 x, __private half2 *iptr);
  7569. half3 __ovld fract(half3 x, __private half3 *iptr);
  7570. half4 __ovld fract(half4 x, __private half4 *iptr);
  7571. half8 __ovld fract(half8 x, __private half8 *iptr);
  7572. half16 __ovld fract(half16 x, __private half16 *iptr);
  7573. #endif //cl_khr_fp16
  7574. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7575. /**
  7576. * Extract mantissa and exponent from x. For each
  7577. * component the mantissa returned is a float with
  7578. * magnitude in the interval [1/2, 1) or 0. Each
  7579. * component of x equals mantissa returned * 2^exp.
  7580. */
  7581. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7582. float __ovld frexp(float x, int *exp);
  7583. float2 __ovld frexp(float2 x, int2 *exp);
  7584. float3 __ovld frexp(float3 x, int3 *exp);
  7585. float4 __ovld frexp(float4 x, int4 *exp);
  7586. float8 __ovld frexp(float8 x, int8 *exp);
  7587. float16 __ovld frexp(float16 x, int16 *exp);
  7588. #ifdef cl_khr_fp64
  7589. double __ovld frexp(double x, int *exp);
  7590. double2 __ovld frexp(double2 x, int2 *exp);
  7591. double3 __ovld frexp(double3 x, int3 *exp);
  7592. double4 __ovld frexp(double4 x, int4 *exp);
  7593. double8 __ovld frexp(double8 x, int8 *exp);
  7594. double16 __ovld frexp(double16 x, int16 *exp);
  7595. #endif //cl_khr_fp64
  7596. #ifdef cl_khr_fp16
  7597. half __ovld frexp(half x, int *exp);
  7598. half2 __ovld frexp(half2 x, int2 *exp);
  7599. half3 __ovld frexp(half3 x, int3 *exp);
  7600. half4 __ovld frexp(half4 x, int4 *exp);
  7601. half8 __ovld frexp(half8 x, int8 *exp);
  7602. half16 __ovld frexp(half16 x, int16 *exp);
  7603. #endif //cl_khr_fp16
  7604. #else
  7605. float __ovld frexp(float x, __global int *exp);
  7606. float2 __ovld frexp(float2 x, __global int2 *exp);
  7607. float3 __ovld frexp(float3 x, __global int3 *exp);
  7608. float4 __ovld frexp(float4 x, __global int4 *exp);
  7609. float8 __ovld frexp(float8 x, __global int8 *exp);
  7610. float16 __ovld frexp(float16 x, __global int16 *exp);
  7611. float __ovld frexp(float x, __local int *exp);
  7612. float2 __ovld frexp(float2 x, __local int2 *exp);
  7613. float3 __ovld frexp(float3 x, __local int3 *exp);
  7614. float4 __ovld frexp(float4 x, __local int4 *exp);
  7615. float8 __ovld frexp(float8 x, __local int8 *exp);
  7616. float16 __ovld frexp(float16 x, __local int16 *exp);
  7617. float __ovld frexp(float x, __private int *exp);
  7618. float2 __ovld frexp(float2 x, __private int2 *exp);
  7619. float3 __ovld frexp(float3 x, __private int3 *exp);
  7620. float4 __ovld frexp(float4 x, __private int4 *exp);
  7621. float8 __ovld frexp(float8 x, __private int8 *exp);
  7622. float16 __ovld frexp(float16 x, __private int16 *exp);
  7623. #ifdef cl_khr_fp64
  7624. double __ovld frexp(double x, __global int *exp);
  7625. double2 __ovld frexp(double2 x, __global int2 *exp);
  7626. double3 __ovld frexp(double3 x, __global int3 *exp);
  7627. double4 __ovld frexp(double4 x, __global int4 *exp);
  7628. double8 __ovld frexp(double8 x, __global int8 *exp);
  7629. double16 __ovld frexp(double16 x, __global int16 *exp);
  7630. double __ovld frexp(double x, __local int *exp);
  7631. double2 __ovld frexp(double2 x, __local int2 *exp);
  7632. double3 __ovld frexp(double3 x, __local int3 *exp);
  7633. double4 __ovld frexp(double4 x, __local int4 *exp);
  7634. double8 __ovld frexp(double8 x, __local int8 *exp);
  7635. double16 __ovld frexp(double16 x, __local int16 *exp);
  7636. double __ovld frexp(double x, __private int *exp);
  7637. double2 __ovld frexp(double2 x, __private int2 *exp);
  7638. double3 __ovld frexp(double3 x, __private int3 *exp);
  7639. double4 __ovld frexp(double4 x, __private int4 *exp);
  7640. double8 __ovld frexp(double8 x, __private int8 *exp);
  7641. double16 __ovld frexp(double16 x, __private int16 *exp);
  7642. #endif //cl_khr_fp64
  7643. #ifdef cl_khr_fp16
  7644. half __ovld frexp(half x, __global int *exp);
  7645. half2 __ovld frexp(half2 x, __global int2 *exp);
  7646. half3 __ovld frexp(half3 x, __global int3 *exp);
  7647. half4 __ovld frexp(half4 x, __global int4 *exp);
  7648. half8 __ovld frexp(half8 x, __global int8 *exp);
  7649. half16 __ovld frexp(half16 x, __global int16 *exp);
  7650. half __ovld frexp(half x, __local int *exp);
  7651. half2 __ovld frexp(half2 x, __local int2 *exp);
  7652. half3 __ovld frexp(half3 x, __local int3 *exp);
  7653. half4 __ovld frexp(half4 x, __local int4 *exp);
  7654. half8 __ovld frexp(half8 x, __local int8 *exp);
  7655. half16 __ovld frexp(half16 x, __local int16 *exp);
  7656. half __ovld frexp(half x, __private int *exp);
  7657. half2 __ovld frexp(half2 x, __private int2 *exp);
  7658. half3 __ovld frexp(half3 x, __private int3 *exp);
  7659. half4 __ovld frexp(half4 x, __private int4 *exp);
  7660. half8 __ovld frexp(half8 x, __private int8 *exp);
  7661. half16 __ovld frexp(half16 x, __private int16 *exp);
  7662. #endif //cl_khr_fp16
  7663. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7664. /**
  7665. * Compute the value of the square root of x^2 + y^2
  7666. * without undue overflow or underflow.
  7667. */
  7668. float __ovld __cnfn hypot(float x, float y);
  7669. float2 __ovld __cnfn hypot(float2 x, float2 y);
  7670. float3 __ovld __cnfn hypot(float3 x, float3 y);
  7671. float4 __ovld __cnfn hypot(float4 x, float4 y);
  7672. float8 __ovld __cnfn hypot(float8 x, float8 y);
  7673. float16 __ovld __cnfn hypot(float16 x, float16 y);
  7674. #ifdef cl_khr_fp64
  7675. double __ovld __cnfn hypot(double x, double y);
  7676. double2 __ovld __cnfn hypot(double2 x, double2 y);
  7677. double3 __ovld __cnfn hypot(double3 x, double3 y);
  7678. double4 __ovld __cnfn hypot(double4 x, double4 y);
  7679. double8 __ovld __cnfn hypot(double8 x, double8 y);
  7680. double16 __ovld __cnfn hypot(double16 x, double16 y);
  7681. #endif //cl_khr_fp64
  7682. #ifdef cl_khr_fp16
  7683. half __ovld __cnfn hypot(half x, half y);
  7684. half2 __ovld __cnfn hypot(half2 x, half2 y);
  7685. half3 __ovld __cnfn hypot(half3 x, half3 y);
  7686. half4 __ovld __cnfn hypot(half4 x, half4 y);
  7687. half8 __ovld __cnfn hypot(half8 x, half8 y);
  7688. half16 __ovld __cnfn hypot(half16 x, half16 y);
  7689. #endif //cl_khr_fp16
  7690. /**
  7691. * Return the exponent as an integer value.
  7692. */
  7693. int __ovld __cnfn ilogb(float x);
  7694. int2 __ovld __cnfn ilogb(float2 x);
  7695. int3 __ovld __cnfn ilogb(float3 x);
  7696. int4 __ovld __cnfn ilogb(float4 x);
  7697. int8 __ovld __cnfn ilogb(float8 x);
  7698. int16 __ovld __cnfn ilogb(float16 x);
  7699. #ifdef cl_khr_fp64
  7700. int __ovld __cnfn ilogb(double x);
  7701. int2 __ovld __cnfn ilogb(double2 x);
  7702. int3 __ovld __cnfn ilogb(double3 x);
  7703. int4 __ovld __cnfn ilogb(double4 x);
  7704. int8 __ovld __cnfn ilogb(double8 x);
  7705. int16 __ovld __cnfn ilogb(double16 x);
  7706. #endif //cl_khr_fp64
  7707. #ifdef cl_khr_fp16
  7708. int __ovld __cnfn ilogb(half x);
  7709. int2 __ovld __cnfn ilogb(half2 x);
  7710. int3 __ovld __cnfn ilogb(half3 x);
  7711. int4 __ovld __cnfn ilogb(half4 x);
  7712. int8 __ovld __cnfn ilogb(half8 x);
  7713. int16 __ovld __cnfn ilogb(half16 x);
  7714. #endif //cl_khr_fp16
  7715. /**
  7716. * Multiply x by 2 to the power n.
  7717. */
  7718. float __ovld __cnfn ldexp(float x, int n);
  7719. float2 __ovld __cnfn ldexp(float2 x, int2 n);
  7720. float3 __ovld __cnfn ldexp(float3 x, int3 n);
  7721. float4 __ovld __cnfn ldexp(float4 x, int4 n);
  7722. float8 __ovld __cnfn ldexp(float8 x, int8 n);
  7723. float16 __ovld __cnfn ldexp(float16 x, int16 n);
  7724. float2 __ovld __cnfn ldexp(float2 x, int n);
  7725. float3 __ovld __cnfn ldexp(float3 x, int n);
  7726. float4 __ovld __cnfn ldexp(float4 x, int n);
  7727. float8 __ovld __cnfn ldexp(float8 x, int n);
  7728. float16 __ovld __cnfn ldexp(float16 x, int n);
  7729. #ifdef cl_khr_fp64
  7730. double __ovld __cnfn ldexp(double x, int n);
  7731. double2 __ovld __cnfn ldexp(double2 x, int2 n);
  7732. double3 __ovld __cnfn ldexp(double3 x, int3 n);
  7733. double4 __ovld __cnfn ldexp(double4 x, int4 n);
  7734. double8 __ovld __cnfn ldexp(double8 x, int8 n);
  7735. double16 __ovld __cnfn ldexp(double16 x, int16 n);
  7736. double2 __ovld __cnfn ldexp(double2 x, int n);
  7737. double3 __ovld __cnfn ldexp(double3 x, int n);
  7738. double4 __ovld __cnfn ldexp(double4 x, int n);
  7739. double8 __ovld __cnfn ldexp(double8 x, int n);
  7740. double16 __ovld __cnfn ldexp(double16 x, int n);
  7741. #endif //cl_khr_fp64
  7742. #ifdef cl_khr_fp16
  7743. half __ovld __cnfn ldexp(half x, int n);
  7744. half2 __ovld __cnfn ldexp(half2 x, int2 n);
  7745. half3 __ovld __cnfn ldexp(half3 x, int3 n);
  7746. half4 __ovld __cnfn ldexp(half4 x, int4 n);
  7747. half8 __ovld __cnfn ldexp(half8 x, int8 n);
  7748. half16 __ovld __cnfn ldexp(half16 x, int16 n);
  7749. half2 __ovld __cnfn ldexp(half2 x, int n);
  7750. half3 __ovld __cnfn ldexp(half3 x, int n);
  7751. half4 __ovld __cnfn ldexp(half4 x, int n);
  7752. half8 __ovld __cnfn ldexp(half8 x, int n);
  7753. half16 __ovld __cnfn ldexp(half16 x, int n);
  7754. #endif //cl_khr_fp16
  7755. /**
  7756. * Log gamma function. Returns the natural
  7757. * logarithm of the absolute value of the gamma
  7758. * function. The sign of the gamma function is
  7759. * returned in the signp argument of lgamma_r.
  7760. */
  7761. float __ovld __cnfn lgamma(float x);
  7762. float2 __ovld __cnfn lgamma(float2 x);
  7763. float3 __ovld __cnfn lgamma(float3 x);
  7764. float4 __ovld __cnfn lgamma(float4 x);
  7765. float8 __ovld __cnfn lgamma(float8 x);
  7766. float16 __ovld __cnfn lgamma(float16 x);
  7767. #ifdef cl_khr_fp64
  7768. double __ovld __cnfn lgamma(double x);
  7769. double2 __ovld __cnfn lgamma(double2 x);
  7770. double3 __ovld __cnfn lgamma(double3 x);
  7771. double4 __ovld __cnfn lgamma(double4 x);
  7772. double8 __ovld __cnfn lgamma(double8 x);
  7773. double16 __ovld __cnfn lgamma(double16 x);
  7774. #endif //cl_khr_fp64
  7775. #ifdef cl_khr_fp16
  7776. half __ovld __cnfn lgamma(half x);
  7777. half2 __ovld __cnfn lgamma(half2 x);
  7778. half3 __ovld __cnfn lgamma(half3 x);
  7779. half4 __ovld __cnfn lgamma(half4 x);
  7780. half8 __ovld __cnfn lgamma(half8 x);
  7781. half16 __ovld __cnfn lgamma(half16 x);
  7782. #endif //cl_khr_fp16
  7783. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7784. float __ovld lgamma_r(float x, int *signp);
  7785. float2 __ovld lgamma_r(float2 x, int2 *signp);
  7786. float3 __ovld lgamma_r(float3 x, int3 *signp);
  7787. float4 __ovld lgamma_r(float4 x, int4 *signp);
  7788. float8 __ovld lgamma_r(float8 x, int8 *signp);
  7789. float16 __ovld lgamma_r(float16 x, int16 *signp);
  7790. #ifdef cl_khr_fp64
  7791. double __ovld lgamma_r(double x, int *signp);
  7792. double2 __ovld lgamma_r(double2 x, int2 *signp);
  7793. double3 __ovld lgamma_r(double3 x, int3 *signp);
  7794. double4 __ovld lgamma_r(double4 x, int4 *signp);
  7795. double8 __ovld lgamma_r(double8 x, int8 *signp);
  7796. double16 __ovld lgamma_r(double16 x, int16 *signp);
  7797. #endif //cl_khr_fp64
  7798. #ifdef cl_khr_fp16
  7799. half __ovld lgamma_r(half x, int *signp);
  7800. half2 __ovld lgamma_r(half2 x, int2 *signp);
  7801. half3 __ovld lgamma_r(half3 x, int3 *signp);
  7802. half4 __ovld lgamma_r(half4 x, int4 *signp);
  7803. half8 __ovld lgamma_r(half8 x, int8 *signp);
  7804. half16 __ovld lgamma_r(half16 x, int16 *signp);
  7805. #endif //cl_khr_fp16
  7806. #else
  7807. float __ovld lgamma_r(float x, __global int *signp);
  7808. float2 __ovld lgamma_r(float2 x, __global int2 *signp);
  7809. float3 __ovld lgamma_r(float3 x, __global int3 *signp);
  7810. float4 __ovld lgamma_r(float4 x, __global int4 *signp);
  7811. float8 __ovld lgamma_r(float8 x, __global int8 *signp);
  7812. float16 __ovld lgamma_r(float16 x, __global int16 *signp);
  7813. float __ovld lgamma_r(float x, __local int *signp);
  7814. float2 __ovld lgamma_r(float2 x, __local int2 *signp);
  7815. float3 __ovld lgamma_r(float3 x, __local int3 *signp);
  7816. float4 __ovld lgamma_r(float4 x, __local int4 *signp);
  7817. float8 __ovld lgamma_r(float8 x, __local int8 *signp);
  7818. float16 __ovld lgamma_r(float16 x, __local int16 *signp);
  7819. float __ovld lgamma_r(float x, __private int *signp);
  7820. float2 __ovld lgamma_r(float2 x, __private int2 *signp);
  7821. float3 __ovld lgamma_r(float3 x, __private int3 *signp);
  7822. float4 __ovld lgamma_r(float4 x, __private int4 *signp);
  7823. float8 __ovld lgamma_r(float8 x, __private int8 *signp);
  7824. float16 __ovld lgamma_r(float16 x, __private int16 *signp);
  7825. #ifdef cl_khr_fp64
  7826. double __ovld lgamma_r(double x, __global int *signp);
  7827. double2 __ovld lgamma_r(double2 x, __global int2 *signp);
  7828. double3 __ovld lgamma_r(double3 x, __global int3 *signp);
  7829. double4 __ovld lgamma_r(double4 x, __global int4 *signp);
  7830. double8 __ovld lgamma_r(double8 x, __global int8 *signp);
  7831. double16 __ovld lgamma_r(double16 x, __global int16 *signp);
  7832. double __ovld lgamma_r(double x, __local int *signp);
  7833. double2 __ovld lgamma_r(double2 x, __local int2 *signp);
  7834. double3 __ovld lgamma_r(double3 x, __local int3 *signp);
  7835. double4 __ovld lgamma_r(double4 x, __local int4 *signp);
  7836. double8 __ovld lgamma_r(double8 x, __local int8 *signp);
  7837. double16 __ovld lgamma_r(double16 x, __local int16 *signp);
  7838. double __ovld lgamma_r(double x, __private int *signp);
  7839. double2 __ovld lgamma_r(double2 x, __private int2 *signp);
  7840. double3 __ovld lgamma_r(double3 x, __private int3 *signp);
  7841. double4 __ovld lgamma_r(double4 x, __private int4 *signp);
  7842. double8 __ovld lgamma_r(double8 x, __private int8 *signp);
  7843. double16 __ovld lgamma_r(double16 x, __private int16 *signp);
  7844. #endif //cl_khr_fp64
  7845. #ifdef cl_khr_fp16
  7846. half __ovld lgamma_r(half x, __global int *signp);
  7847. half2 __ovld lgamma_r(half2 x, __global int2 *signp);
  7848. half3 __ovld lgamma_r(half3 x, __global int3 *signp);
  7849. half4 __ovld lgamma_r(half4 x, __global int4 *signp);
  7850. half8 __ovld lgamma_r(half8 x, __global int8 *signp);
  7851. half16 __ovld lgamma_r(half16 x, __global int16 *signp);
  7852. half __ovld lgamma_r(half x, __local int *signp);
  7853. half2 __ovld lgamma_r(half2 x, __local int2 *signp);
  7854. half3 __ovld lgamma_r(half3 x, __local int3 *signp);
  7855. half4 __ovld lgamma_r(half4 x, __local int4 *signp);
  7856. half8 __ovld lgamma_r(half8 x, __local int8 *signp);
  7857. half16 __ovld lgamma_r(half16 x, __local int16 *signp);
  7858. half __ovld lgamma_r(half x, __private int *signp);
  7859. half2 __ovld lgamma_r(half2 x, __private int2 *signp);
  7860. half3 __ovld lgamma_r(half3 x, __private int3 *signp);
  7861. half4 __ovld lgamma_r(half4 x, __private int4 *signp);
  7862. half8 __ovld lgamma_r(half8 x, __private int8 *signp);
  7863. half16 __ovld lgamma_r(half16 x, __private int16 *signp);
  7864. #endif //cl_khr_fp16
  7865. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  7866. /**
  7867. * Compute natural logarithm.
  7868. */
  7869. float __ovld __cnfn log(float);
  7870. float2 __ovld __cnfn log(float2);
  7871. float3 __ovld __cnfn log(float3);
  7872. float4 __ovld __cnfn log(float4);
  7873. float8 __ovld __cnfn log(float8);
  7874. float16 __ovld __cnfn log(float16);
  7875. #ifdef cl_khr_fp64
  7876. double __ovld __cnfn log(double);
  7877. double2 __ovld __cnfn log(double2);
  7878. double3 __ovld __cnfn log(double3);
  7879. double4 __ovld __cnfn log(double4);
  7880. double8 __ovld __cnfn log(double8);
  7881. double16 __ovld __cnfn log(double16);
  7882. #endif //cl_khr_fp64
  7883. #ifdef cl_khr_fp16
  7884. half __ovld __cnfn log(half);
  7885. half2 __ovld __cnfn log(half2);
  7886. half3 __ovld __cnfn log(half3);
  7887. half4 __ovld __cnfn log(half4);
  7888. half8 __ovld __cnfn log(half8);
  7889. half16 __ovld __cnfn log(half16);
  7890. #endif //cl_khr_fp16
  7891. /**
  7892. * Compute a base 2 logarithm.
  7893. */
  7894. float __ovld __cnfn log2(float);
  7895. float2 __ovld __cnfn log2(float2);
  7896. float3 __ovld __cnfn log2(float3);
  7897. float4 __ovld __cnfn log2(float4);
  7898. float8 __ovld __cnfn log2(float8);
  7899. float16 __ovld __cnfn log2(float16);
  7900. #ifdef cl_khr_fp64
  7901. double __ovld __cnfn log2(double);
  7902. double2 __ovld __cnfn log2(double2);
  7903. double3 __ovld __cnfn log2(double3);
  7904. double4 __ovld __cnfn log2(double4);
  7905. double8 __ovld __cnfn log2(double8);
  7906. double16 __ovld __cnfn log2(double16);
  7907. #endif //cl_khr_fp64
  7908. #ifdef cl_khr_fp16
  7909. half __ovld __cnfn log2(half);
  7910. half2 __ovld __cnfn log2(half2);
  7911. half3 __ovld __cnfn log2(half3);
  7912. half4 __ovld __cnfn log2(half4);
  7913. half8 __ovld __cnfn log2(half8);
  7914. half16 __ovld __cnfn log2(half16);
  7915. #endif //cl_khr_fp16
  7916. /**
  7917. * Compute a base 10 logarithm.
  7918. */
  7919. float __ovld __cnfn log10(float);
  7920. float2 __ovld __cnfn log10(float2);
  7921. float3 __ovld __cnfn log10(float3);
  7922. float4 __ovld __cnfn log10(float4);
  7923. float8 __ovld __cnfn log10(float8);
  7924. float16 __ovld __cnfn log10(float16);
  7925. #ifdef cl_khr_fp64
  7926. double __ovld __cnfn log10(double);
  7927. double2 __ovld __cnfn log10(double2);
  7928. double3 __ovld __cnfn log10(double3);
  7929. double4 __ovld __cnfn log10(double4);
  7930. double8 __ovld __cnfn log10(double8);
  7931. double16 __ovld __cnfn log10(double16);
  7932. #endif //cl_khr_fp64
  7933. #ifdef cl_khr_fp16
  7934. half __ovld __cnfn log10(half);
  7935. half2 __ovld __cnfn log10(half2);
  7936. half3 __ovld __cnfn log10(half3);
  7937. half4 __ovld __cnfn log10(half4);
  7938. half8 __ovld __cnfn log10(half8);
  7939. half16 __ovld __cnfn log10(half16);
  7940. #endif //cl_khr_fp16
  7941. /**
  7942. * Compute a base e logarithm of (1.0 + x).
  7943. */
  7944. float __ovld __cnfn log1p(float x);
  7945. float2 __ovld __cnfn log1p(float2 x);
  7946. float3 __ovld __cnfn log1p(float3 x);
  7947. float4 __ovld __cnfn log1p(float4 x);
  7948. float8 __ovld __cnfn log1p(float8 x);
  7949. float16 __ovld __cnfn log1p(float16 x);
  7950. #ifdef cl_khr_fp64
  7951. double __ovld __cnfn log1p(double x);
  7952. double2 __ovld __cnfn log1p(double2 x);
  7953. double3 __ovld __cnfn log1p(double3 x);
  7954. double4 __ovld __cnfn log1p(double4 x);
  7955. double8 __ovld __cnfn log1p(double8 x);
  7956. double16 __ovld __cnfn log1p(double16 x);
  7957. #endif //cl_khr_fp64
  7958. #ifdef cl_khr_fp16
  7959. half __ovld __cnfn log1p(half x);
  7960. half2 __ovld __cnfn log1p(half2 x);
  7961. half3 __ovld __cnfn log1p(half3 x);
  7962. half4 __ovld __cnfn log1p(half4 x);
  7963. half8 __ovld __cnfn log1p(half8 x);
  7964. half16 __ovld __cnfn log1p(half16 x);
  7965. #endif //cl_khr_fp16
  7966. /**
  7967. * Compute the exponent of x, which is the integral
  7968. * part of logr | x |.
  7969. */
  7970. float __ovld __cnfn logb(float x);
  7971. float2 __ovld __cnfn logb(float2 x);
  7972. float3 __ovld __cnfn logb(float3 x);
  7973. float4 __ovld __cnfn logb(float4 x);
  7974. float8 __ovld __cnfn logb(float8 x);
  7975. float16 __ovld __cnfn logb(float16 x);
  7976. #ifdef cl_khr_fp64
  7977. double __ovld __cnfn logb(double x);
  7978. double2 __ovld __cnfn logb(double2 x);
  7979. double3 __ovld __cnfn logb(double3 x);
  7980. double4 __ovld __cnfn logb(double4 x);
  7981. double8 __ovld __cnfn logb(double8 x);
  7982. double16 __ovld __cnfn logb(double16 x);
  7983. #endif //cl_khr_fp64
  7984. #ifdef cl_khr_fp16
  7985. half __ovld __cnfn logb(half x);
  7986. half2 __ovld __cnfn logb(half2 x);
  7987. half3 __ovld __cnfn logb(half3 x);
  7988. half4 __ovld __cnfn logb(half4 x);
  7989. half8 __ovld __cnfn logb(half8 x);
  7990. half16 __ovld __cnfn logb(half16 x);
  7991. #endif //cl_khr_fp16
  7992. /**
  7993. * mad approximates a * b + c. Whether or how the
  7994. * product of a * b is rounded and how supernormal or
  7995. * subnormal intermediate products are handled is not
  7996. * defined. mad is intended to be used where speed is
  7997. * preferred over accuracy.
  7998. */
  7999. float __ovld __cnfn mad(float a, float b, float c);
  8000. float2 __ovld __cnfn mad(float2 a, float2 b, float2 c);
  8001. float3 __ovld __cnfn mad(float3 a, float3 b, float3 c);
  8002. float4 __ovld __cnfn mad(float4 a, float4 b, float4 c);
  8003. float8 __ovld __cnfn mad(float8 a, float8 b, float8 c);
  8004. float16 __ovld __cnfn mad(float16 a, float16 b, float16 c);
  8005. #ifdef cl_khr_fp64
  8006. double __ovld __cnfn mad(double a, double b, double c);
  8007. double2 __ovld __cnfn mad(double2 a, double2 b, double2 c);
  8008. double3 __ovld __cnfn mad(double3 a, double3 b, double3 c);
  8009. double4 __ovld __cnfn mad(double4 a, double4 b, double4 c);
  8010. double8 __ovld __cnfn mad(double8 a, double8 b, double8 c);
  8011. double16 __ovld __cnfn mad(double16 a, double16 b, double16 c);
  8012. #endif //cl_khr_fp64
  8013. #ifdef cl_khr_fp16
  8014. half __ovld __cnfn mad(half a, half b, half c);
  8015. half2 __ovld __cnfn mad(half2 a, half2 b, half2 c);
  8016. half3 __ovld __cnfn mad(half3 a, half3 b, half3 c);
  8017. half4 __ovld __cnfn mad(half4 a, half4 b, half4 c);
  8018. half8 __ovld __cnfn mad(half8 a, half8 b, half8 c);
  8019. half16 __ovld __cnfn mad(half16 a, half16 b, half16 c);
  8020. #endif //cl_khr_fp16
  8021. /**
  8022. * Returns x if | x | > | y |, y if | y | > | x |, otherwise
  8023. * fmax(x, y).
  8024. */
  8025. float __ovld __cnfn maxmag(float x, float y);
  8026. float2 __ovld __cnfn maxmag(float2 x, float2 y);
  8027. float3 __ovld __cnfn maxmag(float3 x, float3 y);
  8028. float4 __ovld __cnfn maxmag(float4 x, float4 y);
  8029. float8 __ovld __cnfn maxmag(float8 x, float8 y);
  8030. float16 __ovld __cnfn maxmag(float16 x, float16 y);
  8031. #ifdef cl_khr_fp64
  8032. double __ovld __cnfn maxmag(double x, double y);
  8033. double2 __ovld __cnfn maxmag(double2 x, double2 y);
  8034. double3 __ovld __cnfn maxmag(double3 x, double3 y);
  8035. double4 __ovld __cnfn maxmag(double4 x, double4 y);
  8036. double8 __ovld __cnfn maxmag(double8 x, double8 y);
  8037. double16 __ovld __cnfn maxmag(double16 x, double16 y);
  8038. #endif //cl_khr_fp64
  8039. #ifdef cl_khr_fp16
  8040. half __ovld __cnfn maxmag(half x, half y);
  8041. half2 __ovld __cnfn maxmag(half2 x, half2 y);
  8042. half3 __ovld __cnfn maxmag(half3 x, half3 y);
  8043. half4 __ovld __cnfn maxmag(half4 x, half4 y);
  8044. half8 __ovld __cnfn maxmag(half8 x, half8 y);
  8045. half16 __ovld __cnfn maxmag(half16 x, half16 y);
  8046. #endif //cl_khr_fp16
  8047. /**
  8048. * Returns x if | x | < | y |, y if | y | < | x |, otherwise
  8049. * fmin(x, y).
  8050. */
  8051. float __ovld __cnfn minmag(float x, float y);
  8052. float2 __ovld __cnfn minmag(float2 x, float2 y);
  8053. float3 __ovld __cnfn minmag(float3 x, float3 y);
  8054. float4 __ovld __cnfn minmag(float4 x, float4 y);
  8055. float8 __ovld __cnfn minmag(float8 x, float8 y);
  8056. float16 __ovld __cnfn minmag(float16 x, float16 y);
  8057. #ifdef cl_khr_fp64
  8058. double __ovld __cnfn minmag(double x, double y);
  8059. double2 __ovld __cnfn minmag(double2 x, double2 y);
  8060. double3 __ovld __cnfn minmag(double3 x, double3 y);
  8061. double4 __ovld __cnfn minmag(double4 x, double4 y);
  8062. double8 __ovld __cnfn minmag(double8 x, double8 y);
  8063. double16 __ovld __cnfn minmag(double16 x, double16 y);
  8064. #endif //cl_khr_fp64
  8065. #ifdef cl_khr_fp16
  8066. half __ovld __cnfn minmag(half x, half y);
  8067. half2 __ovld __cnfn minmag(half2 x, half2 y);
  8068. half3 __ovld __cnfn minmag(half3 x, half3 y);
  8069. half4 __ovld __cnfn minmag(half4 x, half4 y);
  8070. half8 __ovld __cnfn minmag(half8 x, half8 y);
  8071. half16 __ovld __cnfn minmag(half16 x, half16 y);
  8072. #endif //cl_khr_fp16
  8073. /**
  8074. * Decompose a floating-point number. The modf
  8075. * function breaks the argument x into integral and
  8076. * fractional parts, each of which has the same sign as
  8077. * the argument. It stores the integral part in the object
  8078. * pointed to by iptr.
  8079. */
  8080. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8081. float __ovld modf(float x, float *iptr);
  8082. float2 __ovld modf(float2 x, float2 *iptr);
  8083. float3 __ovld modf(float3 x, float3 *iptr);
  8084. float4 __ovld modf(float4 x, float4 *iptr);
  8085. float8 __ovld modf(float8 x, float8 *iptr);
  8086. float16 __ovld modf(float16 x, float16 *iptr);
  8087. #ifdef cl_khr_fp64
  8088. double __ovld modf(double x, double *iptr);
  8089. double2 __ovld modf(double2 x, double2 *iptr);
  8090. double3 __ovld modf(double3 x, double3 *iptr);
  8091. double4 __ovld modf(double4 x, double4 *iptr);
  8092. double8 __ovld modf(double8 x, double8 *iptr);
  8093. double16 __ovld modf(double16 x, double16 *iptr);
  8094. #endif //cl_khr_fp64
  8095. #ifdef cl_khr_fp16
  8096. half __ovld modf(half x, half *iptr);
  8097. half2 __ovld modf(half2 x, half2 *iptr);
  8098. half3 __ovld modf(half3 x, half3 *iptr);
  8099. half4 __ovld modf(half4 x, half4 *iptr);
  8100. half8 __ovld modf(half8 x, half8 *iptr);
  8101. half16 __ovld modf(half16 x, half16 *iptr);
  8102. #endif //cl_khr_fp16
  8103. #else
  8104. float __ovld modf(float x, __global float *iptr);
  8105. float2 __ovld modf(float2 x, __global float2 *iptr);
  8106. float3 __ovld modf(float3 x, __global float3 *iptr);
  8107. float4 __ovld modf(float4 x, __global float4 *iptr);
  8108. float8 __ovld modf(float8 x, __global float8 *iptr);
  8109. float16 __ovld modf(float16 x, __global float16 *iptr);
  8110. float __ovld modf(float x, __local float *iptr);
  8111. float2 __ovld modf(float2 x, __local float2 *iptr);
  8112. float3 __ovld modf(float3 x, __local float3 *iptr);
  8113. float4 __ovld modf(float4 x, __local float4 *iptr);
  8114. float8 __ovld modf(float8 x, __local float8 *iptr);
  8115. float16 __ovld modf(float16 x, __local float16 *iptr);
  8116. float __ovld modf(float x, __private float *iptr);
  8117. float2 __ovld modf(float2 x, __private float2 *iptr);
  8118. float3 __ovld modf(float3 x, __private float3 *iptr);
  8119. float4 __ovld modf(float4 x, __private float4 *iptr);
  8120. float8 __ovld modf(float8 x, __private float8 *iptr);
  8121. float16 __ovld modf(float16 x, __private float16 *iptr);
  8122. #ifdef cl_khr_fp64
  8123. double __ovld modf(double x, __global double *iptr);
  8124. double2 __ovld modf(double2 x, __global double2 *iptr);
  8125. double3 __ovld modf(double3 x, __global double3 *iptr);
  8126. double4 __ovld modf(double4 x, __global double4 *iptr);
  8127. double8 __ovld modf(double8 x, __global double8 *iptr);
  8128. double16 __ovld modf(double16 x, __global double16 *iptr);
  8129. double __ovld modf(double x, __local double *iptr);
  8130. double2 __ovld modf(double2 x, __local double2 *iptr);
  8131. double3 __ovld modf(double3 x, __local double3 *iptr);
  8132. double4 __ovld modf(double4 x, __local double4 *iptr);
  8133. double8 __ovld modf(double8 x, __local double8 *iptr);
  8134. double16 __ovld modf(double16 x, __local double16 *iptr);
  8135. double __ovld modf(double x, __private double *iptr);
  8136. double2 __ovld modf(double2 x, __private double2 *iptr);
  8137. double3 __ovld modf(double3 x, __private double3 *iptr);
  8138. double4 __ovld modf(double4 x, __private double4 *iptr);
  8139. double8 __ovld modf(double8 x, __private double8 *iptr);
  8140. double16 __ovld modf(double16 x, __private double16 *iptr);
  8141. #endif //cl_khr_fp64
  8142. #ifdef cl_khr_fp16
  8143. half __ovld modf(half x, __global half *iptr);
  8144. half2 __ovld modf(half2 x, __global half2 *iptr);
  8145. half3 __ovld modf(half3 x, __global half3 *iptr);
  8146. half4 __ovld modf(half4 x, __global half4 *iptr);
  8147. half8 __ovld modf(half8 x, __global half8 *iptr);
  8148. half16 __ovld modf(half16 x, __global half16 *iptr);
  8149. half __ovld modf(half x, __local half *iptr);
  8150. half2 __ovld modf(half2 x, __local half2 *iptr);
  8151. half3 __ovld modf(half3 x, __local half3 *iptr);
  8152. half4 __ovld modf(half4 x, __local half4 *iptr);
  8153. half8 __ovld modf(half8 x, __local half8 *iptr);
  8154. half16 __ovld modf(half16 x, __local half16 *iptr);
  8155. half __ovld modf(half x, __private half *iptr);
  8156. half2 __ovld modf(half2 x, __private half2 *iptr);
  8157. half3 __ovld modf(half3 x, __private half3 *iptr);
  8158. half4 __ovld modf(half4 x, __private half4 *iptr);
  8159. half8 __ovld modf(half8 x, __private half8 *iptr);
  8160. half16 __ovld modf(half16 x, __private half16 *iptr);
  8161. #endif //cl_khr_fp16
  8162. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8163. /**
  8164. * Returns a quiet NaN. The nancode may be placed
  8165. * in the significand of the resulting NaN.
  8166. */
  8167. float __ovld __cnfn nan(uint nancode);
  8168. float2 __ovld __cnfn nan(uint2 nancode);
  8169. float3 __ovld __cnfn nan(uint3 nancode);
  8170. float4 __ovld __cnfn nan(uint4 nancode);
  8171. float8 __ovld __cnfn nan(uint8 nancode);
  8172. float16 __ovld __cnfn nan(uint16 nancode);
  8173. #ifdef cl_khr_fp64
  8174. double __ovld __cnfn nan(ulong nancode);
  8175. double2 __ovld __cnfn nan(ulong2 nancode);
  8176. double3 __ovld __cnfn nan(ulong3 nancode);
  8177. double4 __ovld __cnfn nan(ulong4 nancode);
  8178. double8 __ovld __cnfn nan(ulong8 nancode);
  8179. double16 __ovld __cnfn nan(ulong16 nancode);
  8180. #endif //cl_khr_fp64
  8181. #ifdef cl_khr_fp16
  8182. half __ovld __cnfn nan(ushort nancode);
  8183. half2 __ovld __cnfn nan(ushort2 nancode);
  8184. half3 __ovld __cnfn nan(ushort3 nancode);
  8185. half4 __ovld __cnfn nan(ushort4 nancode);
  8186. half8 __ovld __cnfn nan(ushort8 nancode);
  8187. half16 __ovld __cnfn nan(ushort16 nancode);
  8188. #endif //cl_khr_fp16
  8189. /**
  8190. * Computes the next representable single-precision
  8191. * floating-point value following x in the direction of
  8192. * y. Thus, if y is less than x, nextafter() returns the
  8193. * largest representable floating-point number less
  8194. * than x.
  8195. */
  8196. float __ovld __cnfn nextafter(float x, float y);
  8197. float2 __ovld __cnfn nextafter(float2 x, float2 y);
  8198. float3 __ovld __cnfn nextafter(float3 x, float3 y);
  8199. float4 __ovld __cnfn nextafter(float4 x, float4 y);
  8200. float8 __ovld __cnfn nextafter(float8 x, float8 y);
  8201. float16 __ovld __cnfn nextafter(float16 x, float16 y);
  8202. #ifdef cl_khr_fp64
  8203. double __ovld __cnfn nextafter(double x, double y);
  8204. double2 __ovld __cnfn nextafter(double2 x, double2 y);
  8205. double3 __ovld __cnfn nextafter(double3 x, double3 y);
  8206. double4 __ovld __cnfn nextafter(double4 x, double4 y);
  8207. double8 __ovld __cnfn nextafter(double8 x, double8 y);
  8208. double16 __ovld __cnfn nextafter(double16 x, double16 y);
  8209. #endif //cl_khr_fp64
  8210. #ifdef cl_khr_fp16
  8211. half __ovld __cnfn nextafter(half x, half y);
  8212. half2 __ovld __cnfn nextafter(half2 x, half2 y);
  8213. half3 __ovld __cnfn nextafter(half3 x, half3 y);
  8214. half4 __ovld __cnfn nextafter(half4 x, half4 y);
  8215. half8 __ovld __cnfn nextafter(half8 x, half8 y);
  8216. half16 __ovld __cnfn nextafter(half16 x, half16 y);
  8217. #endif //cl_khr_fp16
  8218. /**
  8219. * Compute x to the power y.
  8220. */
  8221. float __ovld __cnfn pow(float x, float y);
  8222. float2 __ovld __cnfn pow(float2 x, float2 y);
  8223. float3 __ovld __cnfn pow(float3 x, float3 y);
  8224. float4 __ovld __cnfn pow(float4 x, float4 y);
  8225. float8 __ovld __cnfn pow(float8 x, float8 y);
  8226. float16 __ovld __cnfn pow(float16 x, float16 y);
  8227. #ifdef cl_khr_fp64
  8228. double __ovld __cnfn pow(double x, double y);
  8229. double2 __ovld __cnfn pow(double2 x, double2 y);
  8230. double3 __ovld __cnfn pow(double3 x, double3 y);
  8231. double4 __ovld __cnfn pow(double4 x, double4 y);
  8232. double8 __ovld __cnfn pow(double8 x, double8 y);
  8233. double16 __ovld __cnfn pow(double16 x, double16 y);
  8234. #endif //cl_khr_fp64
  8235. #ifdef cl_khr_fp16
  8236. half __ovld __cnfn pow(half x, half y);
  8237. half2 __ovld __cnfn pow(half2 x, half2 y);
  8238. half3 __ovld __cnfn pow(half3 x, half3 y);
  8239. half4 __ovld __cnfn pow(half4 x, half4 y);
  8240. half8 __ovld __cnfn pow(half8 x, half8 y);
  8241. half16 __ovld __cnfn pow(half16 x, half16 y);
  8242. #endif //cl_khr_fp16
  8243. /**
  8244. * Compute x to the power y, where y is an integer.
  8245. */
  8246. float __ovld __cnfn pown(float x, int y);
  8247. float2 __ovld __cnfn pown(float2 x, int2 y);
  8248. float3 __ovld __cnfn pown(float3 x, int3 y);
  8249. float4 __ovld __cnfn pown(float4 x, int4 y);
  8250. float8 __ovld __cnfn pown(float8 x, int8 y);
  8251. float16 __ovld __cnfn pown(float16 x, int16 y);
  8252. #ifdef cl_khr_fp64
  8253. double __ovld __cnfn pown(double x, int y);
  8254. double2 __ovld __cnfn pown(double2 x, int2 y);
  8255. double3 __ovld __cnfn pown(double3 x, int3 y);
  8256. double4 __ovld __cnfn pown(double4 x, int4 y);
  8257. double8 __ovld __cnfn pown(double8 x, int8 y);
  8258. double16 __ovld __cnfn pown(double16 x, int16 y);
  8259. #endif //cl_khr_fp64
  8260. #ifdef cl_khr_fp16
  8261. half __ovld __cnfn pown(half x, int y);
  8262. half2 __ovld __cnfn pown(half2 x, int2 y);
  8263. half3 __ovld __cnfn pown(half3 x, int3 y);
  8264. half4 __ovld __cnfn pown(half4 x, int4 y);
  8265. half8 __ovld __cnfn pown(half8 x, int8 y);
  8266. half16 __ovld __cnfn pown(half16 x, int16 y);
  8267. #endif //cl_khr_fp16
  8268. /**
  8269. * Compute x to the power y, where x is >= 0.
  8270. */
  8271. float __ovld __cnfn powr(float x, float y);
  8272. float2 __ovld __cnfn powr(float2 x, float2 y);
  8273. float3 __ovld __cnfn powr(float3 x, float3 y);
  8274. float4 __ovld __cnfn powr(float4 x, float4 y);
  8275. float8 __ovld __cnfn powr(float8 x, float8 y);
  8276. float16 __ovld __cnfn powr(float16 x, float16 y);
  8277. #ifdef cl_khr_fp64
  8278. double __ovld __cnfn powr(double x, double y);
  8279. double2 __ovld __cnfn powr(double2 x, double2 y);
  8280. double3 __ovld __cnfn powr(double3 x, double3 y);
  8281. double4 __ovld __cnfn powr(double4 x, double4 y);
  8282. double8 __ovld __cnfn powr(double8 x, double8 y);
  8283. double16 __ovld __cnfn powr(double16 x, double16 y);
  8284. #endif //cl_khr_fp64
  8285. #ifdef cl_khr_fp16
  8286. half __ovld __cnfn powr(half x, half y);
  8287. half2 __ovld __cnfn powr(half2 x, half2 y);
  8288. half3 __ovld __cnfn powr(half3 x, half3 y);
  8289. half4 __ovld __cnfn powr(half4 x, half4 y);
  8290. half8 __ovld __cnfn powr(half8 x, half8 y);
  8291. half16 __ovld __cnfn powr(half16 x, half16 y);
  8292. #endif //cl_khr_fp16
  8293. /**
  8294. * Compute the value r such that r = x - n*y, where n
  8295. * is the integer nearest the exact value of x/y. If there
  8296. * are two integers closest to x/y, n shall be the even
  8297. * one. If r is zero, it is given the same sign as x.
  8298. */
  8299. float __ovld __cnfn remainder(float x, float y);
  8300. float2 __ovld __cnfn remainder(float2 x, float2 y);
  8301. float3 __ovld __cnfn remainder(float3 x, float3 y);
  8302. float4 __ovld __cnfn remainder(float4 x, float4 y);
  8303. float8 __ovld __cnfn remainder(float8 x, float8 y);
  8304. float16 __ovld __cnfn remainder(float16 x, float16 y);
  8305. #ifdef cl_khr_fp64
  8306. double __ovld __cnfn remainder(double x, double y);
  8307. double2 __ovld __cnfn remainder(double2 x, double2 y);
  8308. double3 __ovld __cnfn remainder(double3 x, double3 y);
  8309. double4 __ovld __cnfn remainder(double4 x, double4 y);
  8310. double8 __ovld __cnfn remainder(double8 x, double8 y);
  8311. double16 __ovld __cnfn remainder(double16 x, double16 y);
  8312. #endif //cl_khr_fp64
  8313. #ifdef cl_khr_fp16
  8314. half __ovld __cnfn remainder(half x, half y);
  8315. half2 __ovld __cnfn remainder(half2 x, half2 y);
  8316. half3 __ovld __cnfn remainder(half3 x, half3 y);
  8317. half4 __ovld __cnfn remainder(half4 x, half4 y);
  8318. half8 __ovld __cnfn remainder(half8 x, half8 y);
  8319. half16 __ovld __cnfn remainder(half16 x, half16 y);
  8320. #endif //cl_khr_fp16
  8321. /**
  8322. * The remquo function computes the value r such
  8323. * that r = x - n*y, where n is the integer nearest the
  8324. * exact value of x/y. If there are two integers closest
  8325. * to x/y, n shall be the even one. If r is zero, it is
  8326. * given the same sign as x. This is the same value
  8327. * that is returned by the remainder function.
  8328. * remquo also calculates the lower seven bits of the
  8329. * integral quotient x/y, and gives that value the same
  8330. * sign as x/y. It stores this signed value in the object
  8331. * pointed to by quo.
  8332. */
  8333. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8334. float __ovld remquo(float x, float y, int *quo);
  8335. float2 __ovld remquo(float2 x, float2 y, int2 *quo);
  8336. float3 __ovld remquo(float3 x, float3 y, int3 *quo);
  8337. float4 __ovld remquo(float4 x, float4 y, int4 *quo);
  8338. float8 __ovld remquo(float8 x, float8 y, int8 *quo);
  8339. float16 __ovld remquo(float16 x, float16 y, int16 *quo);
  8340. #ifdef cl_khr_fp64
  8341. double __ovld remquo(double x, double y, int *quo);
  8342. double2 __ovld remquo(double2 x, double2 y, int2 *quo);
  8343. double3 __ovld remquo(double3 x, double3 y, int3 *quo);
  8344. double4 __ovld remquo(double4 x, double4 y, int4 *quo);
  8345. double8 __ovld remquo(double8 x, double8 y, int8 *quo);
  8346. double16 __ovld remquo(double16 x, double16 y, int16 *quo);
  8347. #endif //cl_khr_fp64
  8348. #ifdef cl_khr_fp16
  8349. half __ovld remquo(half x, half y, int *quo);
  8350. half2 __ovld remquo(half2 x, half2 y, int2 *quo);
  8351. half3 __ovld remquo(half3 x, half3 y, int3 *quo);
  8352. half4 __ovld remquo(half4 x, half4 y, int4 *quo);
  8353. half8 __ovld remquo(half8 x, half8 y, int8 *quo);
  8354. half16 __ovld remquo(half16 x, half16 y, int16 *quo);
  8355. #endif //cl_khr_fp16
  8356. #else
  8357. float __ovld remquo(float x, float y, __global int *quo);
  8358. float2 __ovld remquo(float2 x, float2 y, __global int2 *quo);
  8359. float3 __ovld remquo(float3 x, float3 y, __global int3 *quo);
  8360. float4 __ovld remquo(float4 x, float4 y, __global int4 *quo);
  8361. float8 __ovld remquo(float8 x, float8 y, __global int8 *quo);
  8362. float16 __ovld remquo(float16 x, float16 y, __global int16 *quo);
  8363. float __ovld remquo(float x, float y, __local int *quo);
  8364. float2 __ovld remquo(float2 x, float2 y, __local int2 *quo);
  8365. float3 __ovld remquo(float3 x, float3 y, __local int3 *quo);
  8366. float4 __ovld remquo(float4 x, float4 y, __local int4 *quo);
  8367. float8 __ovld remquo(float8 x, float8 y, __local int8 *quo);
  8368. float16 __ovld remquo(float16 x, float16 y, __local int16 *quo);
  8369. float __ovld remquo(float x, float y, __private int *quo);
  8370. float2 __ovld remquo(float2 x, float2 y, __private int2 *quo);
  8371. float3 __ovld remquo(float3 x, float3 y, __private int3 *quo);
  8372. float4 __ovld remquo(float4 x, float4 y, __private int4 *quo);
  8373. float8 __ovld remquo(float8 x, float8 y, __private int8 *quo);
  8374. float16 __ovld remquo(float16 x, float16 y, __private int16 *quo);
  8375. #ifdef cl_khr_fp64
  8376. double __ovld remquo(double x, double y, __global int *quo);
  8377. double2 __ovld remquo(double2 x, double2 y, __global int2 *quo);
  8378. double3 __ovld remquo(double3 x, double3 y, __global int3 *quo);
  8379. double4 __ovld remquo(double4 x, double4 y, __global int4 *quo);
  8380. double8 __ovld remquo(double8 x, double8 y, __global int8 *quo);
  8381. double16 __ovld remquo(double16 x, double16 y, __global int16 *quo);
  8382. double __ovld remquo(double x, double y, __local int *quo);
  8383. double2 __ovld remquo(double2 x, double2 y, __local int2 *quo);
  8384. double3 __ovld remquo(double3 x, double3 y, __local int3 *quo);
  8385. double4 __ovld remquo(double4 x, double4 y, __local int4 *quo);
  8386. double8 __ovld remquo(double8 x, double8 y, __local int8 *quo);
  8387. double16 __ovld remquo(double16 x, double16 y, __local int16 *quo);
  8388. double __ovld remquo(double x, double y, __private int *quo);
  8389. double2 __ovld remquo(double2 x, double2 y, __private int2 *quo);
  8390. double3 __ovld remquo(double3 x, double3 y, __private int3 *quo);
  8391. double4 __ovld remquo(double4 x, double4 y, __private int4 *quo);
  8392. double8 __ovld remquo(double8 x, double8 y, __private int8 *quo);
  8393. double16 __ovld remquo(double16 x, double16 y, __private int16 *quo);
  8394. #endif //cl_khr_fp64
  8395. #ifdef cl_khr_fp16
  8396. half __ovld remquo(half x, half y, __global int *quo);
  8397. half2 __ovld remquo(half2 x, half2 y, __global int2 *quo);
  8398. half3 __ovld remquo(half3 x, half3 y, __global int3 *quo);
  8399. half4 __ovld remquo(half4 x, half4 y, __global int4 *quo);
  8400. half8 __ovld remquo(half8 x, half8 y, __global int8 *quo);
  8401. half16 __ovld remquo(half16 x, half16 y, __global int16 *quo);
  8402. half __ovld remquo(half x, half y, __local int *quo);
  8403. half2 __ovld remquo(half2 x, half2 y, __local int2 *quo);
  8404. half3 __ovld remquo(half3 x, half3 y, __local int3 *quo);
  8405. half4 __ovld remquo(half4 x, half4 y, __local int4 *quo);
  8406. half8 __ovld remquo(half8 x, half8 y, __local int8 *quo);
  8407. half16 __ovld remquo(half16 x, half16 y, __local int16 *quo);
  8408. half __ovld remquo(half x, half y, __private int *quo);
  8409. half2 __ovld remquo(half2 x, half2 y, __private int2 *quo);
  8410. half3 __ovld remquo(half3 x, half3 y, __private int3 *quo);
  8411. half4 __ovld remquo(half4 x, half4 y, __private int4 *quo);
  8412. half8 __ovld remquo(half8 x, half8 y, __private int8 *quo);
  8413. half16 __ovld remquo(half16 x, half16 y, __private int16 *quo);
  8414. #endif //cl_khr_fp16
  8415. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8416. /**
  8417. * Round to integral value (using round to nearest
  8418. * even rounding mode) in floating-point format.
  8419. * Refer to section 7.1 for description of rounding
  8420. * modes.
  8421. */
  8422. float __ovld __cnfn rint(float);
  8423. float2 __ovld __cnfn rint(float2);
  8424. float3 __ovld __cnfn rint(float3);
  8425. float4 __ovld __cnfn rint(float4);
  8426. float8 __ovld __cnfn rint(float8);
  8427. float16 __ovld __cnfn rint(float16);
  8428. #ifdef cl_khr_fp64
  8429. double __ovld __cnfn rint(double);
  8430. double2 __ovld __cnfn rint(double2);
  8431. double3 __ovld __cnfn rint(double3);
  8432. double4 __ovld __cnfn rint(double4);
  8433. double8 __ovld __cnfn rint(double8);
  8434. double16 __ovld __cnfn rint(double16);
  8435. #endif //cl_khr_fp64
  8436. #ifdef cl_khr_fp16
  8437. half __ovld __cnfn rint(half);
  8438. half2 __ovld __cnfn rint(half2);
  8439. half3 __ovld __cnfn rint(half3);
  8440. half4 __ovld __cnfn rint(half4);
  8441. half8 __ovld __cnfn rint(half8);
  8442. half16 __ovld __cnfn rint(half16);
  8443. #endif //cl_khr_fp16
  8444. /**
  8445. * Compute x to the power 1/y.
  8446. */
  8447. float __ovld __cnfn rootn(float x, int y);
  8448. float2 __ovld __cnfn rootn(float2 x, int2 y);
  8449. float3 __ovld __cnfn rootn(float3 x, int3 y);
  8450. float4 __ovld __cnfn rootn(float4 x, int4 y);
  8451. float8 __ovld __cnfn rootn(float8 x, int8 y);
  8452. float16 __ovld __cnfn rootn(float16 x, int16 y);
  8453. #ifdef cl_khr_fp64
  8454. double __ovld __cnfn rootn(double x, int y);
  8455. double2 __ovld __cnfn rootn(double2 x, int2 y);
  8456. double3 __ovld __cnfn rootn(double3 x, int3 y);
  8457. double4 __ovld __cnfn rootn(double4 x, int4 y);
  8458. double8 __ovld __cnfn rootn(double8 x, int8 y);
  8459. double16 __ovld __cnfn rootn(double16 x, int16 y);
  8460. #endif //cl_khr_fp64
  8461. #ifdef cl_khr_fp16
  8462. half __ovld __cnfn rootn(half x, int y);
  8463. half2 __ovld __cnfn rootn(half2 x, int2 y);
  8464. half3 __ovld __cnfn rootn(half3 x, int3 y);
  8465. half4 __ovld __cnfn rootn(half4 x, int4 y);
  8466. half8 __ovld __cnfn rootn(half8 x, int8 y);
  8467. half16 __ovld __cnfn rootn(half16 x, int16 y);
  8468. #endif //cl_khr_fp16
  8469. /**
  8470. * Return the integral value nearest to x rounding
  8471. * halfway cases away from zero, regardless of the
  8472. * current rounding direction.
  8473. */
  8474. float __ovld __cnfn round(float x);
  8475. float2 __ovld __cnfn round(float2 x);
  8476. float3 __ovld __cnfn round(float3 x);
  8477. float4 __ovld __cnfn round(float4 x);
  8478. float8 __ovld __cnfn round(float8 x);
  8479. float16 __ovld __cnfn round(float16 x);
  8480. #ifdef cl_khr_fp64
  8481. double __ovld __cnfn round(double x);
  8482. double2 __ovld __cnfn round(double2 x);
  8483. double3 __ovld __cnfn round(double3 x);
  8484. double4 __ovld __cnfn round(double4 x);
  8485. double8 __ovld __cnfn round(double8 x);
  8486. double16 __ovld __cnfn round(double16 x);
  8487. #endif //cl_khr_fp64
  8488. #ifdef cl_khr_fp16
  8489. half __ovld __cnfn round(half x);
  8490. half2 __ovld __cnfn round(half2 x);
  8491. half3 __ovld __cnfn round(half3 x);
  8492. half4 __ovld __cnfn round(half4 x);
  8493. half8 __ovld __cnfn round(half8 x);
  8494. half16 __ovld __cnfn round(half16 x);
  8495. #endif //cl_khr_fp16
  8496. /**
  8497. * Compute inverse square root.
  8498. */
  8499. float __ovld __cnfn rsqrt(float);
  8500. float2 __ovld __cnfn rsqrt(float2);
  8501. float3 __ovld __cnfn rsqrt(float3);
  8502. float4 __ovld __cnfn rsqrt(float4);
  8503. float8 __ovld __cnfn rsqrt(float8);
  8504. float16 __ovld __cnfn rsqrt(float16);
  8505. #ifdef cl_khr_fp64
  8506. double __ovld __cnfn rsqrt(double);
  8507. double2 __ovld __cnfn rsqrt(double2);
  8508. double3 __ovld __cnfn rsqrt(double3);
  8509. double4 __ovld __cnfn rsqrt(double4);
  8510. double8 __ovld __cnfn rsqrt(double8);
  8511. double16 __ovld __cnfn rsqrt(double16);
  8512. #endif //cl_khr_fp64
  8513. #ifdef cl_khr_fp16
  8514. half __ovld __cnfn rsqrt(half);
  8515. half2 __ovld __cnfn rsqrt(half2);
  8516. half3 __ovld __cnfn rsqrt(half3);
  8517. half4 __ovld __cnfn rsqrt(half4);
  8518. half8 __ovld __cnfn rsqrt(half8);
  8519. half16 __ovld __cnfn rsqrt(half16);
  8520. #endif //cl_khr_fp16
  8521. /**
  8522. * Compute sine.
  8523. */
  8524. float __ovld __cnfn sin(float);
  8525. float2 __ovld __cnfn sin(float2);
  8526. float3 __ovld __cnfn sin(float3);
  8527. float4 __ovld __cnfn sin(float4);
  8528. float8 __ovld __cnfn sin(float8);
  8529. float16 __ovld __cnfn sin(float16);
  8530. #ifdef cl_khr_fp64
  8531. double __ovld __cnfn sin(double);
  8532. double2 __ovld __cnfn sin(double2);
  8533. double3 __ovld __cnfn sin(double3);
  8534. double4 __ovld __cnfn sin(double4);
  8535. double8 __ovld __cnfn sin(double8);
  8536. double16 __ovld __cnfn sin(double16);
  8537. #endif //cl_khr_fp64
  8538. #ifdef cl_khr_fp16
  8539. half __ovld __cnfn sin(half);
  8540. half2 __ovld __cnfn sin(half2);
  8541. half3 __ovld __cnfn sin(half3);
  8542. half4 __ovld __cnfn sin(half4);
  8543. half8 __ovld __cnfn sin(half8);
  8544. half16 __ovld __cnfn sin(half16);
  8545. #endif //cl_khr_fp16
  8546. /**
  8547. * Compute sine and cosine of x. The computed sine
  8548. * is the return value and computed cosine is returned
  8549. * in cosval.
  8550. */
  8551. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8552. float __ovld sincos(float x, float *cosval);
  8553. float2 __ovld sincos(float2 x, float2 *cosval);
  8554. float3 __ovld sincos(float3 x, float3 *cosval);
  8555. float4 __ovld sincos(float4 x, float4 *cosval);
  8556. float8 __ovld sincos(float8 x, float8 *cosval);
  8557. float16 __ovld sincos(float16 x, float16 *cosval);
  8558. #ifdef cl_khr_fp64
  8559. double __ovld sincos(double x, double *cosval);
  8560. double2 __ovld sincos(double2 x, double2 *cosval);
  8561. double3 __ovld sincos(double3 x, double3 *cosval);
  8562. double4 __ovld sincos(double4 x, double4 *cosval);
  8563. double8 __ovld sincos(double8 x, double8 *cosval);
  8564. double16 __ovld sincos(double16 x, double16 *cosval);
  8565. #endif //cl_khr_fp64
  8566. #ifdef cl_khr_fp16
  8567. half __ovld sincos(half x, half *cosval);
  8568. half2 __ovld sincos(half2 x, half2 *cosval);
  8569. half3 __ovld sincos(half3 x, half3 *cosval);
  8570. half4 __ovld sincos(half4 x, half4 *cosval);
  8571. half8 __ovld sincos(half8 x, half8 *cosval);
  8572. half16 __ovld sincos(half16 x, half16 *cosval);
  8573. #endif //cl_khr_fp16
  8574. #else
  8575. float __ovld sincos(float x, __global float *cosval);
  8576. float2 __ovld sincos(float2 x, __global float2 *cosval);
  8577. float3 __ovld sincos(float3 x, __global float3 *cosval);
  8578. float4 __ovld sincos(float4 x, __global float4 *cosval);
  8579. float8 __ovld sincos(float8 x, __global float8 *cosval);
  8580. float16 __ovld sincos(float16 x, __global float16 *cosval);
  8581. float __ovld sincos(float x, __local float *cosval);
  8582. float2 __ovld sincos(float2 x, __local float2 *cosval);
  8583. float3 __ovld sincos(float3 x, __local float3 *cosval);
  8584. float4 __ovld sincos(float4 x, __local float4 *cosval);
  8585. float8 __ovld sincos(float8 x, __local float8 *cosval);
  8586. float16 __ovld sincos(float16 x, __local float16 *cosval);
  8587. float __ovld sincos(float x, __private float *cosval);
  8588. float2 __ovld sincos(float2 x, __private float2 *cosval);
  8589. float3 __ovld sincos(float3 x, __private float3 *cosval);
  8590. float4 __ovld sincos(float4 x, __private float4 *cosval);
  8591. float8 __ovld sincos(float8 x, __private float8 *cosval);
  8592. float16 __ovld sincos(float16 x, __private float16 *cosval);
  8593. #ifdef cl_khr_fp64
  8594. double __ovld sincos(double x, __global double *cosval);
  8595. double2 __ovld sincos(double2 x, __global double2 *cosval);
  8596. double3 __ovld sincos(double3 x, __global double3 *cosval);
  8597. double4 __ovld sincos(double4 x, __global double4 *cosval);
  8598. double8 __ovld sincos(double8 x, __global double8 *cosval);
  8599. double16 __ovld sincos(double16 x, __global double16 *cosval);
  8600. double __ovld sincos(double x, __local double *cosval);
  8601. double2 __ovld sincos(double2 x, __local double2 *cosval);
  8602. double3 __ovld sincos(double3 x, __local double3 *cosval);
  8603. double4 __ovld sincos(double4 x, __local double4 *cosval);
  8604. double8 __ovld sincos(double8 x, __local double8 *cosval);
  8605. double16 __ovld sincos(double16 x, __local double16 *cosval);
  8606. double __ovld sincos(double x, __private double *cosval);
  8607. double2 __ovld sincos(double2 x, __private double2 *cosval);
  8608. double3 __ovld sincos(double3 x, __private double3 *cosval);
  8609. double4 __ovld sincos(double4 x, __private double4 *cosval);
  8610. double8 __ovld sincos(double8 x, __private double8 *cosval);
  8611. double16 __ovld sincos(double16 x, __private double16 *cosval);
  8612. #endif //cl_khr_fp64
  8613. #ifdef cl_khr_fp16
  8614. half __ovld sincos(half x, __global half *cosval);
  8615. half2 __ovld sincos(half2 x, __global half2 *cosval);
  8616. half3 __ovld sincos(half3 x, __global half3 *cosval);
  8617. half4 __ovld sincos(half4 x, __global half4 *cosval);
  8618. half8 __ovld sincos(half8 x, __global half8 *cosval);
  8619. half16 __ovld sincos(half16 x, __global half16 *cosval);
  8620. half __ovld sincos(half x, __local half *cosval);
  8621. half2 __ovld sincos(half2 x, __local half2 *cosval);
  8622. half3 __ovld sincos(half3 x, __local half3 *cosval);
  8623. half4 __ovld sincos(half4 x, __local half4 *cosval);
  8624. half8 __ovld sincos(half8 x, __local half8 *cosval);
  8625. half16 __ovld sincos(half16 x, __local half16 *cosval);
  8626. half __ovld sincos(half x, __private half *cosval);
  8627. half2 __ovld sincos(half2 x, __private half2 *cosval);
  8628. half3 __ovld sincos(half3 x, __private half3 *cosval);
  8629. half4 __ovld sincos(half4 x, __private half4 *cosval);
  8630. half8 __ovld sincos(half8 x, __private half8 *cosval);
  8631. half16 __ovld sincos(half16 x, __private half16 *cosval);
  8632. #endif //cl_khr_fp16
  8633. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  8634. /**
  8635. * Compute hyperbolic sine.
  8636. */
  8637. float __ovld __cnfn sinh(float);
  8638. float2 __ovld __cnfn sinh(float2);
  8639. float3 __ovld __cnfn sinh(float3);
  8640. float4 __ovld __cnfn sinh(float4);
  8641. float8 __ovld __cnfn sinh(float8);
  8642. float16 __ovld __cnfn sinh(float16);
  8643. #ifdef cl_khr_fp64
  8644. double __ovld __cnfn sinh(double);
  8645. double2 __ovld __cnfn sinh(double2);
  8646. double3 __ovld __cnfn sinh(double3);
  8647. double4 __ovld __cnfn sinh(double4);
  8648. double8 __ovld __cnfn sinh(double8);
  8649. double16 __ovld __cnfn sinh(double16);
  8650. #endif //cl_khr_fp64
  8651. #ifdef cl_khr_fp16
  8652. half __ovld __cnfn sinh(half);
  8653. half2 __ovld __cnfn sinh(half2);
  8654. half3 __ovld __cnfn sinh(half3);
  8655. half4 __ovld __cnfn sinh(half4);
  8656. half8 __ovld __cnfn sinh(half8);
  8657. half16 __ovld __cnfn sinh(half16);
  8658. #endif //cl_khr_fp16
  8659. /**
  8660. * Compute sin (PI * x).
  8661. */
  8662. float __ovld __cnfn sinpi(float x);
  8663. float2 __ovld __cnfn sinpi(float2 x);
  8664. float3 __ovld __cnfn sinpi(float3 x);
  8665. float4 __ovld __cnfn sinpi(float4 x);
  8666. float8 __ovld __cnfn sinpi(float8 x);
  8667. float16 __ovld __cnfn sinpi(float16 x);
  8668. #ifdef cl_khr_fp64
  8669. double __ovld __cnfn sinpi(double x);
  8670. double2 __ovld __cnfn sinpi(double2 x);
  8671. double3 __ovld __cnfn sinpi(double3 x);
  8672. double4 __ovld __cnfn sinpi(double4 x);
  8673. double8 __ovld __cnfn sinpi(double8 x);
  8674. double16 __ovld __cnfn sinpi(double16 x);
  8675. #endif //cl_khr_fp64
  8676. #ifdef cl_khr_fp16
  8677. half __ovld __cnfn sinpi(half x);
  8678. half2 __ovld __cnfn sinpi(half2 x);
  8679. half3 __ovld __cnfn sinpi(half3 x);
  8680. half4 __ovld __cnfn sinpi(half4 x);
  8681. half8 __ovld __cnfn sinpi(half8 x);
  8682. half16 __ovld __cnfn sinpi(half16 x);
  8683. #endif //cl_khr_fp16
  8684. /**
  8685. * Compute square root.
  8686. */
  8687. float __ovld __cnfn sqrt(float);
  8688. float2 __ovld __cnfn sqrt(float2);
  8689. float3 __ovld __cnfn sqrt(float3);
  8690. float4 __ovld __cnfn sqrt(float4);
  8691. float8 __ovld __cnfn sqrt(float8);
  8692. float16 __ovld __cnfn sqrt(float16);
  8693. #ifdef cl_khr_fp64
  8694. double __ovld __cnfn sqrt(double);
  8695. double2 __ovld __cnfn sqrt(double2);
  8696. double3 __ovld __cnfn sqrt(double3);
  8697. double4 __ovld __cnfn sqrt(double4);
  8698. double8 __ovld __cnfn sqrt(double8);
  8699. double16 __ovld __cnfn sqrt(double16);
  8700. #endif //cl_khr_fp64
  8701. #ifdef cl_khr_fp16
  8702. half __ovld __cnfn sqrt(half);
  8703. half2 __ovld __cnfn sqrt(half2);
  8704. half3 __ovld __cnfn sqrt(half3);
  8705. half4 __ovld __cnfn sqrt(half4);
  8706. half8 __ovld __cnfn sqrt(half8);
  8707. half16 __ovld __cnfn sqrt(half16);
  8708. #endif //cl_khr_fp16
  8709. /**
  8710. * Compute tangent.
  8711. */
  8712. float __ovld __cnfn tan(float);
  8713. float2 __ovld __cnfn tan(float2);
  8714. float3 __ovld __cnfn tan(float3);
  8715. float4 __ovld __cnfn tan(float4);
  8716. float8 __ovld __cnfn tan(float8);
  8717. float16 __ovld __cnfn tan(float16);
  8718. #ifdef cl_khr_fp64
  8719. double __ovld __cnfn tan(double);
  8720. double2 __ovld __cnfn tan(double2);
  8721. double3 __ovld __cnfn tan(double3);
  8722. double4 __ovld __cnfn tan(double4);
  8723. double8 __ovld __cnfn tan(double8);
  8724. double16 __ovld __cnfn tan(double16);
  8725. #endif //cl_khr_fp64
  8726. #ifdef cl_khr_fp16
  8727. half __ovld __cnfn tan(half);
  8728. half2 __ovld __cnfn tan(half2);
  8729. half3 __ovld __cnfn tan(half3);
  8730. half4 __ovld __cnfn tan(half4);
  8731. half8 __ovld __cnfn tan(half8);
  8732. half16 __ovld __cnfn tan(half16);
  8733. #endif //cl_khr_fp16
  8734. /**
  8735. * Compute hyperbolic tangent.
  8736. */
  8737. float __ovld __cnfn tanh(float);
  8738. float2 __ovld __cnfn tanh(float2);
  8739. float3 __ovld __cnfn tanh(float3);
  8740. float4 __ovld __cnfn tanh(float4);
  8741. float8 __ovld __cnfn tanh(float8);
  8742. float16 __ovld __cnfn tanh(float16);
  8743. #ifdef cl_khr_fp64
  8744. double __ovld __cnfn tanh(double);
  8745. double2 __ovld __cnfn tanh(double2);
  8746. double3 __ovld __cnfn tanh(double3);
  8747. double4 __ovld __cnfn tanh(double4);
  8748. double8 __ovld __cnfn tanh(double8);
  8749. double16 __ovld __cnfn tanh(double16);
  8750. #endif //cl_khr_fp64
  8751. #ifdef cl_khr_fp16
  8752. half __ovld __cnfn tanh(half);
  8753. half2 __ovld __cnfn tanh(half2);
  8754. half3 __ovld __cnfn tanh(half3);
  8755. half4 __ovld __cnfn tanh(half4);
  8756. half8 __ovld __cnfn tanh(half8);
  8757. half16 __ovld __cnfn tanh(half16);
  8758. #endif //cl_khr_fp16
  8759. /**
  8760. * Compute tan (PI * x).
  8761. */
  8762. float __ovld __cnfn tanpi(float x);
  8763. float2 __ovld __cnfn tanpi(float2 x);
  8764. float3 __ovld __cnfn tanpi(float3 x);
  8765. float4 __ovld __cnfn tanpi(float4 x);
  8766. float8 __ovld __cnfn tanpi(float8 x);
  8767. float16 __ovld __cnfn tanpi(float16 x);
  8768. #ifdef cl_khr_fp64
  8769. double __ovld __cnfn tanpi(double x);
  8770. double2 __ovld __cnfn tanpi(double2 x);
  8771. double3 __ovld __cnfn tanpi(double3 x);
  8772. double4 __ovld __cnfn tanpi(double4 x);
  8773. double8 __ovld __cnfn tanpi(double8 x);
  8774. double16 __ovld __cnfn tanpi(double16 x);
  8775. #endif //cl_khr_fp64
  8776. #ifdef cl_khr_fp16
  8777. half __ovld __cnfn tanpi(half x);
  8778. half2 __ovld __cnfn tanpi(half2 x);
  8779. half3 __ovld __cnfn tanpi(half3 x);
  8780. half4 __ovld __cnfn tanpi(half4 x);
  8781. half8 __ovld __cnfn tanpi(half8 x);
  8782. half16 __ovld __cnfn tanpi(half16 x);
  8783. #endif //cl_khr_fp16
  8784. /**
  8785. * Compute the gamma function.
  8786. */
  8787. float __ovld __cnfn tgamma(float);
  8788. float2 __ovld __cnfn tgamma(float2);
  8789. float3 __ovld __cnfn tgamma(float3);
  8790. float4 __ovld __cnfn tgamma(float4);
  8791. float8 __ovld __cnfn tgamma(float8);
  8792. float16 __ovld __cnfn tgamma(float16);
  8793. #ifdef cl_khr_fp64
  8794. double __ovld __cnfn tgamma(double);
  8795. double2 __ovld __cnfn tgamma(double2);
  8796. double3 __ovld __cnfn tgamma(double3);
  8797. double4 __ovld __cnfn tgamma(double4);
  8798. double8 __ovld __cnfn tgamma(double8);
  8799. double16 __ovld __cnfn tgamma(double16);
  8800. #endif //cl_khr_fp64
  8801. #ifdef cl_khr_fp16
  8802. half __ovld __cnfn tgamma(half);
  8803. half2 __ovld __cnfn tgamma(half2);
  8804. half3 __ovld __cnfn tgamma(half3);
  8805. half4 __ovld __cnfn tgamma(half4);
  8806. half8 __ovld __cnfn tgamma(half8);
  8807. half16 __ovld __cnfn tgamma(half16);
  8808. #endif //cl_khr_fp16
  8809. /**
  8810. * Round to integral value using the round to zero
  8811. * rounding mode.
  8812. */
  8813. float __ovld __cnfn trunc(float);
  8814. float2 __ovld __cnfn trunc(float2);
  8815. float3 __ovld __cnfn trunc(float3);
  8816. float4 __ovld __cnfn trunc(float4);
  8817. float8 __ovld __cnfn trunc(float8);
  8818. float16 __ovld __cnfn trunc(float16);
  8819. #ifdef cl_khr_fp64
  8820. double __ovld __cnfn trunc(double);
  8821. double2 __ovld __cnfn trunc(double2);
  8822. double3 __ovld __cnfn trunc(double3);
  8823. double4 __ovld __cnfn trunc(double4);
  8824. double8 __ovld __cnfn trunc(double8);
  8825. double16 __ovld __cnfn trunc(double16);
  8826. #endif //cl_khr_fp64
  8827. #ifdef cl_khr_fp16
  8828. half __ovld __cnfn trunc(half);
  8829. half2 __ovld __cnfn trunc(half2);
  8830. half3 __ovld __cnfn trunc(half3);
  8831. half4 __ovld __cnfn trunc(half4);
  8832. half8 __ovld __cnfn trunc(half8);
  8833. half16 __ovld __cnfn trunc(half16);
  8834. #endif //cl_khr_fp16
  8835. /**
  8836. * Compute cosine. x must be in the range -2^16 ... +2^16.
  8837. */
  8838. float __ovld __cnfn half_cos(float x);
  8839. float2 __ovld __cnfn half_cos(float2 x);
  8840. float3 __ovld __cnfn half_cos(float3 x);
  8841. float4 __ovld __cnfn half_cos(float4 x);
  8842. float8 __ovld __cnfn half_cos(float8 x);
  8843. float16 __ovld __cnfn half_cos(float16 x);
  8844. /**
  8845. * Compute x / y.
  8846. */
  8847. float __ovld __cnfn half_divide(float x, float y);
  8848. float2 __ovld __cnfn half_divide(float2 x, float2 y);
  8849. float3 __ovld __cnfn half_divide(float3 x, float3 y);
  8850. float4 __ovld __cnfn half_divide(float4 x, float4 y);
  8851. float8 __ovld __cnfn half_divide(float8 x, float8 y);
  8852. float16 __ovld __cnfn half_divide(float16 x, float16 y);
  8853. /**
  8854. * Compute the base- e exponential of x.
  8855. */
  8856. float __ovld __cnfn half_exp(float x);
  8857. float2 __ovld __cnfn half_exp(float2 x);
  8858. float3 __ovld __cnfn half_exp(float3 x);
  8859. float4 __ovld __cnfn half_exp(float4 x);
  8860. float8 __ovld __cnfn half_exp(float8 x);
  8861. float16 __ovld __cnfn half_exp(float16 x);
  8862. /**
  8863. * Compute the base- 2 exponential of x.
  8864. */
  8865. float __ovld __cnfn half_exp2(float x);
  8866. float2 __ovld __cnfn half_exp2(float2 x);
  8867. float3 __ovld __cnfn half_exp2(float3 x);
  8868. float4 __ovld __cnfn half_exp2(float4 x);
  8869. float8 __ovld __cnfn half_exp2(float8 x);
  8870. float16 __ovld __cnfn half_exp2(float16 x);
  8871. /**
  8872. * Compute the base- 10 exponential of x.
  8873. */
  8874. float __ovld __cnfn half_exp10(float x);
  8875. float2 __ovld __cnfn half_exp10(float2 x);
  8876. float3 __ovld __cnfn half_exp10(float3 x);
  8877. float4 __ovld __cnfn half_exp10(float4 x);
  8878. float8 __ovld __cnfn half_exp10(float8 x);
  8879. float16 __ovld __cnfn half_exp10(float16 x);
  8880. /**
  8881. * Compute natural logarithm.
  8882. */
  8883. float __ovld __cnfn half_log(float x);
  8884. float2 __ovld __cnfn half_log(float2 x);
  8885. float3 __ovld __cnfn half_log(float3 x);
  8886. float4 __ovld __cnfn half_log(float4 x);
  8887. float8 __ovld __cnfn half_log(float8 x);
  8888. float16 __ovld __cnfn half_log(float16 x);
  8889. /**
  8890. * Compute a base 2 logarithm.
  8891. */
  8892. float __ovld __cnfn half_log2(float x);
  8893. float2 __ovld __cnfn half_log2(float2 x);
  8894. float3 __ovld __cnfn half_log2(float3 x);
  8895. float4 __ovld __cnfn half_log2(float4 x);
  8896. float8 __ovld __cnfn half_log2(float8 x);
  8897. float16 __ovld __cnfn half_log2(float16 x);
  8898. /**
  8899. * Compute a base 10 logarithm.
  8900. */
  8901. float __ovld __cnfn half_log10(float x);
  8902. float2 __ovld __cnfn half_log10(float2 x);
  8903. float3 __ovld __cnfn half_log10(float3 x);
  8904. float4 __ovld __cnfn half_log10(float4 x);
  8905. float8 __ovld __cnfn half_log10(float8 x);
  8906. float16 __ovld __cnfn half_log10(float16 x);
  8907. /**
  8908. * Compute x to the power y, where x is >= 0.
  8909. */
  8910. float __ovld __cnfn half_powr(float x, float y);
  8911. float2 __ovld __cnfn half_powr(float2 x, float2 y);
  8912. float3 __ovld __cnfn half_powr(float3 x, float3 y);
  8913. float4 __ovld __cnfn half_powr(float4 x, float4 y);
  8914. float8 __ovld __cnfn half_powr(float8 x, float8 y);
  8915. float16 __ovld __cnfn half_powr(float16 x, float16 y);
  8916. /**
  8917. * Compute reciprocal.
  8918. */
  8919. float __ovld __cnfn half_recip(float x);
  8920. float2 __ovld __cnfn half_recip(float2 x);
  8921. float3 __ovld __cnfn half_recip(float3 x);
  8922. float4 __ovld __cnfn half_recip(float4 x);
  8923. float8 __ovld __cnfn half_recip(float8 x);
  8924. float16 __ovld __cnfn half_recip(float16 x);
  8925. /**
  8926. * Compute inverse square root.
  8927. */
  8928. float __ovld __cnfn half_rsqrt(float x);
  8929. float2 __ovld __cnfn half_rsqrt(float2 x);
  8930. float3 __ovld __cnfn half_rsqrt(float3 x);
  8931. float4 __ovld __cnfn half_rsqrt(float4 x);
  8932. float8 __ovld __cnfn half_rsqrt(float8 x);
  8933. float16 __ovld __cnfn half_rsqrt(float16 x);
  8934. /**
  8935. * Compute sine. x must be in the range -2^16 ... +2^16.
  8936. */
  8937. float __ovld __cnfn half_sin(float x);
  8938. float2 __ovld __cnfn half_sin(float2 x);
  8939. float3 __ovld __cnfn half_sin(float3 x);
  8940. float4 __ovld __cnfn half_sin(float4 x);
  8941. float8 __ovld __cnfn half_sin(float8 x);
  8942. float16 __ovld __cnfn half_sin(float16 x);
  8943. /**
  8944. * Compute square root.
  8945. */
  8946. float __ovld __cnfn half_sqrt(float x);
  8947. float2 __ovld __cnfn half_sqrt(float2 x);
  8948. float3 __ovld __cnfn half_sqrt(float3 x);
  8949. float4 __ovld __cnfn half_sqrt(float4 x);
  8950. float8 __ovld __cnfn half_sqrt(float8 x);
  8951. float16 __ovld __cnfn half_sqrt(float16 x);
  8952. /**
  8953. * Compute tangent. x must be in the range -216 ... +216.
  8954. */
  8955. float __ovld __cnfn half_tan(float x);
  8956. float2 __ovld __cnfn half_tan(float2 x);
  8957. float3 __ovld __cnfn half_tan(float3 x);
  8958. float4 __ovld __cnfn half_tan(float4 x);
  8959. float8 __ovld __cnfn half_tan(float8 x);
  8960. float16 __ovld __cnfn half_tan(float16 x);
  8961. /**
  8962. * Compute cosine over an implementation-defined range.
  8963. * The maximum error is implementation-defined.
  8964. */
  8965. float __ovld __cnfn native_cos(float x);
  8966. float2 __ovld __cnfn native_cos(float2 x);
  8967. float3 __ovld __cnfn native_cos(float3 x);
  8968. float4 __ovld __cnfn native_cos(float4 x);
  8969. float8 __ovld __cnfn native_cos(float8 x);
  8970. float16 __ovld __cnfn native_cos(float16 x);
  8971. /**
  8972. * Compute x / y over an implementation-defined range.
  8973. * The maximum error is implementation-defined.
  8974. */
  8975. float __ovld __cnfn native_divide(float x, float y);
  8976. float2 __ovld __cnfn native_divide(float2 x, float2 y);
  8977. float3 __ovld __cnfn native_divide(float3 x, float3 y);
  8978. float4 __ovld __cnfn native_divide(float4 x, float4 y);
  8979. float8 __ovld __cnfn native_divide(float8 x, float8 y);
  8980. float16 __ovld __cnfn native_divide(float16 x, float16 y);
  8981. /**
  8982. * Compute the base- e exponential of x over an
  8983. * implementation-defined range. The maximum error is
  8984. * implementation-defined.
  8985. */
  8986. float __ovld __cnfn native_exp(float x);
  8987. float2 __ovld __cnfn native_exp(float2 x);
  8988. float3 __ovld __cnfn native_exp(float3 x);
  8989. float4 __ovld __cnfn native_exp(float4 x);
  8990. float8 __ovld __cnfn native_exp(float8 x);
  8991. float16 __ovld __cnfn native_exp(float16 x);
  8992. /**
  8993. * Compute the base- 2 exponential of x over an
  8994. * implementation-defined range. The maximum error is
  8995. * implementation-defined.
  8996. */
  8997. float __ovld __cnfn native_exp2(float x);
  8998. float2 __ovld __cnfn native_exp2(float2 x);
  8999. float3 __ovld __cnfn native_exp2(float3 x);
  9000. float4 __ovld __cnfn native_exp2(float4 x);
  9001. float8 __ovld __cnfn native_exp2(float8 x);
  9002. float16 __ovld __cnfn native_exp2(float16 x);
  9003. /**
  9004. * Compute the base- 10 exponential of x over an
  9005. * implementation-defined range. The maximum error is
  9006. * implementation-defined.
  9007. */
  9008. float __ovld __cnfn native_exp10(float x);
  9009. float2 __ovld __cnfn native_exp10(float2 x);
  9010. float3 __ovld __cnfn native_exp10(float3 x);
  9011. float4 __ovld __cnfn native_exp10(float4 x);
  9012. float8 __ovld __cnfn native_exp10(float8 x);
  9013. float16 __ovld __cnfn native_exp10(float16 x);
  9014. /**
  9015. * Compute natural logarithm over an implementationdefined
  9016. * range. The maximum error is implementation
  9017. * defined.
  9018. */
  9019. float __ovld __cnfn native_log(float x);
  9020. float2 __ovld __cnfn native_log(float2 x);
  9021. float3 __ovld __cnfn native_log(float3 x);
  9022. float4 __ovld __cnfn native_log(float4 x);
  9023. float8 __ovld __cnfn native_log(float8 x);
  9024. float16 __ovld __cnfn native_log(float16 x);
  9025. /**
  9026. * Compute a base 2 logarithm over an implementationdefined
  9027. * range. The maximum error is implementationdefined.
  9028. */
  9029. float __ovld __cnfn native_log2(float x);
  9030. float2 __ovld __cnfn native_log2(float2 x);
  9031. float3 __ovld __cnfn native_log2(float3 x);
  9032. float4 __ovld __cnfn native_log2(float4 x);
  9033. float8 __ovld __cnfn native_log2(float8 x);
  9034. float16 __ovld __cnfn native_log2(float16 x);
  9035. /**
  9036. * Compute a base 10 logarithm over an implementationdefined
  9037. * range. The maximum error is implementationdefined.
  9038. */
  9039. float __ovld __cnfn native_log10(float x);
  9040. float2 __ovld __cnfn native_log10(float2 x);
  9041. float3 __ovld __cnfn native_log10(float3 x);
  9042. float4 __ovld __cnfn native_log10(float4 x);
  9043. float8 __ovld __cnfn native_log10(float8 x);
  9044. float16 __ovld __cnfn native_log10(float16 x);
  9045. /**
  9046. * Compute x to the power y, where x is >= 0. The range of
  9047. * x and y are implementation-defined. The maximum error
  9048. * is implementation-defined.
  9049. */
  9050. float __ovld __cnfn native_powr(float x, float y);
  9051. float2 __ovld __cnfn native_powr(float2 x, float2 y);
  9052. float3 __ovld __cnfn native_powr(float3 x, float3 y);
  9053. float4 __ovld __cnfn native_powr(float4 x, float4 y);
  9054. float8 __ovld __cnfn native_powr(float8 x, float8 y);
  9055. float16 __ovld __cnfn native_powr(float16 x, float16 y);
  9056. /**
  9057. * Compute reciprocal over an implementation-defined
  9058. * range. The maximum error is implementation-defined.
  9059. */
  9060. float __ovld __cnfn native_recip(float x);
  9061. float2 __ovld __cnfn native_recip(float2 x);
  9062. float3 __ovld __cnfn native_recip(float3 x);
  9063. float4 __ovld __cnfn native_recip(float4 x);
  9064. float8 __ovld __cnfn native_recip(float8 x);
  9065. float16 __ovld __cnfn native_recip(float16 x);
  9066. /**
  9067. * Compute inverse square root over an implementationdefined
  9068. * range. The maximum error is implementationdefined.
  9069. */
  9070. float __ovld __cnfn native_rsqrt(float x);
  9071. float2 __ovld __cnfn native_rsqrt(float2 x);
  9072. float3 __ovld __cnfn native_rsqrt(float3 x);
  9073. float4 __ovld __cnfn native_rsqrt(float4 x);
  9074. float8 __ovld __cnfn native_rsqrt(float8 x);
  9075. float16 __ovld __cnfn native_rsqrt(float16 x);
  9076. /**
  9077. * Compute sine over an implementation-defined range.
  9078. * The maximum error is implementation-defined.
  9079. */
  9080. float __ovld __cnfn native_sin(float x);
  9081. float2 __ovld __cnfn native_sin(float2 x);
  9082. float3 __ovld __cnfn native_sin(float3 x);
  9083. float4 __ovld __cnfn native_sin(float4 x);
  9084. float8 __ovld __cnfn native_sin(float8 x);
  9085. float16 __ovld __cnfn native_sin(float16 x);
  9086. /**
  9087. * Compute square root over an implementation-defined
  9088. * range. The maximum error is implementation-defined.
  9089. */
  9090. float __ovld __cnfn native_sqrt(float x);
  9091. float2 __ovld __cnfn native_sqrt(float2 x);
  9092. float3 __ovld __cnfn native_sqrt(float3 x);
  9093. float4 __ovld __cnfn native_sqrt(float4 x);
  9094. float8 __ovld __cnfn native_sqrt(float8 x);
  9095. float16 __ovld __cnfn native_sqrt(float16 x);
  9096. /**
  9097. * Compute tangent over an implementation-defined range.
  9098. * The maximum error is implementation-defined.
  9099. */
  9100. float __ovld __cnfn native_tan(float x);
  9101. float2 __ovld __cnfn native_tan(float2 x);
  9102. float3 __ovld __cnfn native_tan(float3 x);
  9103. float4 __ovld __cnfn native_tan(float4 x);
  9104. float8 __ovld __cnfn native_tan(float8 x);
  9105. float16 __ovld __cnfn native_tan(float16 x);
  9106. // OpenCL v1.1 s6.11.3, v1.2 s6.12.3, v2.0 s6.13.3 - Integer Functions
  9107. /**
  9108. * Returns | x |.
  9109. */
  9110. uchar __ovld __cnfn abs(char x);
  9111. uchar __ovld __cnfn abs(uchar x);
  9112. uchar2 __ovld __cnfn abs(char2 x);
  9113. uchar2 __ovld __cnfn abs(uchar2 x);
  9114. uchar3 __ovld __cnfn abs(char3 x);
  9115. uchar3 __ovld __cnfn abs(uchar3 x);
  9116. uchar4 __ovld __cnfn abs(char4 x);
  9117. uchar4 __ovld __cnfn abs(uchar4 x);
  9118. uchar8 __ovld __cnfn abs(char8 x);
  9119. uchar8 __ovld __cnfn abs(uchar8 x);
  9120. uchar16 __ovld __cnfn abs(char16 x);
  9121. uchar16 __ovld __cnfn abs(uchar16 x);
  9122. ushort __ovld __cnfn abs(short x);
  9123. ushort __ovld __cnfn abs(ushort x);
  9124. ushort2 __ovld __cnfn abs(short2 x);
  9125. ushort2 __ovld __cnfn abs(ushort2 x);
  9126. ushort3 __ovld __cnfn abs(short3 x);
  9127. ushort3 __ovld __cnfn abs(ushort3 x);
  9128. ushort4 __ovld __cnfn abs(short4 x);
  9129. ushort4 __ovld __cnfn abs(ushort4 x);
  9130. ushort8 __ovld __cnfn abs(short8 x);
  9131. ushort8 __ovld __cnfn abs(ushort8 x);
  9132. ushort16 __ovld __cnfn abs(short16 x);
  9133. ushort16 __ovld __cnfn abs(ushort16 x);
  9134. uint __ovld __cnfn abs(int x);
  9135. uint __ovld __cnfn abs(uint x);
  9136. uint2 __ovld __cnfn abs(int2 x);
  9137. uint2 __ovld __cnfn abs(uint2 x);
  9138. uint3 __ovld __cnfn abs(int3 x);
  9139. uint3 __ovld __cnfn abs(uint3 x);
  9140. uint4 __ovld __cnfn abs(int4 x);
  9141. uint4 __ovld __cnfn abs(uint4 x);
  9142. uint8 __ovld __cnfn abs(int8 x);
  9143. uint8 __ovld __cnfn abs(uint8 x);
  9144. uint16 __ovld __cnfn abs(int16 x);
  9145. uint16 __ovld __cnfn abs(uint16 x);
  9146. ulong __ovld __cnfn abs(long x);
  9147. ulong __ovld __cnfn abs(ulong x);
  9148. ulong2 __ovld __cnfn abs(long2 x);
  9149. ulong2 __ovld __cnfn abs(ulong2 x);
  9150. ulong3 __ovld __cnfn abs(long3 x);
  9151. ulong3 __ovld __cnfn abs(ulong3 x);
  9152. ulong4 __ovld __cnfn abs(long4 x);
  9153. ulong4 __ovld __cnfn abs(ulong4 x);
  9154. ulong8 __ovld __cnfn abs(long8 x);
  9155. ulong8 __ovld __cnfn abs(ulong8 x);
  9156. ulong16 __ovld __cnfn abs(long16 x);
  9157. ulong16 __ovld __cnfn abs(ulong16 x);
  9158. /**
  9159. * Returns | x - y | without modulo overflow.
  9160. */
  9161. uchar __ovld __cnfn abs_diff(char x, char y);
  9162. uchar __ovld __cnfn abs_diff(uchar x, uchar y);
  9163. uchar2 __ovld __cnfn abs_diff(char2 x, char2 y);
  9164. uchar2 __ovld __cnfn abs_diff(uchar2 x, uchar2 y);
  9165. uchar3 __ovld __cnfn abs_diff(char3 x, char3 y);
  9166. uchar3 __ovld __cnfn abs_diff(uchar3 x, uchar3 y);
  9167. uchar4 __ovld __cnfn abs_diff(char4 x, char4 y);
  9168. uchar4 __ovld __cnfn abs_diff(uchar4 x, uchar4 y);
  9169. uchar8 __ovld __cnfn abs_diff(char8 x, char8 y);
  9170. uchar8 __ovld __cnfn abs_diff(uchar8 x, uchar8 y);
  9171. uchar16 __ovld __cnfn abs_diff(char16 x, char16 y);
  9172. uchar16 __ovld __cnfn abs_diff(uchar16 x, uchar16 y);
  9173. ushort __ovld __cnfn abs_diff(short x, short y);
  9174. ushort __ovld __cnfn abs_diff(ushort x, ushort y);
  9175. ushort2 __ovld __cnfn abs_diff(short2 x, short2 y);
  9176. ushort2 __ovld __cnfn abs_diff(ushort2 x, ushort2 y);
  9177. ushort3 __ovld __cnfn abs_diff(short3 x, short3 y);
  9178. ushort3 __ovld __cnfn abs_diff(ushort3 x, ushort3 y);
  9179. ushort4 __ovld __cnfn abs_diff(short4 x, short4 y);
  9180. ushort4 __ovld __cnfn abs_diff(ushort4 x, ushort4 y);
  9181. ushort8 __ovld __cnfn abs_diff(short8 x, short8 y);
  9182. ushort8 __ovld __cnfn abs_diff(ushort8 x, ushort8 y);
  9183. ushort16 __ovld __cnfn abs_diff(short16 x, short16 y);
  9184. ushort16 __ovld __cnfn abs_diff(ushort16 x, ushort16 y);
  9185. uint __ovld __cnfn abs_diff(int x, int y);
  9186. uint __ovld __cnfn abs_diff(uint x, uint y);
  9187. uint2 __ovld __cnfn abs_diff(int2 x, int2 y);
  9188. uint2 __ovld __cnfn abs_diff(uint2 x, uint2 y);
  9189. uint3 __ovld __cnfn abs_diff(int3 x, int3 y);
  9190. uint3 __ovld __cnfn abs_diff(uint3 x, uint3 y);
  9191. uint4 __ovld __cnfn abs_diff(int4 x, int4 y);
  9192. uint4 __ovld __cnfn abs_diff(uint4 x, uint4 y);
  9193. uint8 __ovld __cnfn abs_diff(int8 x, int8 y);
  9194. uint8 __ovld __cnfn abs_diff(uint8 x, uint8 y);
  9195. uint16 __ovld __cnfn abs_diff(int16 x, int16 y);
  9196. uint16 __ovld __cnfn abs_diff(uint16 x, uint16 y);
  9197. ulong __ovld __cnfn abs_diff(long x, long y);
  9198. ulong __ovld __cnfn abs_diff(ulong x, ulong y);
  9199. ulong2 __ovld __cnfn abs_diff(long2 x, long2 y);
  9200. ulong2 __ovld __cnfn abs_diff(ulong2 x, ulong2 y);
  9201. ulong3 __ovld __cnfn abs_diff(long3 x, long3 y);
  9202. ulong3 __ovld __cnfn abs_diff(ulong3 x, ulong3 y);
  9203. ulong4 __ovld __cnfn abs_diff(long4 x, long4 y);
  9204. ulong4 __ovld __cnfn abs_diff(ulong4 x, ulong4 y);
  9205. ulong8 __ovld __cnfn abs_diff(long8 x, long8 y);
  9206. ulong8 __ovld __cnfn abs_diff(ulong8 x, ulong8 y);
  9207. ulong16 __ovld __cnfn abs_diff(long16 x, long16 y);
  9208. ulong16 __ovld __cnfn abs_diff(ulong16 x, ulong16 y);
  9209. /**
  9210. * Returns x + y and saturates the result.
  9211. */
  9212. char __ovld __cnfn add_sat(char x, char y);
  9213. uchar __ovld __cnfn add_sat(uchar x, uchar y);
  9214. char2 __ovld __cnfn add_sat(char2 x, char2 y);
  9215. uchar2 __ovld __cnfn add_sat(uchar2 x, uchar2 y);
  9216. char3 __ovld __cnfn add_sat(char3 x, char3 y);
  9217. uchar3 __ovld __cnfn add_sat(uchar3 x, uchar3 y);
  9218. char4 __ovld __cnfn add_sat(char4 x, char4 y);
  9219. uchar4 __ovld __cnfn add_sat(uchar4 x, uchar4 y);
  9220. char8 __ovld __cnfn add_sat(char8 x, char8 y);
  9221. uchar8 __ovld __cnfn add_sat(uchar8 x, uchar8 y);
  9222. char16 __ovld __cnfn add_sat(char16 x, char16 y);
  9223. uchar16 __ovld __cnfn add_sat(uchar16 x, uchar16 y);
  9224. short __ovld __cnfn add_sat(short x, short y);
  9225. ushort __ovld __cnfn add_sat(ushort x, ushort y);
  9226. short2 __ovld __cnfn add_sat(short2 x, short2 y);
  9227. ushort2 __ovld __cnfn add_sat(ushort2 x, ushort2 y);
  9228. short3 __ovld __cnfn add_sat(short3 x, short3 y);
  9229. ushort3 __ovld __cnfn add_sat(ushort3 x, ushort3 y);
  9230. short4 __ovld __cnfn add_sat(short4 x, short4 y);
  9231. ushort4 __ovld __cnfn add_sat(ushort4 x, ushort4 y);
  9232. short8 __ovld __cnfn add_sat(short8 x, short8 y);
  9233. ushort8 __ovld __cnfn add_sat(ushort8 x, ushort8 y);
  9234. short16 __ovld __cnfn add_sat(short16 x, short16 y);
  9235. ushort16 __ovld __cnfn add_sat(ushort16 x, ushort16 y);
  9236. int __ovld __cnfn add_sat(int x, int y);
  9237. uint __ovld __cnfn add_sat(uint x, uint y);
  9238. int2 __ovld __cnfn add_sat(int2 x, int2 y);
  9239. uint2 __ovld __cnfn add_sat(uint2 x, uint2 y);
  9240. int3 __ovld __cnfn add_sat(int3 x, int3 y);
  9241. uint3 __ovld __cnfn add_sat(uint3 x, uint3 y);
  9242. int4 __ovld __cnfn add_sat(int4 x, int4 y);
  9243. uint4 __ovld __cnfn add_sat(uint4 x, uint4 y);
  9244. int8 __ovld __cnfn add_sat(int8 x, int8 y);
  9245. uint8 __ovld __cnfn add_sat(uint8 x, uint8 y);
  9246. int16 __ovld __cnfn add_sat(int16 x, int16 y);
  9247. uint16 __ovld __cnfn add_sat(uint16 x, uint16 y);
  9248. long __ovld __cnfn add_sat(long x, long y);
  9249. ulong __ovld __cnfn add_sat(ulong x, ulong y);
  9250. long2 __ovld __cnfn add_sat(long2 x, long2 y);
  9251. ulong2 __ovld __cnfn add_sat(ulong2 x, ulong2 y);
  9252. long3 __ovld __cnfn add_sat(long3 x, long3 y);
  9253. ulong3 __ovld __cnfn add_sat(ulong3 x, ulong3 y);
  9254. long4 __ovld __cnfn add_sat(long4 x, long4 y);
  9255. ulong4 __ovld __cnfn add_sat(ulong4 x, ulong4 y);
  9256. long8 __ovld __cnfn add_sat(long8 x, long8 y);
  9257. ulong8 __ovld __cnfn add_sat(ulong8 x, ulong8 y);
  9258. long16 __ovld __cnfn add_sat(long16 x, long16 y);
  9259. ulong16 __ovld __cnfn add_sat(ulong16 x, ulong16 y);
  9260. /**
  9261. * Returns (x + y) >> 1. The intermediate sum does
  9262. * not modulo overflow.
  9263. */
  9264. char __ovld __cnfn hadd(char x, char y);
  9265. uchar __ovld __cnfn hadd(uchar x, uchar y);
  9266. char2 __ovld __cnfn hadd(char2 x, char2 y);
  9267. uchar2 __ovld __cnfn hadd(uchar2 x, uchar2 y);
  9268. char3 __ovld __cnfn hadd(char3 x, char3 y);
  9269. uchar3 __ovld __cnfn hadd(uchar3 x, uchar3 y);
  9270. char4 __ovld __cnfn hadd(char4 x, char4 y);
  9271. uchar4 __ovld __cnfn hadd(uchar4 x, uchar4 y);
  9272. char8 __ovld __cnfn hadd(char8 x, char8 y);
  9273. uchar8 __ovld __cnfn hadd(uchar8 x, uchar8 y);
  9274. char16 __ovld __cnfn hadd(char16 x, char16 y);
  9275. uchar16 __ovld __cnfn hadd(uchar16 x, uchar16 y);
  9276. short __ovld __cnfn hadd(short x, short y);
  9277. ushort __ovld __cnfn hadd(ushort x, ushort y);
  9278. short2 __ovld __cnfn hadd(short2 x, short2 y);
  9279. ushort2 __ovld __cnfn hadd(ushort2 x, ushort2 y);
  9280. short3 __ovld __cnfn hadd(short3 x, short3 y);
  9281. ushort3 __ovld __cnfn hadd(ushort3 x, ushort3 y);
  9282. short4 __ovld __cnfn hadd(short4 x, short4 y);
  9283. ushort4 __ovld __cnfn hadd(ushort4 x, ushort4 y);
  9284. short8 __ovld __cnfn hadd(short8 x, short8 y);
  9285. ushort8 __ovld __cnfn hadd(ushort8 x, ushort8 y);
  9286. short16 __ovld __cnfn hadd(short16 x, short16 y);
  9287. ushort16 __ovld __cnfn hadd(ushort16 x, ushort16 y);
  9288. int __ovld __cnfn hadd(int x, int y);
  9289. uint __ovld __cnfn hadd(uint x, uint y);
  9290. int2 __ovld __cnfn hadd(int2 x, int2 y);
  9291. uint2 __ovld __cnfn hadd(uint2 x, uint2 y);
  9292. int3 __ovld __cnfn hadd(int3 x, int3 y);
  9293. uint3 __ovld __cnfn hadd(uint3 x, uint3 y);
  9294. int4 __ovld __cnfn hadd(int4 x, int4 y);
  9295. uint4 __ovld __cnfn hadd(uint4 x, uint4 y);
  9296. int8 __ovld __cnfn hadd(int8 x, int8 y);
  9297. uint8 __ovld __cnfn hadd(uint8 x, uint8 y);
  9298. int16 __ovld __cnfn hadd(int16 x, int16 y);
  9299. uint16 __ovld __cnfn hadd(uint16 x, uint16 y);
  9300. long __ovld __cnfn hadd(long x, long y);
  9301. ulong __ovld __cnfn hadd(ulong x, ulong y);
  9302. long2 __ovld __cnfn hadd(long2 x, long2 y);
  9303. ulong2 __ovld __cnfn hadd(ulong2 x, ulong2 y);
  9304. long3 __ovld __cnfn hadd(long3 x, long3 y);
  9305. ulong3 __ovld __cnfn hadd(ulong3 x, ulong3 y);
  9306. long4 __ovld __cnfn hadd(long4 x, long4 y);
  9307. ulong4 __ovld __cnfn hadd(ulong4 x, ulong4 y);
  9308. long8 __ovld __cnfn hadd(long8 x, long8 y);
  9309. ulong8 __ovld __cnfn hadd(ulong8 x, ulong8 y);
  9310. long16 __ovld __cnfn hadd(long16 x, long16 y);
  9311. ulong16 __ovld __cnfn hadd(ulong16 x, ulong16 y);
  9312. /**
  9313. * Returns (x + y + 1) >> 1. The intermediate sum
  9314. * does not modulo overflow.
  9315. */
  9316. char __ovld __cnfn rhadd(char x, char y);
  9317. uchar __ovld __cnfn rhadd(uchar x, uchar y);
  9318. char2 __ovld __cnfn rhadd(char2 x, char2 y);
  9319. uchar2 __ovld __cnfn rhadd(uchar2 x, uchar2 y);
  9320. char3 __ovld __cnfn rhadd(char3 x, char3 y);
  9321. uchar3 __ovld __cnfn rhadd(uchar3 x, uchar3 y);
  9322. char4 __ovld __cnfn rhadd(char4 x, char4 y);
  9323. uchar4 __ovld __cnfn rhadd(uchar4 x, uchar4 y);
  9324. char8 __ovld __cnfn rhadd(char8 x, char8 y);
  9325. uchar8 __ovld __cnfn rhadd(uchar8 x, uchar8 y);
  9326. char16 __ovld __cnfn rhadd(char16 x, char16 y);
  9327. uchar16 __ovld __cnfn rhadd(uchar16 x, uchar16 y);
  9328. short __ovld __cnfn rhadd(short x, short y);
  9329. ushort __ovld __cnfn rhadd(ushort x, ushort y);
  9330. short2 __ovld __cnfn rhadd(short2 x, short2 y);
  9331. ushort2 __ovld __cnfn rhadd(ushort2 x, ushort2 y);
  9332. short3 __ovld __cnfn rhadd(short3 x, short3 y);
  9333. ushort3 __ovld __cnfn rhadd(ushort3 x, ushort3 y);
  9334. short4 __ovld __cnfn rhadd(short4 x, short4 y);
  9335. ushort4 __ovld __cnfn rhadd(ushort4 x, ushort4 y);
  9336. short8 __ovld __cnfn rhadd(short8 x, short8 y);
  9337. ushort8 __ovld __cnfn rhadd(ushort8 x, ushort8 y);
  9338. short16 __ovld __cnfn rhadd(short16 x, short16 y);
  9339. ushort16 __ovld __cnfn rhadd(ushort16 x, ushort16 y);
  9340. int __ovld __cnfn rhadd(int x, int y);
  9341. uint __ovld __cnfn rhadd(uint x, uint y);
  9342. int2 __ovld __cnfn rhadd(int2 x, int2 y);
  9343. uint2 __ovld __cnfn rhadd(uint2 x, uint2 y);
  9344. int3 __ovld __cnfn rhadd(int3 x, int3 y);
  9345. uint3 __ovld __cnfn rhadd(uint3 x, uint3 y);
  9346. int4 __ovld __cnfn rhadd(int4 x, int4 y);
  9347. uint4 __ovld __cnfn rhadd(uint4 x, uint4 y);
  9348. int8 __ovld __cnfn rhadd(int8 x, int8 y);
  9349. uint8 __ovld __cnfn rhadd(uint8 x, uint8 y);
  9350. int16 __ovld __cnfn rhadd(int16 x, int16 y);
  9351. uint16 __ovld __cnfn rhadd(uint16 x, uint16 y);
  9352. long __ovld __cnfn rhadd(long x, long y);
  9353. ulong __ovld __cnfn rhadd(ulong x, ulong y);
  9354. long2 __ovld __cnfn rhadd(long2 x, long2 y);
  9355. ulong2 __ovld __cnfn rhadd(ulong2 x, ulong2 y);
  9356. long3 __ovld __cnfn rhadd(long3 x, long3 y);
  9357. ulong3 __ovld __cnfn rhadd(ulong3 x, ulong3 y);
  9358. long4 __ovld __cnfn rhadd(long4 x, long4 y);
  9359. ulong4 __ovld __cnfn rhadd(ulong4 x, ulong4 y);
  9360. long8 __ovld __cnfn rhadd(long8 x, long8 y);
  9361. ulong8 __ovld __cnfn rhadd(ulong8 x, ulong8 y);
  9362. long16 __ovld __cnfn rhadd(long16 x, long16 y);
  9363. ulong16 __ovld __cnfn rhadd(ulong16 x, ulong16 y);
  9364. /**
  9365. * Returns min(max(x, minval), maxval).
  9366. * Results are undefined if minval > maxval.
  9367. */
  9368. char __ovld __cnfn clamp(char x, char minval, char maxval);
  9369. uchar __ovld __cnfn clamp(uchar x, uchar minval, uchar maxval);
  9370. char2 __ovld __cnfn clamp(char2 x, char2 minval, char2 maxval);
  9371. uchar2 __ovld __cnfn clamp(uchar2 x, uchar2 minval, uchar2 maxval);
  9372. char3 __ovld __cnfn clamp(char3 x, char3 minval, char3 maxval);
  9373. uchar3 __ovld __cnfn clamp(uchar3 x, uchar3 minval, uchar3 maxval);
  9374. char4 __ovld __cnfn clamp(char4 x, char4 minval, char4 maxval);
  9375. uchar4 __ovld __cnfn clamp(uchar4 x, uchar4 minval, uchar4 maxval);
  9376. char8 __ovld __cnfn clamp(char8 x, char8 minval, char8 maxval);
  9377. uchar8 __ovld __cnfn clamp(uchar8 x, uchar8 minval, uchar8 maxval);
  9378. char16 __ovld __cnfn clamp(char16 x, char16 minval, char16 maxval);
  9379. uchar16 __ovld __cnfn clamp(uchar16 x, uchar16 minval, uchar16 maxval);
  9380. short __ovld __cnfn clamp(short x, short minval, short maxval);
  9381. ushort __ovld __cnfn clamp(ushort x, ushort minval, ushort maxval);
  9382. short2 __ovld __cnfn clamp(short2 x, short2 minval, short2 maxval);
  9383. ushort2 __ovld __cnfn clamp(ushort2 x, ushort2 minval, ushort2 maxval);
  9384. short3 __ovld __cnfn clamp(short3 x, short3 minval, short3 maxval);
  9385. ushort3 __ovld __cnfn clamp(ushort3 x, ushort3 minval, ushort3 maxval);
  9386. short4 __ovld __cnfn clamp(short4 x, short4 minval, short4 maxval);
  9387. ushort4 __ovld __cnfn clamp(ushort4 x, ushort4 minval, ushort4 maxval);
  9388. short8 __ovld __cnfn clamp(short8 x, short8 minval, short8 maxval);
  9389. ushort8 __ovld __cnfn clamp(ushort8 x, ushort8 minval, ushort8 maxval);
  9390. short16 __ovld __cnfn clamp(short16 x, short16 minval, short16 maxval);
  9391. ushort16 __ovld __cnfn clamp(ushort16 x, ushort16 minval, ushort16 maxval);
  9392. int __ovld __cnfn clamp(int x, int minval, int maxval);
  9393. uint __ovld __cnfn clamp(uint x, uint minval, uint maxval);
  9394. int2 __ovld __cnfn clamp(int2 x, int2 minval, int2 maxval);
  9395. uint2 __ovld __cnfn clamp(uint2 x, uint2 minval, uint2 maxval);
  9396. int3 __ovld __cnfn clamp(int3 x, int3 minval, int3 maxval);
  9397. uint3 __ovld __cnfn clamp(uint3 x, uint3 minval, uint3 maxval);
  9398. int4 __ovld __cnfn clamp(int4 x, int4 minval, int4 maxval);
  9399. uint4 __ovld __cnfn clamp(uint4 x, uint4 minval, uint4 maxval);
  9400. int8 __ovld __cnfn clamp(int8 x, int8 minval, int8 maxval);
  9401. uint8 __ovld __cnfn clamp(uint8 x, uint8 minval, uint8 maxval);
  9402. int16 __ovld __cnfn clamp(int16 x, int16 minval, int16 maxval);
  9403. uint16 __ovld __cnfn clamp(uint16 x, uint16 minval, uint16 maxval);
  9404. long __ovld __cnfn clamp(long x, long minval, long maxval);
  9405. ulong __ovld __cnfn clamp(ulong x, ulong minval, ulong maxval);
  9406. long2 __ovld __cnfn clamp(long2 x, long2 minval, long2 maxval);
  9407. ulong2 __ovld __cnfn clamp(ulong2 x, ulong2 minval, ulong2 maxval);
  9408. long3 __ovld __cnfn clamp(long3 x, long3 minval, long3 maxval);
  9409. ulong3 __ovld __cnfn clamp(ulong3 x, ulong3 minval, ulong3 maxval);
  9410. long4 __ovld __cnfn clamp(long4 x, long4 minval, long4 maxval);
  9411. ulong4 __ovld __cnfn clamp(ulong4 x, ulong4 minval, ulong4 maxval);
  9412. long8 __ovld __cnfn clamp(long8 x, long8 minval, long8 maxval);
  9413. ulong8 __ovld __cnfn clamp(ulong8 x, ulong8 minval, ulong8 maxval);
  9414. long16 __ovld __cnfn clamp(long16 x, long16 minval, long16 maxval);
  9415. ulong16 __ovld __cnfn clamp(ulong16 x, ulong16 minval, ulong16 maxval);
  9416. char __ovld __cnfn clamp(char x, char minval, char maxval);
  9417. uchar __ovld __cnfn clamp(uchar x, uchar minval, uchar maxval);
  9418. char2 __ovld __cnfn clamp(char2 x, char minval, char maxval);
  9419. uchar2 __ovld __cnfn clamp(uchar2 x, uchar minval, uchar maxval);
  9420. char3 __ovld __cnfn clamp(char3 x, char minval, char maxval);
  9421. uchar3 __ovld __cnfn clamp(uchar3 x, uchar minval, uchar maxval);
  9422. char4 __ovld __cnfn clamp(char4 x, char minval, char maxval);
  9423. uchar4 __ovld __cnfn clamp(uchar4 x, uchar minval, uchar maxval);
  9424. char8 __ovld __cnfn clamp(char8 x, char minval, char maxval);
  9425. uchar8 __ovld __cnfn clamp(uchar8 x, uchar minval, uchar maxval);
  9426. char16 __ovld __cnfn clamp(char16 x, char minval, char maxval);
  9427. uchar16 __ovld __cnfn clamp(uchar16 x, uchar minval, uchar maxval);
  9428. short __ovld __cnfn clamp(short x, short minval, short maxval);
  9429. ushort __ovld __cnfn clamp(ushort x, ushort minval, ushort maxval);
  9430. short2 __ovld __cnfn clamp(short2 x, short minval, short maxval);
  9431. ushort2 __ovld __cnfn clamp(ushort2 x, ushort minval, ushort maxval);
  9432. short3 __ovld __cnfn clamp(short3 x, short minval, short maxval);
  9433. ushort3 __ovld __cnfn clamp(ushort3 x, ushort minval, ushort maxval);
  9434. short4 __ovld __cnfn clamp(short4 x, short minval, short maxval);
  9435. ushort4 __ovld __cnfn clamp(ushort4 x, ushort minval, ushort maxval);
  9436. short8 __ovld __cnfn clamp(short8 x, short minval, short maxval);
  9437. ushort8 __ovld __cnfn clamp(ushort8 x, ushort minval, ushort maxval);
  9438. short16 __ovld __cnfn clamp(short16 x, short minval, short maxval);
  9439. ushort16 __ovld __cnfn clamp(ushort16 x, ushort minval, ushort maxval);
  9440. int __ovld __cnfn clamp(int x, int minval, int maxval);
  9441. uint __ovld __cnfn clamp(uint x, uint minval, uint maxval);
  9442. int2 __ovld __cnfn clamp(int2 x, int minval, int maxval);
  9443. uint2 __ovld __cnfn clamp(uint2 x, uint minval, uint maxval);
  9444. int3 __ovld __cnfn clamp(int3 x, int minval, int maxval);
  9445. uint3 __ovld __cnfn clamp(uint3 x, uint minval, uint maxval);
  9446. int4 __ovld __cnfn clamp(int4 x, int minval, int maxval);
  9447. uint4 __ovld __cnfn clamp(uint4 x, uint minval, uint maxval);
  9448. int8 __ovld __cnfn clamp(int8 x, int minval, int maxval);
  9449. uint8 __ovld __cnfn clamp(uint8 x, uint minval, uint maxval);
  9450. int16 __ovld __cnfn clamp(int16 x, int minval, int maxval);
  9451. uint16 __ovld __cnfn clamp(uint16 x, uint minval, uint maxval);
  9452. long __ovld __cnfn clamp(long x, long minval, long maxval);
  9453. ulong __ovld __cnfn clamp(ulong x, ulong minval, ulong maxval);
  9454. long2 __ovld __cnfn clamp(long2 x, long minval, long maxval);
  9455. ulong2 __ovld __cnfn clamp(ulong2 x, ulong minval, ulong maxval);
  9456. long3 __ovld __cnfn clamp(long3 x, long minval, long maxval);
  9457. ulong3 __ovld __cnfn clamp(ulong3 x, ulong minval, ulong maxval);
  9458. long4 __ovld __cnfn clamp(long4 x, long minval, long maxval);
  9459. ulong4 __ovld __cnfn clamp(ulong4 x, ulong minval, ulong maxval);
  9460. long8 __ovld __cnfn clamp(long8 x, long minval, long maxval);
  9461. ulong8 __ovld __cnfn clamp(ulong8 x, ulong minval, ulong maxval);
  9462. long16 __ovld __cnfn clamp(long16 x, long minval, long maxval);
  9463. ulong16 __ovld __cnfn clamp(ulong16 x, ulong minval, ulong maxval);
  9464. /**
  9465. * Returns the number of leading 0-bits in x, starting
  9466. * at the most significant bit position.
  9467. */
  9468. char __ovld __cnfn clz(char x);
  9469. uchar __ovld __cnfn clz(uchar x);
  9470. char2 __ovld __cnfn clz(char2 x);
  9471. uchar2 __ovld __cnfn clz(uchar2 x);
  9472. char3 __ovld __cnfn clz(char3 x);
  9473. uchar3 __ovld __cnfn clz(uchar3 x);
  9474. char4 __ovld __cnfn clz(char4 x);
  9475. uchar4 __ovld __cnfn clz(uchar4 x);
  9476. char8 __ovld __cnfn clz(char8 x);
  9477. uchar8 __ovld __cnfn clz(uchar8 x);
  9478. char16 __ovld __cnfn clz(char16 x);
  9479. uchar16 __ovld __cnfn clz(uchar16 x);
  9480. short __ovld __cnfn clz(short x);
  9481. ushort __ovld __cnfn clz(ushort x);
  9482. short2 __ovld __cnfn clz(short2 x);
  9483. ushort2 __ovld __cnfn clz(ushort2 x);
  9484. short3 __ovld __cnfn clz(short3 x);
  9485. ushort3 __ovld __cnfn clz(ushort3 x);
  9486. short4 __ovld __cnfn clz(short4 x);
  9487. ushort4 __ovld __cnfn clz(ushort4 x);
  9488. short8 __ovld __cnfn clz(short8 x);
  9489. ushort8 __ovld __cnfn clz(ushort8 x);
  9490. short16 __ovld __cnfn clz(short16 x);
  9491. ushort16 __ovld __cnfn clz(ushort16 x);
  9492. int __ovld __cnfn clz(int x);
  9493. uint __ovld __cnfn clz(uint x);
  9494. int2 __ovld __cnfn clz(int2 x);
  9495. uint2 __ovld __cnfn clz(uint2 x);
  9496. int3 __ovld __cnfn clz(int3 x);
  9497. uint3 __ovld __cnfn clz(uint3 x);
  9498. int4 __ovld __cnfn clz(int4 x);
  9499. uint4 __ovld __cnfn clz(uint4 x);
  9500. int8 __ovld __cnfn clz(int8 x);
  9501. uint8 __ovld __cnfn clz(uint8 x);
  9502. int16 __ovld __cnfn clz(int16 x);
  9503. uint16 __ovld __cnfn clz(uint16 x);
  9504. long __ovld __cnfn clz(long x);
  9505. ulong __ovld __cnfn clz(ulong x);
  9506. long2 __ovld __cnfn clz(long2 x);
  9507. ulong2 __ovld __cnfn clz(ulong2 x);
  9508. long3 __ovld __cnfn clz(long3 x);
  9509. ulong3 __ovld __cnfn clz(ulong3 x);
  9510. long4 __ovld __cnfn clz(long4 x);
  9511. ulong4 __ovld __cnfn clz(ulong4 x);
  9512. long8 __ovld __cnfn clz(long8 x);
  9513. ulong8 __ovld __cnfn clz(ulong8 x);
  9514. long16 __ovld __cnfn clz(long16 x);
  9515. ulong16 __ovld __cnfn clz(ulong16 x);
  9516. /**
  9517. * Returns the count of trailing 0-bits in x. If x is 0,
  9518. * returns the size in bits of the type of x or
  9519. * component type of x, if x is a vector.
  9520. */
  9521. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  9522. char __ovld ctz(char x);
  9523. uchar __ovld ctz(uchar x);
  9524. char2 __ovld ctz(char2 x);
  9525. uchar2 __ovld ctz(uchar2 x);
  9526. char3 __ovld ctz(char3 x);
  9527. uchar3 __ovld ctz(uchar3 x);
  9528. char4 __ovld ctz(char4 x);
  9529. uchar4 __ovld ctz(uchar4 x);
  9530. char8 __ovld ctz(char8 x);
  9531. uchar8 __ovld ctz(uchar8 x);
  9532. char16 __ovld ctz(char16 x);
  9533. uchar16 __ovld ctz(uchar16 x);
  9534. short __ovld ctz(short x);
  9535. ushort __ovld ctz(ushort x);
  9536. short2 __ovld ctz(short2 x);
  9537. ushort2 __ovld ctz(ushort2 x);
  9538. short3 __ovld ctz(short3 x);
  9539. ushort3 __ovld ctz(ushort3 x);
  9540. short4 __ovld ctz(short4 x);
  9541. ushort4 __ovld ctz(ushort4 x);
  9542. short8 __ovld ctz(short8 x);
  9543. ushort8 __ovld ctz(ushort8 x);
  9544. short16 __ovld ctz(short16 x);
  9545. ushort16 __ovld ctz(ushort16 x);
  9546. int __ovld ctz(int x);
  9547. uint __ovld ctz(uint x);
  9548. int2 __ovld ctz(int2 x);
  9549. uint2 __ovld ctz(uint2 x);
  9550. int3 __ovld ctz(int3 x);
  9551. uint3 __ovld ctz(uint3 x);
  9552. int4 __ovld ctz(int4 x);
  9553. uint4 __ovld ctz(uint4 x);
  9554. int8 __ovld ctz(int8 x);
  9555. uint8 __ovld ctz(uint8 x);
  9556. int16 __ovld ctz(int16 x);
  9557. uint16 __ovld ctz(uint16 x);
  9558. long __ovld ctz(long x);
  9559. ulong __ovld ctz(ulong x);
  9560. long2 __ovld ctz(long2 x);
  9561. ulong2 __ovld ctz(ulong2 x);
  9562. long3 __ovld ctz(long3 x);
  9563. ulong3 __ovld ctz(ulong3 x);
  9564. long4 __ovld ctz(long4 x);
  9565. ulong4 __ovld ctz(ulong4 x);
  9566. long8 __ovld ctz(long8 x);
  9567. ulong8 __ovld ctz(ulong8 x);
  9568. long16 __ovld ctz(long16 x);
  9569. ulong16 __ovld ctz(ulong16 x);
  9570. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  9571. /**
  9572. * Returns mul_hi(a, b) + c.
  9573. */
  9574. char __ovld __cnfn mad_hi(char a, char b, char c);
  9575. uchar __ovld __cnfn mad_hi(uchar a, uchar b, uchar c);
  9576. char2 __ovld __cnfn mad_hi(char2 a, char2 b, char2 c);
  9577. uchar2 __ovld __cnfn mad_hi(uchar2 a, uchar2 b, uchar2 c);
  9578. char3 __ovld __cnfn mad_hi(char3 a, char3 b, char3 c);
  9579. uchar3 __ovld __cnfn mad_hi(uchar3 a, uchar3 b, uchar3 c);
  9580. char4 __ovld __cnfn mad_hi(char4 a, char4 b, char4 c);
  9581. uchar4 __ovld __cnfn mad_hi(uchar4 a, uchar4 b, uchar4 c);
  9582. char8 __ovld __cnfn mad_hi(char8 a, char8 b, char8 c);
  9583. uchar8 __ovld __cnfn mad_hi(uchar8 a, uchar8 b, uchar8 c);
  9584. char16 __ovld __cnfn mad_hi(char16 a, char16 b, char16 c);
  9585. uchar16 __ovld __cnfn mad_hi(uchar16 a, uchar16 b, uchar16 c);
  9586. short __ovld __cnfn mad_hi(short a, short b, short c);
  9587. ushort __ovld __cnfn mad_hi(ushort a, ushort b, ushort c);
  9588. short2 __ovld __cnfn mad_hi(short2 a, short2 b, short2 c);
  9589. ushort2 __ovld __cnfn mad_hi(ushort2 a, ushort2 b, ushort2 c);
  9590. short3 __ovld __cnfn mad_hi(short3 a, short3 b, short3 c);
  9591. ushort3 __ovld __cnfn mad_hi(ushort3 a, ushort3 b, ushort3 c);
  9592. short4 __ovld __cnfn mad_hi(short4 a, short4 b, short4 c);
  9593. ushort4 __ovld __cnfn mad_hi(ushort4 a, ushort4 b, ushort4 c);
  9594. short8 __ovld __cnfn mad_hi(short8 a, short8 b, short8 c);
  9595. ushort8 __ovld __cnfn mad_hi(ushort8 a, ushort8 b, ushort8 c);
  9596. short16 __ovld __cnfn mad_hi(short16 a, short16 b, short16 c);
  9597. ushort16 __ovld __cnfn mad_hi(ushort16 a, ushort16 b, ushort16 c);
  9598. int __ovld __cnfn mad_hi(int a, int b, int c);
  9599. uint __ovld __cnfn mad_hi(uint a, uint b, uint c);
  9600. int2 __ovld __cnfn mad_hi(int2 a, int2 b, int2 c);
  9601. uint2 __ovld __cnfn mad_hi(uint2 a, uint2 b, uint2 c);
  9602. int3 __ovld __cnfn mad_hi(int3 a, int3 b, int3 c);
  9603. uint3 __ovld __cnfn mad_hi(uint3 a, uint3 b, uint3 c);
  9604. int4 __ovld __cnfn mad_hi(int4 a, int4 b, int4 c);
  9605. uint4 __ovld __cnfn mad_hi(uint4 a, uint4 b, uint4 c);
  9606. int8 __ovld __cnfn mad_hi(int8 a, int8 b, int8 c);
  9607. uint8 __ovld __cnfn mad_hi(uint8 a, uint8 b, uint8 c);
  9608. int16 __ovld __cnfn mad_hi(int16 a, int16 b, int16 c);
  9609. uint16 __ovld __cnfn mad_hi(uint16 a, uint16 b, uint16 c);
  9610. long __ovld __cnfn mad_hi(long a, long b, long c);
  9611. ulong __ovld __cnfn mad_hi(ulong a, ulong b, ulong c);
  9612. long2 __ovld __cnfn mad_hi(long2 a, long2 b, long2 c);
  9613. ulong2 __ovld __cnfn mad_hi(ulong2 a, ulong2 b, ulong2 c);
  9614. long3 __ovld __cnfn mad_hi(long3 a, long3 b, long3 c);
  9615. ulong3 __ovld __cnfn mad_hi(ulong3 a, ulong3 b, ulong3 c);
  9616. long4 __ovld __cnfn mad_hi(long4 a, long4 b, long4 c);
  9617. ulong4 __ovld __cnfn mad_hi(ulong4 a, ulong4 b, ulong4 c);
  9618. long8 __ovld __cnfn mad_hi(long8 a, long8 b, long8 c);
  9619. ulong8 __ovld __cnfn mad_hi(ulong8 a, ulong8 b, ulong8 c);
  9620. long16 __ovld __cnfn mad_hi(long16 a, long16 b, long16 c);
  9621. ulong16 __ovld __cnfn mad_hi(ulong16 a, ulong16 b, ulong16 c);
  9622. /**
  9623. * Returns a * b + c and saturates the result.
  9624. */
  9625. char __ovld __cnfn mad_sat(char a, char b, char c);
  9626. uchar __ovld __cnfn mad_sat(uchar a, uchar b, uchar c);
  9627. char2 __ovld __cnfn mad_sat(char2 a, char2 b, char2 c);
  9628. uchar2 __ovld __cnfn mad_sat(uchar2 a, uchar2 b, uchar2 c);
  9629. char3 __ovld __cnfn mad_sat(char3 a, char3 b, char3 c);
  9630. uchar3 __ovld __cnfn mad_sat(uchar3 a, uchar3 b, uchar3 c);
  9631. char4 __ovld __cnfn mad_sat(char4 a, char4 b, char4 c);
  9632. uchar4 __ovld __cnfn mad_sat(uchar4 a, uchar4 b, uchar4 c);
  9633. char8 __ovld __cnfn mad_sat(char8 a, char8 b, char8 c);
  9634. uchar8 __ovld __cnfn mad_sat(uchar8 a, uchar8 b, uchar8 c);
  9635. char16 __ovld __cnfn mad_sat(char16 a, char16 b, char16 c);
  9636. uchar16 __ovld __cnfn mad_sat(uchar16 a, uchar16 b, uchar16 c);
  9637. short __ovld __cnfn mad_sat(short a, short b, short c);
  9638. ushort __ovld __cnfn mad_sat(ushort a, ushort b, ushort c);
  9639. short2 __ovld __cnfn mad_sat(short2 a, short2 b, short2 c);
  9640. ushort2 __ovld __cnfn mad_sat(ushort2 a, ushort2 b, ushort2 c);
  9641. short3 __ovld __cnfn mad_sat(short3 a, short3 b, short3 c);
  9642. ushort3 __ovld __cnfn mad_sat(ushort3 a, ushort3 b, ushort3 c);
  9643. short4 __ovld __cnfn mad_sat(short4 a, short4 b, short4 c);
  9644. ushort4 __ovld __cnfn mad_sat(ushort4 a, ushort4 b, ushort4 c);
  9645. short8 __ovld __cnfn mad_sat(short8 a, short8 b, short8 c);
  9646. ushort8 __ovld __cnfn mad_sat(ushort8 a, ushort8 b, ushort8 c);
  9647. short16 __ovld __cnfn mad_sat(short16 a, short16 b, short16 c);
  9648. ushort16 __ovld __cnfn mad_sat(ushort16 a, ushort16 b, ushort16 c);
  9649. int __ovld __cnfn mad_sat(int a, int b, int c);
  9650. uint __ovld __cnfn mad_sat(uint a, uint b, uint c);
  9651. int2 __ovld __cnfn mad_sat(int2 a, int2 b, int2 c);
  9652. uint2 __ovld __cnfn mad_sat(uint2 a, uint2 b, uint2 c);
  9653. int3 __ovld __cnfn mad_sat(int3 a, int3 b, int3 c);
  9654. uint3 __ovld __cnfn mad_sat(uint3 a, uint3 b, uint3 c);
  9655. int4 __ovld __cnfn mad_sat(int4 a, int4 b, int4 c);
  9656. uint4 __ovld __cnfn mad_sat(uint4 a, uint4 b, uint4 c);
  9657. int8 __ovld __cnfn mad_sat(int8 a, int8 b, int8 c);
  9658. uint8 __ovld __cnfn mad_sat(uint8 a, uint8 b, uint8 c);
  9659. int16 __ovld __cnfn mad_sat(int16 a, int16 b, int16 c);
  9660. uint16 __ovld __cnfn mad_sat(uint16 a, uint16 b, uint16 c);
  9661. long __ovld __cnfn mad_sat(long a, long b, long c);
  9662. ulong __ovld __cnfn mad_sat(ulong a, ulong b, ulong c);
  9663. long2 __ovld __cnfn mad_sat(long2 a, long2 b, long2 c);
  9664. ulong2 __ovld __cnfn mad_sat(ulong2 a, ulong2 b, ulong2 c);
  9665. long3 __ovld __cnfn mad_sat(long3 a, long3 b, long3 c);
  9666. ulong3 __ovld __cnfn mad_sat(ulong3 a, ulong3 b, ulong3 c);
  9667. long4 __ovld __cnfn mad_sat(long4 a, long4 b, long4 c);
  9668. ulong4 __ovld __cnfn mad_sat(ulong4 a, ulong4 b, ulong4 c);
  9669. long8 __ovld __cnfn mad_sat(long8 a, long8 b, long8 c);
  9670. ulong8 __ovld __cnfn mad_sat(ulong8 a, ulong8 b, ulong8 c);
  9671. long16 __ovld __cnfn mad_sat(long16 a, long16 b, long16 c);
  9672. ulong16 __ovld __cnfn mad_sat(ulong16 a, ulong16 b, ulong16 c);
  9673. /**
  9674. * Returns y if x < y, otherwise it returns x.
  9675. */
  9676. char __ovld __cnfn max(char x, char y);
  9677. uchar __ovld __cnfn max(uchar x, uchar y);
  9678. char2 __ovld __cnfn max(char2 x, char2 y);
  9679. uchar2 __ovld __cnfn max(uchar2 x, uchar2 y);
  9680. char3 __ovld __cnfn max(char3 x, char3 y);
  9681. uchar3 __ovld __cnfn max(uchar3 x, uchar3 y);
  9682. char4 __ovld __cnfn max(char4 x, char4 y);
  9683. uchar4 __ovld __cnfn max(uchar4 x, uchar4 y);
  9684. char8 __ovld __cnfn max(char8 x, char8 y);
  9685. uchar8 __ovld __cnfn max(uchar8 x, uchar8 y);
  9686. char16 __ovld __cnfn max(char16 x, char16 y);
  9687. uchar16 __ovld __cnfn max(uchar16 x, uchar16 y);
  9688. short __ovld __cnfn max(short x, short y);
  9689. ushort __ovld __cnfn max(ushort x, ushort y);
  9690. short2 __ovld __cnfn max(short2 x, short2 y);
  9691. ushort2 __ovld __cnfn max(ushort2 x, ushort2 y);
  9692. short3 __ovld __cnfn max(short3 x, short3 y);
  9693. ushort3 __ovld __cnfn max(ushort3 x, ushort3 y);
  9694. short4 __ovld __cnfn max(short4 x, short4 y);
  9695. ushort4 __ovld __cnfn max(ushort4 x, ushort4 y);
  9696. short8 __ovld __cnfn max(short8 x, short8 y);
  9697. ushort8 __ovld __cnfn max(ushort8 x, ushort8 y);
  9698. short16 __ovld __cnfn max(short16 x, short16 y);
  9699. ushort16 __ovld __cnfn max(ushort16 x, ushort16 y);
  9700. int __ovld __cnfn max(int x, int y);
  9701. uint __ovld __cnfn max(uint x, uint y);
  9702. int2 __ovld __cnfn max(int2 x, int2 y);
  9703. uint2 __ovld __cnfn max(uint2 x, uint2 y);
  9704. int3 __ovld __cnfn max(int3 x, int3 y);
  9705. uint3 __ovld __cnfn max(uint3 x, uint3 y);
  9706. int4 __ovld __cnfn max(int4 x, int4 y);
  9707. uint4 __ovld __cnfn max(uint4 x, uint4 y);
  9708. int8 __ovld __cnfn max(int8 x, int8 y);
  9709. uint8 __ovld __cnfn max(uint8 x, uint8 y);
  9710. int16 __ovld __cnfn max(int16 x, int16 y);
  9711. uint16 __ovld __cnfn max(uint16 x, uint16 y);
  9712. long __ovld __cnfn max(long x, long y);
  9713. ulong __ovld __cnfn max(ulong x, ulong y);
  9714. long2 __ovld __cnfn max(long2 x, long2 y);
  9715. ulong2 __ovld __cnfn max(ulong2 x, ulong2 y);
  9716. long3 __ovld __cnfn max(long3 x, long3 y);
  9717. ulong3 __ovld __cnfn max(ulong3 x, ulong3 y);
  9718. long4 __ovld __cnfn max(long4 x, long4 y);
  9719. ulong4 __ovld __cnfn max(ulong4 x, ulong4 y);
  9720. long8 __ovld __cnfn max(long8 x, long8 y);
  9721. ulong8 __ovld __cnfn max(ulong8 x, ulong8 y);
  9722. long16 __ovld __cnfn max(long16 x, long16 y);
  9723. ulong16 __ovld __cnfn max(ulong16 x, ulong16 y);
  9724. char __ovld __cnfn max(char x, char y);
  9725. uchar __ovld __cnfn max(uchar x, uchar y);
  9726. char2 __ovld __cnfn max(char2 x, char y);
  9727. uchar2 __ovld __cnfn max(uchar2 x, uchar y);
  9728. char3 __ovld __cnfn max(char3 x, char y);
  9729. uchar3 __ovld __cnfn max(uchar3 x, uchar y);
  9730. char4 __ovld __cnfn max(char4 x, char y);
  9731. uchar4 __ovld __cnfn max(uchar4 x, uchar y);
  9732. char8 __ovld __cnfn max(char8 x, char y);
  9733. uchar8 __ovld __cnfn max(uchar8 x, uchar y);
  9734. char16 __ovld __cnfn max(char16 x, char y);
  9735. uchar16 __ovld __cnfn max(uchar16 x, uchar y);
  9736. short __ovld __cnfn max(short x, short y);
  9737. ushort __ovld __cnfn max(ushort x, ushort y);
  9738. short2 __ovld __cnfn max(short2 x, short y);
  9739. ushort2 __ovld __cnfn max(ushort2 x, ushort y);
  9740. short3 __ovld __cnfn max(short3 x, short y);
  9741. ushort3 __ovld __cnfn max(ushort3 x, ushort y);
  9742. short4 __ovld __cnfn max(short4 x, short y);
  9743. ushort4 __ovld __cnfn max(ushort4 x, ushort y);
  9744. short8 __ovld __cnfn max(short8 x, short y);
  9745. ushort8 __ovld __cnfn max(ushort8 x, ushort y);
  9746. short16 __ovld __cnfn max(short16 x, short y);
  9747. ushort16 __ovld __cnfn max(ushort16 x, ushort y);
  9748. int __ovld __cnfn max(int x, int y);
  9749. uint __ovld __cnfn max(uint x, uint y);
  9750. int2 __ovld __cnfn max(int2 x, int y);
  9751. uint2 __ovld __cnfn max(uint2 x, uint y);
  9752. int3 __ovld __cnfn max(int3 x, int y);
  9753. uint3 __ovld __cnfn max(uint3 x, uint y);
  9754. int4 __ovld __cnfn max(int4 x, int y);
  9755. uint4 __ovld __cnfn max(uint4 x, uint y);
  9756. int8 __ovld __cnfn max(int8 x, int y);
  9757. uint8 __ovld __cnfn max(uint8 x, uint y);
  9758. int16 __ovld __cnfn max(int16 x, int y);
  9759. uint16 __ovld __cnfn max(uint16 x, uint y);
  9760. long __ovld __cnfn max(long x, long y);
  9761. ulong __ovld __cnfn max(ulong x, ulong y);
  9762. long2 __ovld __cnfn max(long2 x, long y);
  9763. ulong2 __ovld __cnfn max(ulong2 x, ulong y);
  9764. long3 __ovld __cnfn max(long3 x, long y);
  9765. ulong3 __ovld __cnfn max(ulong3 x, ulong y);
  9766. long4 __ovld __cnfn max(long4 x, long y);
  9767. ulong4 __ovld __cnfn max(ulong4 x, ulong y);
  9768. long8 __ovld __cnfn max(long8 x, long y);
  9769. ulong8 __ovld __cnfn max(ulong8 x, ulong y);
  9770. long16 __ovld __cnfn max(long16 x, long y);
  9771. ulong16 __ovld __cnfn max(ulong16 x, ulong y);
  9772. /**
  9773. * Returns y if y < x, otherwise it returns x.
  9774. */
  9775. char __ovld __cnfn min(char x, char y);
  9776. uchar __ovld __cnfn min(uchar x, uchar y);
  9777. char2 __ovld __cnfn min(char2 x, char2 y);
  9778. uchar2 __ovld __cnfn min(uchar2 x, uchar2 y);
  9779. char3 __ovld __cnfn min(char3 x, char3 y);
  9780. uchar3 __ovld __cnfn min(uchar3 x, uchar3 y);
  9781. char4 __ovld __cnfn min(char4 x, char4 y);
  9782. uchar4 __ovld __cnfn min(uchar4 x, uchar4 y);
  9783. char8 __ovld __cnfn min(char8 x, char8 y);
  9784. uchar8 __ovld __cnfn min(uchar8 x, uchar8 y);
  9785. char16 __ovld __cnfn min(char16 x, char16 y);
  9786. uchar16 __ovld __cnfn min(uchar16 x, uchar16 y);
  9787. short __ovld __cnfn min(short x, short y);
  9788. ushort __ovld __cnfn min(ushort x, ushort y);
  9789. short2 __ovld __cnfn min(short2 x, short2 y);
  9790. ushort2 __ovld __cnfn min(ushort2 x, ushort2 y);
  9791. short3 __ovld __cnfn min(short3 x, short3 y);
  9792. ushort3 __ovld __cnfn min(ushort3 x, ushort3 y);
  9793. short4 __ovld __cnfn min(short4 x, short4 y);
  9794. ushort4 __ovld __cnfn min(ushort4 x, ushort4 y);
  9795. short8 __ovld __cnfn min(short8 x, short8 y);
  9796. ushort8 __ovld __cnfn min(ushort8 x, ushort8 y);
  9797. short16 __ovld __cnfn min(short16 x, short16 y);
  9798. ushort16 __ovld __cnfn min(ushort16 x, ushort16 y);
  9799. int __ovld __cnfn min(int x, int y);
  9800. uint __ovld __cnfn min(uint x, uint y);
  9801. int2 __ovld __cnfn min(int2 x, int2 y);
  9802. uint2 __ovld __cnfn min(uint2 x, uint2 y);
  9803. int3 __ovld __cnfn min(int3 x, int3 y);
  9804. uint3 __ovld __cnfn min(uint3 x, uint3 y);
  9805. int4 __ovld __cnfn min(int4 x, int4 y);
  9806. uint4 __ovld __cnfn min(uint4 x, uint4 y);
  9807. int8 __ovld __cnfn min(int8 x, int8 y);
  9808. uint8 __ovld __cnfn min(uint8 x, uint8 y);
  9809. int16 __ovld __cnfn min(int16 x, int16 y);
  9810. uint16 __ovld __cnfn min(uint16 x, uint16 y);
  9811. long __ovld __cnfn min(long x, long y);
  9812. ulong __ovld __cnfn min(ulong x, ulong y);
  9813. long2 __ovld __cnfn min(long2 x, long2 y);
  9814. ulong2 __ovld __cnfn min(ulong2 x, ulong2 y);
  9815. long3 __ovld __cnfn min(long3 x, long3 y);
  9816. ulong3 __ovld __cnfn min(ulong3 x, ulong3 y);
  9817. long4 __ovld __cnfn min(long4 x, long4 y);
  9818. ulong4 __ovld __cnfn min(ulong4 x, ulong4 y);
  9819. long8 __ovld __cnfn min(long8 x, long8 y);
  9820. ulong8 __ovld __cnfn min(ulong8 x, ulong8 y);
  9821. long16 __ovld __cnfn min(long16 x, long16 y);
  9822. ulong16 __ovld __cnfn min(ulong16 x, ulong16 y);
  9823. char __ovld __cnfn min(char x, char y);
  9824. uchar __ovld __cnfn min(uchar x, uchar y);
  9825. char2 __ovld __cnfn min(char2 x, char y);
  9826. uchar2 __ovld __cnfn min(uchar2 x, uchar y);
  9827. char3 __ovld __cnfn min(char3 x, char y);
  9828. uchar3 __ovld __cnfn min(uchar3 x, uchar y);
  9829. char4 __ovld __cnfn min(char4 x, char y);
  9830. uchar4 __ovld __cnfn min(uchar4 x, uchar y);
  9831. char8 __ovld __cnfn min(char8 x, char y);
  9832. uchar8 __ovld __cnfn min(uchar8 x, uchar y);
  9833. char16 __ovld __cnfn min(char16 x, char y);
  9834. uchar16 __ovld __cnfn min(uchar16 x, uchar y);
  9835. short __ovld __cnfn min(short x, short y);
  9836. ushort __ovld __cnfn min(ushort x, ushort y);
  9837. short2 __ovld __cnfn min(short2 x, short y);
  9838. ushort2 __ovld __cnfn min(ushort2 x, ushort y);
  9839. short3 __ovld __cnfn min(short3 x, short y);
  9840. ushort3 __ovld __cnfn min(ushort3 x, ushort y);
  9841. short4 __ovld __cnfn min(short4 x, short y);
  9842. ushort4 __ovld __cnfn min(ushort4 x, ushort y);
  9843. short8 __ovld __cnfn min(short8 x, short y);
  9844. ushort8 __ovld __cnfn min(ushort8 x, ushort y);
  9845. short16 __ovld __cnfn min(short16 x, short y);
  9846. ushort16 __ovld __cnfn min(ushort16 x, ushort y);
  9847. int __ovld __cnfn min(int x, int y);
  9848. uint __ovld __cnfn min(uint x, uint y);
  9849. int2 __ovld __cnfn min(int2 x, int y);
  9850. uint2 __ovld __cnfn min(uint2 x, uint y);
  9851. int3 __ovld __cnfn min(int3 x, int y);
  9852. uint3 __ovld __cnfn min(uint3 x, uint y);
  9853. int4 __ovld __cnfn min(int4 x, int y);
  9854. uint4 __ovld __cnfn min(uint4 x, uint y);
  9855. int8 __ovld __cnfn min(int8 x, int y);
  9856. uint8 __ovld __cnfn min(uint8 x, uint y);
  9857. int16 __ovld __cnfn min(int16 x, int y);
  9858. uint16 __ovld __cnfn min(uint16 x, uint y);
  9859. long __ovld __cnfn min(long x, long y);
  9860. ulong __ovld __cnfn min(ulong x, ulong y);
  9861. long2 __ovld __cnfn min(long2 x, long y);
  9862. ulong2 __ovld __cnfn min(ulong2 x, ulong y);
  9863. long3 __ovld __cnfn min(long3 x, long y);
  9864. ulong3 __ovld __cnfn min(ulong3 x, ulong y);
  9865. long4 __ovld __cnfn min(long4 x, long y);
  9866. ulong4 __ovld __cnfn min(ulong4 x, ulong y);
  9867. long8 __ovld __cnfn min(long8 x, long y);
  9868. ulong8 __ovld __cnfn min(ulong8 x, ulong y);
  9869. long16 __ovld __cnfn min(long16 x, long y);
  9870. ulong16 __ovld __cnfn min(ulong16 x, ulong y);
  9871. /**
  9872. * Computes x * y and returns the high half of the
  9873. * product of x and y.
  9874. */
  9875. char __ovld __cnfn mul_hi(char x, char y);
  9876. uchar __ovld __cnfn mul_hi(uchar x, uchar y);
  9877. char2 __ovld __cnfn mul_hi(char2 x, char2 y);
  9878. uchar2 __ovld __cnfn mul_hi(uchar2 x, uchar2 y);
  9879. char3 __ovld __cnfn mul_hi(char3 x, char3 y);
  9880. uchar3 __ovld __cnfn mul_hi(uchar3 x, uchar3 y);
  9881. char4 __ovld __cnfn mul_hi(char4 x, char4 y);
  9882. uchar4 __ovld __cnfn mul_hi(uchar4 x, uchar4 y);
  9883. char8 __ovld __cnfn mul_hi(char8 x, char8 y);
  9884. uchar8 __ovld __cnfn mul_hi(uchar8 x, uchar8 y);
  9885. char16 __ovld __cnfn mul_hi(char16 x, char16 y);
  9886. uchar16 __ovld __cnfn mul_hi(uchar16 x, uchar16 y);
  9887. short __ovld __cnfn mul_hi(short x, short y);
  9888. ushort __ovld __cnfn mul_hi(ushort x, ushort y);
  9889. short2 __ovld __cnfn mul_hi(short2 x, short2 y);
  9890. ushort2 __ovld __cnfn mul_hi(ushort2 x, ushort2 y);
  9891. short3 __ovld __cnfn mul_hi(short3 x, short3 y);
  9892. ushort3 __ovld __cnfn mul_hi(ushort3 x, ushort3 y);
  9893. short4 __ovld __cnfn mul_hi(short4 x, short4 y);
  9894. ushort4 __ovld __cnfn mul_hi(ushort4 x, ushort4 y);
  9895. short8 __ovld __cnfn mul_hi(short8 x, short8 y);
  9896. ushort8 __ovld __cnfn mul_hi(ushort8 x, ushort8 y);
  9897. short16 __ovld __cnfn mul_hi(short16 x, short16 y);
  9898. ushort16 __ovld __cnfn mul_hi(ushort16 x, ushort16 y);
  9899. int __ovld __cnfn mul_hi(int x, int y);
  9900. uint __ovld __cnfn mul_hi(uint x, uint y);
  9901. int2 __ovld __cnfn mul_hi(int2 x, int2 y);
  9902. uint2 __ovld __cnfn mul_hi(uint2 x, uint2 y);
  9903. int3 __ovld __cnfn mul_hi(int3 x, int3 y);
  9904. uint3 __ovld __cnfn mul_hi(uint3 x, uint3 y);
  9905. int4 __ovld __cnfn mul_hi(int4 x, int4 y);
  9906. uint4 __ovld __cnfn mul_hi(uint4 x, uint4 y);
  9907. int8 __ovld __cnfn mul_hi(int8 x, int8 y);
  9908. uint8 __ovld __cnfn mul_hi(uint8 x, uint8 y);
  9909. int16 __ovld __cnfn mul_hi(int16 x, int16 y);
  9910. uint16 __ovld __cnfn mul_hi(uint16 x, uint16 y);
  9911. long __ovld __cnfn mul_hi(long x, long y);
  9912. ulong __ovld __cnfn mul_hi(ulong x, ulong y);
  9913. long2 __ovld __cnfn mul_hi(long2 x, long2 y);
  9914. ulong2 __ovld __cnfn mul_hi(ulong2 x, ulong2 y);
  9915. long3 __ovld __cnfn mul_hi(long3 x, long3 y);
  9916. ulong3 __ovld __cnfn mul_hi(ulong3 x, ulong3 y);
  9917. long4 __ovld __cnfn mul_hi(long4 x, long4 y);
  9918. ulong4 __ovld __cnfn mul_hi(ulong4 x, ulong4 y);
  9919. long8 __ovld __cnfn mul_hi(long8 x, long8 y);
  9920. ulong8 __ovld __cnfn mul_hi(ulong8 x, ulong8 y);
  9921. long16 __ovld __cnfn mul_hi(long16 x, long16 y);
  9922. ulong16 __ovld __cnfn mul_hi(ulong16 x, ulong16 y);
  9923. /**
  9924. * For each element in v, the bits are shifted left by
  9925. * the number of bits given by the corresponding
  9926. * element in i (subject to usual shift modulo rules
  9927. * described in section 6.3). Bits shifted off the left
  9928. * side of the element are shifted back in from the
  9929. * right.
  9930. */
  9931. char __ovld __cnfn rotate(char v, char i);
  9932. uchar __ovld __cnfn rotate(uchar v, uchar i);
  9933. char2 __ovld __cnfn rotate(char2 v, char2 i);
  9934. uchar2 __ovld __cnfn rotate(uchar2 v, uchar2 i);
  9935. char3 __ovld __cnfn rotate(char3 v, char3 i);
  9936. uchar3 __ovld __cnfn rotate(uchar3 v, uchar3 i);
  9937. char4 __ovld __cnfn rotate(char4 v, char4 i);
  9938. uchar4 __ovld __cnfn rotate(uchar4 v, uchar4 i);
  9939. char8 __ovld __cnfn rotate(char8 v, char8 i);
  9940. uchar8 __ovld __cnfn rotate(uchar8 v, uchar8 i);
  9941. char16 __ovld __cnfn rotate(char16 v, char16 i);
  9942. uchar16 __ovld __cnfn rotate(uchar16 v, uchar16 i);
  9943. short __ovld __cnfn rotate(short v, short i);
  9944. ushort __ovld __cnfn rotate(ushort v, ushort i);
  9945. short2 __ovld __cnfn rotate(short2 v, short2 i);
  9946. ushort2 __ovld __cnfn rotate(ushort2 v, ushort2 i);
  9947. short3 __ovld __cnfn rotate(short3 v, short3 i);
  9948. ushort3 __ovld __cnfn rotate(ushort3 v, ushort3 i);
  9949. short4 __ovld __cnfn rotate(short4 v, short4 i);
  9950. ushort4 __ovld __cnfn rotate(ushort4 v, ushort4 i);
  9951. short8 __ovld __cnfn rotate(short8 v, short8 i);
  9952. ushort8 __ovld __cnfn rotate(ushort8 v, ushort8 i);
  9953. short16 __ovld __cnfn rotate(short16 v, short16 i);
  9954. ushort16 __ovld __cnfn rotate(ushort16 v, ushort16 i);
  9955. int __ovld __cnfn rotate(int v, int i);
  9956. uint __ovld __cnfn rotate(uint v, uint i);
  9957. int2 __ovld __cnfn rotate(int2 v, int2 i);
  9958. uint2 __ovld __cnfn rotate(uint2 v, uint2 i);
  9959. int3 __ovld __cnfn rotate(int3 v, int3 i);
  9960. uint3 __ovld __cnfn rotate(uint3 v, uint3 i);
  9961. int4 __ovld __cnfn rotate(int4 v, int4 i);
  9962. uint4 __ovld __cnfn rotate(uint4 v, uint4 i);
  9963. int8 __ovld __cnfn rotate(int8 v, int8 i);
  9964. uint8 __ovld __cnfn rotate(uint8 v, uint8 i);
  9965. int16 __ovld __cnfn rotate(int16 v, int16 i);
  9966. uint16 __ovld __cnfn rotate(uint16 v, uint16 i);
  9967. long __ovld __cnfn rotate(long v, long i);
  9968. ulong __ovld __cnfn rotate(ulong v, ulong i);
  9969. long2 __ovld __cnfn rotate(long2 v, long2 i);
  9970. ulong2 __ovld __cnfn rotate(ulong2 v, ulong2 i);
  9971. long3 __ovld __cnfn rotate(long3 v, long3 i);
  9972. ulong3 __ovld __cnfn rotate(ulong3 v, ulong3 i);
  9973. long4 __ovld __cnfn rotate(long4 v, long4 i);
  9974. ulong4 __ovld __cnfn rotate(ulong4 v, ulong4 i);
  9975. long8 __ovld __cnfn rotate(long8 v, long8 i);
  9976. ulong8 __ovld __cnfn rotate(ulong8 v, ulong8 i);
  9977. long16 __ovld __cnfn rotate(long16 v, long16 i);
  9978. ulong16 __ovld __cnfn rotate(ulong16 v, ulong16 i);
  9979. /**
  9980. * Returns x - y and saturates the result.
  9981. */
  9982. char __ovld __cnfn sub_sat(char x, char y);
  9983. uchar __ovld __cnfn sub_sat(uchar x, uchar y);
  9984. char2 __ovld __cnfn sub_sat(char2 x, char2 y);
  9985. uchar2 __ovld __cnfn sub_sat(uchar2 x, uchar2 y);
  9986. char3 __ovld __cnfn sub_sat(char3 x, char3 y);
  9987. uchar3 __ovld __cnfn sub_sat(uchar3 x, uchar3 y);
  9988. char4 __ovld __cnfn sub_sat(char4 x, char4 y);
  9989. uchar4 __ovld __cnfn sub_sat(uchar4 x, uchar4 y);
  9990. char8 __ovld __cnfn sub_sat(char8 x, char8 y);
  9991. uchar8 __ovld __cnfn sub_sat(uchar8 x, uchar8 y);
  9992. char16 __ovld __cnfn sub_sat(char16 x, char16 y);
  9993. uchar16 __ovld __cnfn sub_sat(uchar16 x, uchar16 y);
  9994. short __ovld __cnfn sub_sat(short x, short y);
  9995. ushort __ovld __cnfn sub_sat(ushort x, ushort y);
  9996. short2 __ovld __cnfn sub_sat(short2 x, short2 y);
  9997. ushort2 __ovld __cnfn sub_sat(ushort2 x, ushort2 y);
  9998. short3 __ovld __cnfn sub_sat(short3 x, short3 y);
  9999. ushort3 __ovld __cnfn sub_sat(ushort3 x, ushort3 y);
  10000. short4 __ovld __cnfn sub_sat(short4 x, short4 y);
  10001. ushort4 __ovld __cnfn sub_sat(ushort4 x, ushort4 y);
  10002. short8 __ovld __cnfn sub_sat(short8 x, short8 y);
  10003. ushort8 __ovld __cnfn sub_sat(ushort8 x, ushort8 y);
  10004. short16 __ovld __cnfn sub_sat(short16 x, short16 y);
  10005. ushort16 __ovld __cnfn sub_sat(ushort16 x, ushort16 y);
  10006. int __ovld __cnfn sub_sat(int x, int y);
  10007. uint __ovld __cnfn sub_sat(uint x, uint y);
  10008. int2 __ovld __cnfn sub_sat(int2 x, int2 y);
  10009. uint2 __ovld __cnfn sub_sat(uint2 x, uint2 y);
  10010. int3 __ovld __cnfn sub_sat(int3 x, int3 y);
  10011. uint3 __ovld __cnfn sub_sat(uint3 x, uint3 y);
  10012. int4 __ovld __cnfn sub_sat(int4 x, int4 y);
  10013. uint4 __ovld __cnfn sub_sat(uint4 x, uint4 y);
  10014. int8 __ovld __cnfn sub_sat(int8 x, int8 y);
  10015. uint8 __ovld __cnfn sub_sat(uint8 x, uint8 y);
  10016. int16 __ovld __cnfn sub_sat(int16 x, int16 y);
  10017. uint16 __ovld __cnfn sub_sat(uint16 x, uint16 y);
  10018. long __ovld __cnfn sub_sat(long x, long y);
  10019. ulong __ovld __cnfn sub_sat(ulong x, ulong y);
  10020. long2 __ovld __cnfn sub_sat(long2 x, long2 y);
  10021. ulong2 __ovld __cnfn sub_sat(ulong2 x, ulong2 y);
  10022. long3 __ovld __cnfn sub_sat(long3 x, long3 y);
  10023. ulong3 __ovld __cnfn sub_sat(ulong3 x, ulong3 y);
  10024. long4 __ovld __cnfn sub_sat(long4 x, long4 y);
  10025. ulong4 __ovld __cnfn sub_sat(ulong4 x, ulong4 y);
  10026. long8 __ovld __cnfn sub_sat(long8 x, long8 y);
  10027. ulong8 __ovld __cnfn sub_sat(ulong8 x, ulong8 y);
  10028. long16 __ovld __cnfn sub_sat(long16 x, long16 y);
  10029. ulong16 __ovld __cnfn sub_sat(ulong16 x, ulong16 y);
  10030. /**
  10031. * result[i] = ((short)hi[i] << 8) | lo[i]
  10032. * result[i] = ((ushort)hi[i] << 8) | lo[i]
  10033. */
  10034. short __ovld __cnfn upsample(char hi, uchar lo);
  10035. ushort __ovld __cnfn upsample(uchar hi, uchar lo);
  10036. short2 __ovld __cnfn upsample(char2 hi, uchar2 lo);
  10037. short3 __ovld __cnfn upsample(char3 hi, uchar3 lo);
  10038. short4 __ovld __cnfn upsample(char4 hi, uchar4 lo);
  10039. short8 __ovld __cnfn upsample(char8 hi, uchar8 lo);
  10040. short16 __ovld __cnfn upsample(char16 hi, uchar16 lo);
  10041. ushort2 __ovld __cnfn upsample(uchar2 hi, uchar2 lo);
  10042. ushort3 __ovld __cnfn upsample(uchar3 hi, uchar3 lo);
  10043. ushort4 __ovld __cnfn upsample(uchar4 hi, uchar4 lo);
  10044. ushort8 __ovld __cnfn upsample(uchar8 hi, uchar8 lo);
  10045. ushort16 __ovld __cnfn upsample(uchar16 hi, uchar16 lo);
  10046. /**
  10047. * result[i] = ((int)hi[i] << 16) | lo[i]
  10048. * result[i] = ((uint)hi[i] << 16) | lo[i]
  10049. */
  10050. int __ovld __cnfn upsample(short hi, ushort lo);
  10051. uint __ovld __cnfn upsample(ushort hi, ushort lo);
  10052. int2 __ovld __cnfn upsample(short2 hi, ushort2 lo);
  10053. int3 __ovld __cnfn upsample(short3 hi, ushort3 lo);
  10054. int4 __ovld __cnfn upsample(short4 hi, ushort4 lo);
  10055. int8 __ovld __cnfn upsample(short8 hi, ushort8 lo);
  10056. int16 __ovld __cnfn upsample(short16 hi, ushort16 lo);
  10057. uint2 __ovld __cnfn upsample(ushort2 hi, ushort2 lo);
  10058. uint3 __ovld __cnfn upsample(ushort3 hi, ushort3 lo);
  10059. uint4 __ovld __cnfn upsample(ushort4 hi, ushort4 lo);
  10060. uint8 __ovld __cnfn upsample(ushort8 hi, ushort8 lo);
  10061. uint16 __ovld __cnfn upsample(ushort16 hi, ushort16 lo);
  10062. /**
  10063. * result[i] = ((long)hi[i] << 32) | lo[i]
  10064. * result[i] = ((ulong)hi[i] << 32) | lo[i]
  10065. */
  10066. long __ovld __cnfn upsample(int hi, uint lo);
  10067. ulong __ovld __cnfn upsample(uint hi, uint lo);
  10068. long2 __ovld __cnfn upsample(int2 hi, uint2 lo);
  10069. long3 __ovld __cnfn upsample(int3 hi, uint3 lo);
  10070. long4 __ovld __cnfn upsample(int4 hi, uint4 lo);
  10071. long8 __ovld __cnfn upsample(int8 hi, uint8 lo);
  10072. long16 __ovld __cnfn upsample(int16 hi, uint16 lo);
  10073. ulong2 __ovld __cnfn upsample(uint2 hi, uint2 lo);
  10074. ulong3 __ovld __cnfn upsample(uint3 hi, uint3 lo);
  10075. ulong4 __ovld __cnfn upsample(uint4 hi, uint4 lo);
  10076. ulong8 __ovld __cnfn upsample(uint8 hi, uint8 lo);
  10077. ulong16 __ovld __cnfn upsample(uint16 hi, uint16 lo);
  10078. /*
  10079. * popcount(x): returns the number of set bit in x
  10080. */
  10081. char __ovld __cnfn popcount(char x);
  10082. uchar __ovld __cnfn popcount(uchar x);
  10083. char2 __ovld __cnfn popcount(char2 x);
  10084. uchar2 __ovld __cnfn popcount(uchar2 x);
  10085. char3 __ovld __cnfn popcount(char3 x);
  10086. uchar3 __ovld __cnfn popcount(uchar3 x);
  10087. char4 __ovld __cnfn popcount(char4 x);
  10088. uchar4 __ovld __cnfn popcount(uchar4 x);
  10089. char8 __ovld __cnfn popcount(char8 x);
  10090. uchar8 __ovld __cnfn popcount(uchar8 x);
  10091. char16 __ovld __cnfn popcount(char16 x);
  10092. uchar16 __ovld __cnfn popcount(uchar16 x);
  10093. short __ovld __cnfn popcount(short x);
  10094. ushort __ovld __cnfn popcount(ushort x);
  10095. short2 __ovld __cnfn popcount(short2 x);
  10096. ushort2 __ovld __cnfn popcount(ushort2 x);
  10097. short3 __ovld __cnfn popcount(short3 x);
  10098. ushort3 __ovld __cnfn popcount(ushort3 x);
  10099. short4 __ovld __cnfn popcount(short4 x);
  10100. ushort4 __ovld __cnfn popcount(ushort4 x);
  10101. short8 __ovld __cnfn popcount(short8 x);
  10102. ushort8 __ovld __cnfn popcount(ushort8 x);
  10103. short16 __ovld __cnfn popcount(short16 x);
  10104. ushort16 __ovld __cnfn popcount(ushort16 x);
  10105. int __ovld __cnfn popcount(int x);
  10106. uint __ovld __cnfn popcount(uint x);
  10107. int2 __ovld __cnfn popcount(int2 x);
  10108. uint2 __ovld __cnfn popcount(uint2 x);
  10109. int3 __ovld __cnfn popcount(int3 x);
  10110. uint3 __ovld __cnfn popcount(uint3 x);
  10111. int4 __ovld __cnfn popcount(int4 x);
  10112. uint4 __ovld __cnfn popcount(uint4 x);
  10113. int8 __ovld __cnfn popcount(int8 x);
  10114. uint8 __ovld __cnfn popcount(uint8 x);
  10115. int16 __ovld __cnfn popcount(int16 x);
  10116. uint16 __ovld __cnfn popcount(uint16 x);
  10117. long __ovld __cnfn popcount(long x);
  10118. ulong __ovld __cnfn popcount(ulong x);
  10119. long2 __ovld __cnfn popcount(long2 x);
  10120. ulong2 __ovld __cnfn popcount(ulong2 x);
  10121. long3 __ovld __cnfn popcount(long3 x);
  10122. ulong3 __ovld __cnfn popcount(ulong3 x);
  10123. long4 __ovld __cnfn popcount(long4 x);
  10124. ulong4 __ovld __cnfn popcount(ulong4 x);
  10125. long8 __ovld __cnfn popcount(long8 x);
  10126. ulong8 __ovld __cnfn popcount(ulong8 x);
  10127. long16 __ovld __cnfn popcount(long16 x);
  10128. ulong16 __ovld __cnfn popcount(ulong16 x);
  10129. /**
  10130. * Multiply two 24-bit integer values x and y and add
  10131. * the 32-bit integer result to the 32-bit integer z.
  10132. * Refer to definition of mul24 to see how the 24-bit
  10133. * integer multiplication is performed.
  10134. */
  10135. int __ovld __cnfn mad24(int x, int y, int z);
  10136. uint __ovld __cnfn mad24(uint x, uint y, uint z);
  10137. int2 __ovld __cnfn mad24(int2 x, int2 y, int2 z);
  10138. uint2 __ovld __cnfn mad24(uint2 x, uint2 y, uint2 z);
  10139. int3 __ovld __cnfn mad24(int3 x, int3 y, int3 z);
  10140. uint3 __ovld __cnfn mad24(uint3 x, uint3 y, uint3 z);
  10141. int4 __ovld __cnfn mad24(int4 x, int4 y, int4 z);
  10142. uint4 __ovld __cnfn mad24(uint4 x, uint4 y, uint4 z);
  10143. int8 __ovld __cnfn mad24(int8 x, int8 y, int8 z);
  10144. uint8 __ovld __cnfn mad24(uint8 x, uint8 y, uint8 z);
  10145. int16 __ovld __cnfn mad24(int16 x, int16 y, int16 z);
  10146. uint16 __ovld __cnfn mad24(uint16 x, uint16 y, uint16 z);
  10147. /**
  10148. * Multiply two 24-bit integer values x and y. x and y
  10149. * are 32-bit integers but only the low 24-bits are used
  10150. * to perform the multiplication. mul24 should only
  10151. * be used when values in x and y are in the range [-
  10152. * 2^23, 2^23-1] if x and y are signed integers and in the
  10153. * range [0, 2^24-1] if x and y are unsigned integers. If
  10154. * x and y are not in this range, the multiplication
  10155. * result is implementation-defined.
  10156. */
  10157. int __ovld __cnfn mul24(int x, int y);
  10158. uint __ovld __cnfn mul24(uint x, uint y);
  10159. int2 __ovld __cnfn mul24(int2 x, int2 y);
  10160. uint2 __ovld __cnfn mul24(uint2 x, uint2 y);
  10161. int3 __ovld __cnfn mul24(int3 x, int3 y);
  10162. uint3 __ovld __cnfn mul24(uint3 x, uint3 y);
  10163. int4 __ovld __cnfn mul24(int4 x, int4 y);
  10164. uint4 __ovld __cnfn mul24(uint4 x, uint4 y);
  10165. int8 __ovld __cnfn mul24(int8 x, int8 y);
  10166. uint8 __ovld __cnfn mul24(uint8 x, uint8 y);
  10167. int16 __ovld __cnfn mul24(int16 x, int16 y);
  10168. uint16 __ovld __cnfn mul24(uint16 x, uint16 y);
  10169. // OpenCL v1.1 s6.11.4, v1.2 s6.12.4, v2.0 s6.13.4 - Common Functions
  10170. /**
  10171. * Returns fmin(fmax(x, minval), maxval).
  10172. * Results are undefined if minval > maxval.
  10173. */
  10174. float __ovld __cnfn clamp(float x, float minval, float maxval);
  10175. float2 __ovld __cnfn clamp(float2 x, float2 minval, float2 maxval);
  10176. float3 __ovld __cnfn clamp(float3 x, float3 minval, float3 maxval);
  10177. float4 __ovld __cnfn clamp(float4 x, float4 minval, float4 maxval);
  10178. float8 __ovld __cnfn clamp(float8 x, float8 minval, float8 maxval);
  10179. float16 __ovld __cnfn clamp(float16 x, float16 minval, float16 maxval);
  10180. float2 __ovld __cnfn clamp(float2 x, float minval, float maxval);
  10181. float3 __ovld __cnfn clamp(float3 x, float minval, float maxval);
  10182. float4 __ovld __cnfn clamp(float4 x, float minval, float maxval);
  10183. float8 __ovld __cnfn clamp(float8 x, float minval, float maxval);
  10184. float16 __ovld __cnfn clamp(float16 x, float minval, float maxval);
  10185. #ifdef cl_khr_fp64
  10186. double __ovld __cnfn clamp(double x, double minval, double maxval);
  10187. double2 __ovld __cnfn clamp(double2 x, double2 minval, double2 maxval);
  10188. double3 __ovld __cnfn clamp(double3 x, double3 minval, double3 maxval);
  10189. double4 __ovld __cnfn clamp(double4 x, double4 minval, double4 maxval);
  10190. double8 __ovld __cnfn clamp(double8 x, double8 minval, double8 maxval);
  10191. double16 __ovld __cnfn clamp(double16 x, double16 minval, double16 maxval);
  10192. double2 __ovld __cnfn clamp(double2 x, double minval, double maxval);
  10193. double3 __ovld __cnfn clamp(double3 x, double minval, double maxval);
  10194. double4 __ovld __cnfn clamp(double4 x, double minval, double maxval);
  10195. double8 __ovld __cnfn clamp(double8 x, double minval, double maxval);
  10196. double16 __ovld __cnfn clamp(double16 x, double minval, double maxval);
  10197. #endif //cl_khr_fp64
  10198. #ifdef cl_khr_fp16
  10199. half __ovld __cnfn clamp(half x, half minval, half maxval);
  10200. half2 __ovld __cnfn clamp(half2 x, half2 minval, half2 maxval);
  10201. half3 __ovld __cnfn clamp(half3 x, half3 minval, half3 maxval);
  10202. half4 __ovld __cnfn clamp(half4 x, half4 minval, half4 maxval);
  10203. half8 __ovld __cnfn clamp(half8 x, half8 minval, half8 maxval);
  10204. half16 __ovld __cnfn clamp(half16 x, half16 minval, half16 maxval);
  10205. half2 __ovld __cnfn clamp(half2 x, half minval, half maxval);
  10206. half3 __ovld __cnfn clamp(half3 x, half minval, half maxval);
  10207. half4 __ovld __cnfn clamp(half4 x, half minval, half maxval);
  10208. half8 __ovld __cnfn clamp(half8 x, half minval, half maxval);
  10209. half16 __ovld __cnfn clamp(half16 x, half minval, half maxval);
  10210. #endif //cl_khr_fp16
  10211. /**
  10212. * Converts radians to degrees, i.e. (180 / PI) *
  10213. * radians.
  10214. */
  10215. float __ovld __cnfn degrees(float radians);
  10216. float2 __ovld __cnfn degrees(float2 radians);
  10217. float3 __ovld __cnfn degrees(float3 radians);
  10218. float4 __ovld __cnfn degrees(float4 radians);
  10219. float8 __ovld __cnfn degrees(float8 radians);
  10220. float16 __ovld __cnfn degrees(float16 radians);
  10221. #ifdef cl_khr_fp64
  10222. double __ovld __cnfn degrees(double radians);
  10223. double2 __ovld __cnfn degrees(double2 radians);
  10224. double3 __ovld __cnfn degrees(double3 radians);
  10225. double4 __ovld __cnfn degrees(double4 radians);
  10226. double8 __ovld __cnfn degrees(double8 radians);
  10227. double16 __ovld __cnfn degrees(double16 radians);
  10228. #endif //cl_khr_fp64
  10229. #ifdef cl_khr_fp16
  10230. half __ovld __cnfn degrees(half radians);
  10231. half2 __ovld __cnfn degrees(half2 radians);
  10232. half3 __ovld __cnfn degrees(half3 radians);
  10233. half4 __ovld __cnfn degrees(half4 radians);
  10234. half8 __ovld __cnfn degrees(half8 radians);
  10235. half16 __ovld __cnfn degrees(half16 radians);
  10236. #endif //cl_khr_fp16
  10237. /**
  10238. * Returns y if x < y, otherwise it returns x. If x and y
  10239. * are infinite or NaN, the return values are undefined.
  10240. */
  10241. float __ovld __cnfn max(float x, float y);
  10242. float2 __ovld __cnfn max(float2 x, float2 y);
  10243. float3 __ovld __cnfn max(float3 x, float3 y);
  10244. float4 __ovld __cnfn max(float4 x, float4 y);
  10245. float8 __ovld __cnfn max(float8 x, float8 y);
  10246. float16 __ovld __cnfn max(float16 x, float16 y);
  10247. float2 __ovld __cnfn max(float2 x, float y);
  10248. float3 __ovld __cnfn max(float3 x, float y);
  10249. float4 __ovld __cnfn max(float4 x, float y);
  10250. float8 __ovld __cnfn max(float8 x, float y);
  10251. float16 __ovld __cnfn max(float16 x, float y);
  10252. #ifdef cl_khr_fp64
  10253. double __ovld __cnfn max(double x, double y);
  10254. double2 __ovld __cnfn max(double2 x, double2 y);
  10255. double3 __ovld __cnfn max(double3 x, double3 y);
  10256. double4 __ovld __cnfn max(double4 x, double4 y);
  10257. double8 __ovld __cnfn max(double8 x, double8 y);
  10258. double16 __ovld __cnfn max(double16 x, double16 y);
  10259. double2 __ovld __cnfn max(double2 x, double y);
  10260. double3 __ovld __cnfn max(double3 x, double y);
  10261. double4 __ovld __cnfn max(double4 x, double y);
  10262. double8 __ovld __cnfn max(double8 x, double y);
  10263. double16 __ovld __cnfn max(double16 x, double y);
  10264. #endif //cl_khr_fp64
  10265. #ifdef cl_khr_fp16
  10266. half __ovld __cnfn max(half x, half y);
  10267. half2 __ovld __cnfn max(half2 x, half2 y);
  10268. half3 __ovld __cnfn max(half3 x, half3 y);
  10269. half4 __ovld __cnfn max(half4 x, half4 y);
  10270. half8 __ovld __cnfn max(half8 x, half8 y);
  10271. half16 __ovld __cnfn max(half16 x, half16 y);
  10272. half2 __ovld __cnfn max(half2 x, half y);
  10273. half3 __ovld __cnfn max(half3 x, half y);
  10274. half4 __ovld __cnfn max(half4 x, half y);
  10275. half8 __ovld __cnfn max(half8 x, half y);
  10276. half16 __ovld __cnfn max(half16 x, half y);
  10277. #endif //cl_khr_fp16
  10278. /**
  10279. * Returns y if y < x, otherwise it returns x. If x and y
  10280. * are infinite or NaN, the return values are undefined.
  10281. */
  10282. float __ovld __cnfn min(float x, float y);
  10283. float2 __ovld __cnfn min(float2 x, float2 y);
  10284. float3 __ovld __cnfn min(float3 x, float3 y);
  10285. float4 __ovld __cnfn min(float4 x, float4 y);
  10286. float8 __ovld __cnfn min(float8 x, float8 y);
  10287. float16 __ovld __cnfn min(float16 x, float16 y);
  10288. float2 __ovld __cnfn min(float2 x, float y);
  10289. float3 __ovld __cnfn min(float3 x, float y);
  10290. float4 __ovld __cnfn min(float4 x, float y);
  10291. float8 __ovld __cnfn min(float8 x, float y);
  10292. float16 __ovld __cnfn min(float16 x, float y);
  10293. #ifdef cl_khr_fp64
  10294. double __ovld __cnfn min(double x, double y);
  10295. double2 __ovld __cnfn min(double2 x, double2 y);
  10296. double3 __ovld __cnfn min(double3 x, double3 y);
  10297. double4 __ovld __cnfn min(double4 x, double4 y);
  10298. double8 __ovld __cnfn min(double8 x, double8 y);
  10299. double16 __ovld __cnfn min(double16 x, double16 y);
  10300. double2 __ovld __cnfn min(double2 x, double y);
  10301. double3 __ovld __cnfn min(double3 x, double y);
  10302. double4 __ovld __cnfn min(double4 x, double y);
  10303. double8 __ovld __cnfn min(double8 x, double y);
  10304. double16 __ovld __cnfn min(double16 x, double y);
  10305. #endif //cl_khr_fp64
  10306. #ifdef cl_khr_fp16
  10307. half __ovld __cnfn min(half x, half y);
  10308. half2 __ovld __cnfn min(half2 x, half2 y);
  10309. half3 __ovld __cnfn min(half3 x, half3 y);
  10310. half4 __ovld __cnfn min(half4 x, half4 y);
  10311. half8 __ovld __cnfn min(half8 x, half8 y);
  10312. half16 __ovld __cnfn min(half16 x, half16 y);
  10313. half2 __ovld __cnfn min(half2 x, half y);
  10314. half3 __ovld __cnfn min(half3 x, half y);
  10315. half4 __ovld __cnfn min(half4 x, half y);
  10316. half8 __ovld __cnfn min(half8 x, half y);
  10317. half16 __ovld __cnfn min(half16 x, half y);
  10318. #endif //cl_khr_fp16
  10319. /**
  10320. * Returns the linear blend of x & y implemented as:
  10321. * x + (y - x) * a
  10322. * a must be a value in the range 0.0 ... 1.0. If a is not
  10323. * in the range 0.0 ... 1.0, the return values are
  10324. * undefined.
  10325. */
  10326. float __ovld __cnfn mix(float x, float y, float a);
  10327. float2 __ovld __cnfn mix(float2 x, float2 y, float2 a);
  10328. float3 __ovld __cnfn mix(float3 x, float3 y, float3 a);
  10329. float4 __ovld __cnfn mix(float4 x, float4 y, float4 a);
  10330. float8 __ovld __cnfn mix(float8 x, float8 y, float8 a);
  10331. float16 __ovld __cnfn mix(float16 x, float16 y, float16 a);
  10332. float2 __ovld __cnfn mix(float2 x, float2 y, float a);
  10333. float3 __ovld __cnfn mix(float3 x, float3 y, float a);
  10334. float4 __ovld __cnfn mix(float4 x, float4 y, float a);
  10335. float8 __ovld __cnfn mix(float8 x, float8 y, float a);
  10336. float16 __ovld __cnfn mix(float16 x, float16 y, float a);
  10337. #ifdef cl_khr_fp64
  10338. double __ovld __cnfn mix(double x, double y, double a);
  10339. double2 __ovld __cnfn mix(double2 x, double2 y, double2 a);
  10340. double3 __ovld __cnfn mix(double3 x, double3 y, double3 a);
  10341. double4 __ovld __cnfn mix(double4 x, double4 y, double4 a);
  10342. double8 __ovld __cnfn mix(double8 x, double8 y, double8 a);
  10343. double16 __ovld __cnfn mix(double16 x, double16 y, double16 a);
  10344. double2 __ovld __cnfn mix(double2 x, double2 y, double a);
  10345. double3 __ovld __cnfn mix(double3 x, double3 y, double a);
  10346. double4 __ovld __cnfn mix(double4 x, double4 y, double a);
  10347. double8 __ovld __cnfn mix(double8 x, double8 y, double a);
  10348. double16 __ovld __cnfn mix(double16 x, double16 y, double a);
  10349. #endif //cl_khr_fp64
  10350. #ifdef cl_khr_fp16
  10351. half __ovld __cnfn mix(half x, half y, half a);
  10352. half2 __ovld __cnfn mix(half2 x, half2 y, half2 a);
  10353. half3 __ovld __cnfn mix(half3 x, half3 y, half3 a);
  10354. half4 __ovld __cnfn mix(half4 x, half4 y, half4 a);
  10355. half8 __ovld __cnfn mix(half8 x, half8 y, half8 a);
  10356. half16 __ovld __cnfn mix(half16 x, half16 y, half16 a);
  10357. half2 __ovld __cnfn mix(half2 x, half2 y, half a);
  10358. half3 __ovld __cnfn mix(half3 x, half3 y, half a);
  10359. half4 __ovld __cnfn mix(half4 x, half4 y, half a);
  10360. half8 __ovld __cnfn mix(half8 x, half8 y, half a);
  10361. half16 __ovld __cnfn mix(half16 x, half16 y, half a);
  10362. #endif //cl_khr_fp16
  10363. /**
  10364. * Converts degrees to radians, i.e. (PI / 180) *
  10365. * degrees.
  10366. */
  10367. float __ovld __cnfn radians(float degrees);
  10368. float2 __ovld __cnfn radians(float2 degrees);
  10369. float3 __ovld __cnfn radians(float3 degrees);
  10370. float4 __ovld __cnfn radians(float4 degrees);
  10371. float8 __ovld __cnfn radians(float8 degrees);
  10372. float16 __ovld __cnfn radians(float16 degrees);
  10373. #ifdef cl_khr_fp64
  10374. double __ovld __cnfn radians(double degrees);
  10375. double2 __ovld __cnfn radians(double2 degrees);
  10376. double3 __ovld __cnfn radians(double3 degrees);
  10377. double4 __ovld __cnfn radians(double4 degrees);
  10378. double8 __ovld __cnfn radians(double8 degrees);
  10379. double16 __ovld __cnfn radians(double16 degrees);
  10380. #endif //cl_khr_fp64
  10381. #ifdef cl_khr_fp16
  10382. half __ovld __cnfn radians(half degrees);
  10383. half2 __ovld __cnfn radians(half2 degrees);
  10384. half3 __ovld __cnfn radians(half3 degrees);
  10385. half4 __ovld __cnfn radians(half4 degrees);
  10386. half8 __ovld __cnfn radians(half8 degrees);
  10387. half16 __ovld __cnfn radians(half16 degrees);
  10388. #endif //cl_khr_fp16
  10389. /**
  10390. * Returns 0.0 if x < edge, otherwise it returns 1.0.
  10391. */
  10392. float __ovld __cnfn step(float edge, float x);
  10393. float2 __ovld __cnfn step(float2 edge, float2 x);
  10394. float3 __ovld __cnfn step(float3 edge, float3 x);
  10395. float4 __ovld __cnfn step(float4 edge, float4 x);
  10396. float8 __ovld __cnfn step(float8 edge, float8 x);
  10397. float16 __ovld __cnfn step(float16 edge, float16 x);
  10398. float2 __ovld __cnfn step(float edge, float2 x);
  10399. float3 __ovld __cnfn step(float edge, float3 x);
  10400. float4 __ovld __cnfn step(float edge, float4 x);
  10401. float8 __ovld __cnfn step(float edge, float8 x);
  10402. float16 __ovld __cnfn step(float edge, float16 x);
  10403. #ifdef cl_khr_fp64
  10404. double __ovld __cnfn step(double edge, double x);
  10405. double2 __ovld __cnfn step(double2 edge, double2 x);
  10406. double3 __ovld __cnfn step(double3 edge, double3 x);
  10407. double4 __ovld __cnfn step(double4 edge, double4 x);
  10408. double8 __ovld __cnfn step(double8 edge, double8 x);
  10409. double16 __ovld __cnfn step(double16 edge, double16 x);
  10410. double2 __ovld __cnfn step(double edge, double2 x);
  10411. double3 __ovld __cnfn step(double edge, double3 x);
  10412. double4 __ovld __cnfn step(double edge, double4 x);
  10413. double8 __ovld __cnfn step(double edge, double8 x);
  10414. double16 __ovld __cnfn step(double edge, double16 x);
  10415. #endif //cl_khr_fp64
  10416. #ifdef cl_khr_fp16
  10417. half __ovld __cnfn step(half edge, half x);
  10418. half2 __ovld __cnfn step(half2 edge, half2 x);
  10419. half3 __ovld __cnfn step(half3 edge, half3 x);
  10420. half4 __ovld __cnfn step(half4 edge, half4 x);
  10421. half8 __ovld __cnfn step(half8 edge, half8 x);
  10422. half16 __ovld __cnfn step(half16 edge, half16 x);
  10423. half __ovld __cnfn step(half edge, half x);
  10424. half2 __ovld __cnfn step(half edge, half2 x);
  10425. half3 __ovld __cnfn step(half edge, half3 x);
  10426. half4 __ovld __cnfn step(half edge, half4 x);
  10427. half8 __ovld __cnfn step(half edge, half8 x);
  10428. half16 __ovld __cnfn step(half edge, half16 x);
  10429. #endif //cl_khr_fp16
  10430. /**
  10431. * Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and
  10432. * performs smooth Hermite interpolation between 0
  10433. * and 1when edge0 < x < edge1. This is useful in
  10434. * cases where you would want a threshold function
  10435. * with a smooth transition.
  10436. * This is equivalent to:
  10437. * gentype t;
  10438. * t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
  10439. * return t * t * (3 - 2 * t);
  10440. * Results are undefined if edge0 >= edge1 or if x,
  10441. * edge0 or edge1 is a NaN.
  10442. */
  10443. float __ovld __cnfn smoothstep(float edge0, float edge1, float x);
  10444. float2 __ovld __cnfn smoothstep(float2 edge0, float2 edge1, float2 x);
  10445. float3 __ovld __cnfn smoothstep(float3 edge0, float3 edge1, float3 x);
  10446. float4 __ovld __cnfn smoothstep(float4 edge0, float4 edge1, float4 x);
  10447. float8 __ovld __cnfn smoothstep(float8 edge0, float8 edge1, float8 x);
  10448. float16 __ovld __cnfn smoothstep(float16 edge0, float16 edge1, float16 x);
  10449. float2 __ovld __cnfn smoothstep(float edge0, float edge1, float2 x);
  10450. float3 __ovld __cnfn smoothstep(float edge0, float edge1, float3 x);
  10451. float4 __ovld __cnfn smoothstep(float edge0, float edge1, float4 x);
  10452. float8 __ovld __cnfn smoothstep(float edge0, float edge1, float8 x);
  10453. float16 __ovld __cnfn smoothstep(float edge0, float edge1, float16 x);
  10454. #ifdef cl_khr_fp64
  10455. double __ovld __cnfn smoothstep(double edge0, double edge1, double x);
  10456. double2 __ovld __cnfn smoothstep(double2 edge0, double2 edge1, double2 x);
  10457. double3 __ovld __cnfn smoothstep(double3 edge0, double3 edge1, double3 x);
  10458. double4 __ovld __cnfn smoothstep(double4 edge0, double4 edge1, double4 x);
  10459. double8 __ovld __cnfn smoothstep(double8 edge0, double8 edge1, double8 x);
  10460. double16 __ovld __cnfn smoothstep(double16 edge0, double16 edge1, double16 x);
  10461. double2 __ovld __cnfn smoothstep(double edge0, double edge1, double2 x);
  10462. double3 __ovld __cnfn smoothstep(double edge0, double edge1, double3 x);
  10463. double4 __ovld __cnfn smoothstep(double edge0, double edge1, double4 x);
  10464. double8 __ovld __cnfn smoothstep(double edge0, double edge1, double8 x);
  10465. double16 __ovld __cnfn smoothstep(double edge0, double edge1, double16 x);
  10466. #endif //cl_khr_fp64
  10467. #ifdef cl_khr_fp16
  10468. half __ovld __cnfn smoothstep(half edge0, half edge1, half x);
  10469. half2 __ovld __cnfn smoothstep(half2 edge0, half2 edge1, half2 x);
  10470. half3 __ovld __cnfn smoothstep(half3 edge0, half3 edge1, half3 x);
  10471. half4 __ovld __cnfn smoothstep(half4 edge0, half4 edge1, half4 x);
  10472. half8 __ovld __cnfn smoothstep(half8 edge0, half8 edge1, half8 x);
  10473. half16 __ovld __cnfn smoothstep(half16 edge0, half16 edge1, half16 x);
  10474. half __ovld __cnfn smoothstep(half edge0, half edge1, half x);
  10475. half2 __ovld __cnfn smoothstep(half edge0, half edge1, half2 x);
  10476. half3 __ovld __cnfn smoothstep(half edge0, half edge1, half3 x);
  10477. half4 __ovld __cnfn smoothstep(half edge0, half edge1, half4 x);
  10478. half8 __ovld __cnfn smoothstep(half edge0, half edge1, half8 x);
  10479. half16 __ovld __cnfn smoothstep(half edge0, half edge1, half16 x);
  10480. #endif //cl_khr_fp16
  10481. /**
  10482. * Returns 1.0 if x > 0, -0.0 if x = -0.0, +0.0 if x =
  10483. * +0.0, or -1.0 if x < 0. Returns 0.0 if x is a NaN.
  10484. */
  10485. float __ovld __cnfn sign(float x);
  10486. float2 __ovld __cnfn sign(float2 x);
  10487. float3 __ovld __cnfn sign(float3 x);
  10488. float4 __ovld __cnfn sign(float4 x);
  10489. float8 __ovld __cnfn sign(float8 x);
  10490. float16 __ovld __cnfn sign(float16 x);
  10491. #ifdef cl_khr_fp64
  10492. double __ovld __cnfn sign(double x);
  10493. double2 __ovld __cnfn sign(double2 x);
  10494. double3 __ovld __cnfn sign(double3 x);
  10495. double4 __ovld __cnfn sign(double4 x);
  10496. double8 __ovld __cnfn sign(double8 x);
  10497. double16 __ovld __cnfn sign(double16 x);
  10498. #endif //cl_khr_fp64
  10499. #ifdef cl_khr_fp16
  10500. half __ovld __cnfn sign(half x);
  10501. half2 __ovld __cnfn sign(half2 x);
  10502. half3 __ovld __cnfn sign(half3 x);
  10503. half4 __ovld __cnfn sign(half4 x);
  10504. half8 __ovld __cnfn sign(half8 x);
  10505. half16 __ovld __cnfn sign(half16 x);
  10506. #endif //cl_khr_fp16
  10507. // OpenCL v1.1 s6.11.5, v1.2 s6.12.5, v2.0 s6.13.5 - Geometric Functions
  10508. /**
  10509. * Returns the cross product of p0.xyz and p1.xyz. The
  10510. * w component of float4 result returned will be 0.0.
  10511. */
  10512. float4 __ovld __cnfn cross(float4 p0, float4 p1);
  10513. float3 __ovld __cnfn cross(float3 p0, float3 p1);
  10514. #ifdef cl_khr_fp64
  10515. double4 __ovld __cnfn cross(double4 p0, double4 p1);
  10516. double3 __ovld __cnfn cross(double3 p0, double3 p1);
  10517. #endif //cl_khr_fp64
  10518. #ifdef cl_khr_fp16
  10519. half4 __ovld __cnfn cross(half4 p0, half4 p1);
  10520. half3 __ovld __cnfn cross(half3 p0, half3 p1);
  10521. #endif //cl_khr_fp16
  10522. /**
  10523. * Compute dot product.
  10524. */
  10525. float __ovld __cnfn dot(float p0, float p1);
  10526. float __ovld __cnfn dot(float2 p0, float2 p1);
  10527. float __ovld __cnfn dot(float3 p0, float3 p1);
  10528. float __ovld __cnfn dot(float4 p0, float4 p1);
  10529. #ifdef cl_khr_fp64
  10530. double __ovld __cnfn dot(double p0, double p1);
  10531. double __ovld __cnfn dot(double2 p0, double2 p1);
  10532. double __ovld __cnfn dot(double3 p0, double3 p1);
  10533. double __ovld __cnfn dot(double4 p0, double4 p1);
  10534. #endif //cl_khr_fp64
  10535. #ifdef cl_khr_fp16
  10536. half __ovld __cnfn dot(half p0, half p1);
  10537. half __ovld __cnfn dot(half2 p0, half2 p1);
  10538. half __ovld __cnfn dot(half3 p0, half3 p1);
  10539. half __ovld __cnfn dot(half4 p0, half4 p1);
  10540. #endif //cl_khr_fp16
  10541. /**
  10542. * Returns the distance between p0 and p1. This is
  10543. * calculated as length(p0 - p1).
  10544. */
  10545. float __ovld __cnfn distance(float p0, float p1);
  10546. float __ovld __cnfn distance(float2 p0, float2 p1);
  10547. float __ovld __cnfn distance(float3 p0, float3 p1);
  10548. float __ovld __cnfn distance(float4 p0, float4 p1);
  10549. #ifdef cl_khr_fp64
  10550. double __ovld __cnfn distance(double p0, double p1);
  10551. double __ovld __cnfn distance(double2 p0, double2 p1);
  10552. double __ovld __cnfn distance(double3 p0, double3 p1);
  10553. double __ovld __cnfn distance(double4 p0, double4 p1);
  10554. #endif //cl_khr_fp64
  10555. #ifdef cl_khr_fp16
  10556. half __ovld __cnfn distance(half p0, half p1);
  10557. half __ovld __cnfn distance(half2 p0, half2 p1);
  10558. half __ovld __cnfn distance(half3 p0, half3 p1);
  10559. half __ovld __cnfn distance(half4 p0, half4 p1);
  10560. #endif //cl_khr_fp16
  10561. /**
  10562. * Return the length of vector p, i.e.,
  10563. * sqrt(p.x2 + p.y 2 + ...)
  10564. */
  10565. float __ovld __cnfn length(float p);
  10566. float __ovld __cnfn length(float2 p);
  10567. float __ovld __cnfn length(float3 p);
  10568. float __ovld __cnfn length(float4 p);
  10569. #ifdef cl_khr_fp64
  10570. double __ovld __cnfn length(double p);
  10571. double __ovld __cnfn length(double2 p);
  10572. double __ovld __cnfn length(double3 p);
  10573. double __ovld __cnfn length(double4 p);
  10574. #endif //cl_khr_fp64
  10575. #ifdef cl_khr_fp16
  10576. half __ovld __cnfn length(half p);
  10577. half __ovld __cnfn length(half2 p);
  10578. half __ovld __cnfn length(half3 p);
  10579. half __ovld __cnfn length(half4 p);
  10580. #endif //cl_khr_fp16
  10581. /**
  10582. * Returns a vector in the same direction as p but with a
  10583. * length of 1.
  10584. */
  10585. float __ovld __cnfn normalize(float p);
  10586. float2 __ovld __cnfn normalize(float2 p);
  10587. float3 __ovld __cnfn normalize(float3 p);
  10588. float4 __ovld __cnfn normalize(float4 p);
  10589. #ifdef cl_khr_fp64
  10590. double __ovld __cnfn normalize(double p);
  10591. double2 __ovld __cnfn normalize(double2 p);
  10592. double3 __ovld __cnfn normalize(double3 p);
  10593. double4 __ovld __cnfn normalize(double4 p);
  10594. #endif //cl_khr_fp64
  10595. #ifdef cl_khr_fp16
  10596. half __ovld __cnfn normalize(half p);
  10597. half2 __ovld __cnfn normalize(half2 p);
  10598. half3 __ovld __cnfn normalize(half3 p);
  10599. half4 __ovld __cnfn normalize(half4 p);
  10600. #endif //cl_khr_fp16
  10601. /**
  10602. * Returns fast_length(p0 - p1).
  10603. */
  10604. float __ovld __cnfn fast_distance(float p0, float p1);
  10605. float __ovld __cnfn fast_distance(float2 p0, float2 p1);
  10606. float __ovld __cnfn fast_distance(float3 p0, float3 p1);
  10607. float __ovld __cnfn fast_distance(float4 p0, float4 p1);
  10608. #ifdef cl_khr_fp16
  10609. half __ovld __cnfn fast_distance(half p0, half p1);
  10610. half __ovld __cnfn fast_distance(half2 p0, half2 p1);
  10611. half __ovld __cnfn fast_distance(half3 p0, half3 p1);
  10612. half __ovld __cnfn fast_distance(half4 p0, half4 p1);
  10613. #endif //cl_khr_fp16
  10614. /**
  10615. * Returns the length of vector p computed as:
  10616. * half_sqrt(p.x2 + p.y2 + ...)
  10617. */
  10618. float __ovld __cnfn fast_length(float p);
  10619. float __ovld __cnfn fast_length(float2 p);
  10620. float __ovld __cnfn fast_length(float3 p);
  10621. float __ovld __cnfn fast_length(float4 p);
  10622. #ifdef cl_khr_fp16
  10623. half __ovld __cnfn fast_length(half p);
  10624. half __ovld __cnfn fast_length(half2 p);
  10625. half __ovld __cnfn fast_length(half3 p);
  10626. half __ovld __cnfn fast_length(half4 p);
  10627. #endif //cl_khr_fp16
  10628. /**
  10629. * Returns a vector in the same direction as p but with a
  10630. * length of 1. fast_normalize is computed as:
  10631. * p * half_rsqrt (p.x^2 + p.y^2 + ... )
  10632. * The result shall be within 8192 ulps error from the
  10633. * infinitely precise result of
  10634. * if (all(p == 0.0f))
  10635. * result = p;
  10636. * else
  10637. * result = p / sqrt (p.x^2 + p.y^2 + ...);
  10638. * with the following exceptions:
  10639. * 1) If the sum of squares is greater than FLT_MAX
  10640. * then the value of the floating-point values in the
  10641. * result vector are undefined.
  10642. * 2) If the sum of squares is less than FLT_MIN then
  10643. * the implementation may return back p.
  10644. * 3) If the device is in "denorms are flushed to zero"
  10645. * mode, individual operand elements with magnitude
  10646. * less than sqrt(FLT_MIN) may be flushed to zero
  10647. * before proceeding with the calculation.
  10648. */
  10649. float __ovld __cnfn fast_normalize(float p);
  10650. float2 __ovld __cnfn fast_normalize(float2 p);
  10651. float3 __ovld __cnfn fast_normalize(float3 p);
  10652. float4 __ovld __cnfn fast_normalize(float4 p);
  10653. #ifdef cl_khr_fp16
  10654. half __ovld __cnfn fast_normalize(half p);
  10655. half2 __ovld __cnfn fast_normalize(half2 p);
  10656. half3 __ovld __cnfn fast_normalize(half3 p);
  10657. half4 __ovld __cnfn fast_normalize(half4 p);
  10658. #endif //cl_khr_fp16
  10659. // OpenCL v1.1 s6.11.6, v1.2 s6.12.6, v2.0 s6.13.6 - Relational Functions
  10660. /**
  10661. * intn isequal (floatn x, floatn y)
  10662. * Returns the component-wise compare of x == y.
  10663. */
  10664. int __ovld __cnfn isequal(float x, float y);
  10665. int2 __ovld __cnfn isequal(float2 x, float2 y);
  10666. int3 __ovld __cnfn isequal(float3 x, float3 y);
  10667. int4 __ovld __cnfn isequal(float4 x, float4 y);
  10668. int8 __ovld __cnfn isequal(float8 x, float8 y);
  10669. int16 __ovld __cnfn isequal(float16 x, float16 y);
  10670. #ifdef cl_khr_fp64
  10671. int __ovld __cnfn isequal(double x, double y);
  10672. long2 __ovld __cnfn isequal(double2 x, double2 y);
  10673. long3 __ovld __cnfn isequal(double3 x, double3 y);
  10674. long4 __ovld __cnfn isequal(double4 x, double4 y);
  10675. long8 __ovld __cnfn isequal(double8 x, double8 y);
  10676. long16 __ovld __cnfn isequal(double16 x, double16 y);
  10677. #endif //cl_khr_fp64
  10678. #ifdef cl_khr_fp16
  10679. int __ovld __cnfn isequal(half x, half y);
  10680. short2 __ovld __cnfn isequal(half2 x, half2 y);
  10681. short3 __ovld __cnfn isequal(half3 x, half3 y);
  10682. short4 __ovld __cnfn isequal(half4 x, half4 y);
  10683. short8 __ovld __cnfn isequal(half8 x, half8 y);
  10684. short16 __ovld __cnfn isequal(half16 x, half16 y);
  10685. #endif //cl_khr_fp16
  10686. /**
  10687. * Returns the component-wise compare of x != y.
  10688. */
  10689. int __ovld __cnfn isnotequal(float x, float y);
  10690. int2 __ovld __cnfn isnotequal(float2 x, float2 y);
  10691. int3 __ovld __cnfn isnotequal(float3 x, float3 y);
  10692. int4 __ovld __cnfn isnotequal(float4 x, float4 y);
  10693. int8 __ovld __cnfn isnotequal(float8 x, float8 y);
  10694. int16 __ovld __cnfn isnotequal(float16 x, float16 y);
  10695. #ifdef cl_khr_fp64
  10696. int __ovld __cnfn isnotequal(double x, double y);
  10697. long2 __ovld __cnfn isnotequal(double2 x, double2 y);
  10698. long3 __ovld __cnfn isnotequal(double3 x, double3 y);
  10699. long4 __ovld __cnfn isnotequal(double4 x, double4 y);
  10700. long8 __ovld __cnfn isnotequal(double8 x, double8 y);
  10701. long16 __ovld __cnfn isnotequal(double16 x, double16 y);
  10702. #endif //cl_khr_fp64
  10703. #ifdef cl_khr_fp16
  10704. int __ovld __cnfn isnotequal(half x, half y);
  10705. short2 __ovld __cnfn isnotequal(half2 x, half2 y);
  10706. short3 __ovld __cnfn isnotequal(half3 x, half3 y);
  10707. short4 __ovld __cnfn isnotequal(half4 x, half4 y);
  10708. short8 __ovld __cnfn isnotequal(half8 x, half8 y);
  10709. short16 __ovld __cnfn isnotequal(half16 x, half16 y);
  10710. #endif //cl_khr_fp16
  10711. /**
  10712. * Returns the component-wise compare of x > y.
  10713. */
  10714. int __ovld __cnfn isgreater(float x, float y);
  10715. int2 __ovld __cnfn isgreater(float2 x, float2 y);
  10716. int3 __ovld __cnfn isgreater(float3 x, float3 y);
  10717. int4 __ovld __cnfn isgreater(float4 x, float4 y);
  10718. int8 __ovld __cnfn isgreater(float8 x, float8 y);
  10719. int16 __ovld __cnfn isgreater(float16 x, float16 y);
  10720. #ifdef cl_khr_fp64
  10721. int __ovld __cnfn isgreater(double x, double y);
  10722. long2 __ovld __cnfn isgreater(double2 x, double2 y);
  10723. long3 __ovld __cnfn isgreater(double3 x, double3 y);
  10724. long4 __ovld __cnfn isgreater(double4 x, double4 y);
  10725. long8 __ovld __cnfn isgreater(double8 x, double8 y);
  10726. long16 __ovld __cnfn isgreater(double16 x, double16 y);
  10727. #endif //cl_khr_fp64
  10728. #ifdef cl_khr_fp16
  10729. int __ovld __cnfn isgreater(half x, half y);
  10730. short2 __ovld __cnfn isgreater(half2 x, half2 y);
  10731. short3 __ovld __cnfn isgreater(half3 x, half3 y);
  10732. short4 __ovld __cnfn isgreater(half4 x, half4 y);
  10733. short8 __ovld __cnfn isgreater(half8 x, half8 y);
  10734. short16 __ovld __cnfn isgreater(half16 x, half16 y);
  10735. #endif //cl_khr_fp16
  10736. /**
  10737. * Returns the component-wise compare of x >= y.
  10738. */
  10739. int __ovld __cnfn isgreaterequal(float x, float y);
  10740. int2 __ovld __cnfn isgreaterequal(float2 x, float2 y);
  10741. int3 __ovld __cnfn isgreaterequal(float3 x, float3 y);
  10742. int4 __ovld __cnfn isgreaterequal(float4 x, float4 y);
  10743. int8 __ovld __cnfn isgreaterequal(float8 x, float8 y);
  10744. int16 __ovld __cnfn isgreaterequal(float16 x, float16 y);
  10745. #ifdef cl_khr_fp64
  10746. int __ovld __cnfn isgreaterequal(double x, double y);
  10747. long2 __ovld __cnfn isgreaterequal(double2 x, double2 y);
  10748. long3 __ovld __cnfn isgreaterequal(double3 x, double3 y);
  10749. long4 __ovld __cnfn isgreaterequal(double4 x, double4 y);
  10750. long8 __ovld __cnfn isgreaterequal(double8 x, double8 y);
  10751. long16 __ovld __cnfn isgreaterequal(double16 x, double16 y);
  10752. #endif //cl_khr_fp64
  10753. #ifdef cl_khr_fp16
  10754. int __ovld __cnfn isgreaterequal(half x, half y);
  10755. short2 __ovld __cnfn isgreaterequal(half2 x, half2 y);
  10756. short3 __ovld __cnfn isgreaterequal(half3 x, half3 y);
  10757. short4 __ovld __cnfn isgreaterequal(half4 x, half4 y);
  10758. short8 __ovld __cnfn isgreaterequal(half8 x, half8 y);
  10759. short16 __ovld __cnfn isgreaterequal(half16 x, half16 y);
  10760. #endif //cl_khr_fp16
  10761. /**
  10762. * Returns the component-wise compare of x < y.
  10763. */
  10764. int __ovld __cnfn isless(float x, float y);
  10765. int2 __ovld __cnfn isless(float2 x, float2 y);
  10766. int3 __ovld __cnfn isless(float3 x, float3 y);
  10767. int4 __ovld __cnfn isless(float4 x, float4 y);
  10768. int8 __ovld __cnfn isless(float8 x, float8 y);
  10769. int16 __ovld __cnfn isless(float16 x, float16 y);
  10770. #ifdef cl_khr_fp64
  10771. int __ovld __cnfn isless(double x, double y);
  10772. long2 __ovld __cnfn isless(double2 x, double2 y);
  10773. long3 __ovld __cnfn isless(double3 x, double3 y);
  10774. long4 __ovld __cnfn isless(double4 x, double4 y);
  10775. long8 __ovld __cnfn isless(double8 x, double8 y);
  10776. long16 __ovld __cnfn isless(double16 x, double16 y);
  10777. #endif //cl_khr_fp64
  10778. #ifdef cl_khr_fp16
  10779. int __ovld __cnfn isless(half x, half y);
  10780. short2 __ovld __cnfn isless(half2 x, half2 y);
  10781. short3 __ovld __cnfn isless(half3 x, half3 y);
  10782. short4 __ovld __cnfn isless(half4 x, half4 y);
  10783. short8 __ovld __cnfn isless(half8 x, half8 y);
  10784. short16 __ovld __cnfn isless(half16 x, half16 y);
  10785. #endif //cl_khr_fp16
  10786. /**
  10787. * Returns the component-wise compare of x <= y.
  10788. */
  10789. int __ovld __cnfn islessequal(float x, float y);
  10790. int2 __ovld __cnfn islessequal(float2 x, float2 y);
  10791. int3 __ovld __cnfn islessequal(float3 x, float3 y);
  10792. int4 __ovld __cnfn islessequal(float4 x, float4 y);
  10793. int8 __ovld __cnfn islessequal(float8 x, float8 y);
  10794. int16 __ovld __cnfn islessequal(float16 x, float16 y);
  10795. #ifdef cl_khr_fp64
  10796. int __ovld __cnfn islessequal(double x, double y);
  10797. long2 __ovld __cnfn islessequal(double2 x, double2 y);
  10798. long3 __ovld __cnfn islessequal(double3 x, double3 y);
  10799. long4 __ovld __cnfn islessequal(double4 x, double4 y);
  10800. long8 __ovld __cnfn islessequal(double8 x, double8 y);
  10801. long16 __ovld __cnfn islessequal(double16 x, double16 y);
  10802. #endif //cl_khr_fp64
  10803. #ifdef cl_khr_fp16
  10804. int __ovld __cnfn islessequal(half x, half y);
  10805. short2 __ovld __cnfn islessequal(half2 x, half2 y);
  10806. short3 __ovld __cnfn islessequal(half3 x, half3 y);
  10807. short4 __ovld __cnfn islessequal(half4 x, half4 y);
  10808. short8 __ovld __cnfn islessequal(half8 x, half8 y);
  10809. short16 __ovld __cnfn islessequal(half16 x, half16 y);
  10810. #endif //cl_khr_fp16
  10811. /**
  10812. * Returns the component-wise compare of
  10813. * (x < y) || (x > y) .
  10814. */
  10815. int __ovld __cnfn islessgreater(float x, float y);
  10816. int2 __ovld __cnfn islessgreater(float2 x, float2 y);
  10817. int3 __ovld __cnfn islessgreater(float3 x, float3 y);
  10818. int4 __ovld __cnfn islessgreater(float4 x, float4 y);
  10819. int8 __ovld __cnfn islessgreater(float8 x, float8 y);
  10820. int16 __ovld __cnfn islessgreater(float16 x, float16 y);
  10821. #ifdef cl_khr_fp64
  10822. int __ovld __cnfn islessgreater(double x, double y);
  10823. long2 __ovld __cnfn islessgreater(double2 x, double2 y);
  10824. long3 __ovld __cnfn islessgreater(double3 x, double3 y);
  10825. long4 __ovld __cnfn islessgreater(double4 x, double4 y);
  10826. long8 __ovld __cnfn islessgreater(double8 x, double8 y);
  10827. long16 __ovld __cnfn islessgreater(double16 x, double16 y);
  10828. #endif //cl_khr_fp64
  10829. #ifdef cl_khr_fp16
  10830. int __ovld __cnfn islessgreater(half x, half y);
  10831. short2 __ovld __cnfn islessgreater(half2 x, half2 y);
  10832. short3 __ovld __cnfn islessgreater(half3 x, half3 y);
  10833. short4 __ovld __cnfn islessgreater(half4 x, half4 y);
  10834. short8 __ovld __cnfn islessgreater(half8 x, half8 y);
  10835. short16 __ovld __cnfn islessgreater(half16 x, half16 y);
  10836. #endif //cl_khr_fp16
  10837. /**
  10838. * Test for finite value.
  10839. */
  10840. int __ovld __cnfn isfinite(float);
  10841. int2 __ovld __cnfn isfinite(float2);
  10842. int3 __ovld __cnfn isfinite(float3);
  10843. int4 __ovld __cnfn isfinite(float4);
  10844. int8 __ovld __cnfn isfinite(float8);
  10845. int16 __ovld __cnfn isfinite(float16);
  10846. #ifdef cl_khr_fp64
  10847. int __ovld __cnfn isfinite(double);
  10848. long2 __ovld __cnfn isfinite(double2);
  10849. long3 __ovld __cnfn isfinite(double3);
  10850. long4 __ovld __cnfn isfinite(double4);
  10851. long8 __ovld __cnfn isfinite(double8);
  10852. long16 __ovld __cnfn isfinite(double16);
  10853. #endif //cl_khr_fp64
  10854. #ifdef cl_khr_fp16
  10855. int __ovld __cnfn isfinite(half);
  10856. short2 __ovld __cnfn isfinite(half2);
  10857. short3 __ovld __cnfn isfinite(half3);
  10858. short4 __ovld __cnfn isfinite(half4);
  10859. short8 __ovld __cnfn isfinite(half8);
  10860. short16 __ovld __cnfn isfinite(half16);
  10861. #endif //cl_khr_fp16
  10862. /**
  10863. * Test for infinity value (+ve or -ve) .
  10864. */
  10865. int __ovld __cnfn isinf(float);
  10866. int2 __ovld __cnfn isinf(float2);
  10867. int3 __ovld __cnfn isinf(float3);
  10868. int4 __ovld __cnfn isinf(float4);
  10869. int8 __ovld __cnfn isinf(float8);
  10870. int16 __ovld __cnfn isinf(float16);
  10871. #ifdef cl_khr_fp64
  10872. int __ovld __cnfn isinf(double);
  10873. long2 __ovld __cnfn isinf(double2);
  10874. long3 __ovld __cnfn isinf(double3);
  10875. long4 __ovld __cnfn isinf(double4);
  10876. long8 __ovld __cnfn isinf(double8);
  10877. long16 __ovld __cnfn isinf(double16);
  10878. #endif //cl_khr_fp64
  10879. #ifdef cl_khr_fp16
  10880. int __ovld __cnfn isinf(half);
  10881. short2 __ovld __cnfn isinf(half2);
  10882. short3 __ovld __cnfn isinf(half3);
  10883. short4 __ovld __cnfn isinf(half4);
  10884. short8 __ovld __cnfn isinf(half8);
  10885. short16 __ovld __cnfn isinf(half16);
  10886. #endif //cl_khr_fp16
  10887. /**
  10888. * Test for a NaN.
  10889. */
  10890. int __ovld __cnfn isnan(float);
  10891. int2 __ovld __cnfn isnan(float2);
  10892. int3 __ovld __cnfn isnan(float3);
  10893. int4 __ovld __cnfn isnan(float4);
  10894. int8 __ovld __cnfn isnan(float8);
  10895. int16 __ovld __cnfn isnan(float16);
  10896. #ifdef cl_khr_fp64
  10897. int __ovld __cnfn isnan(double);
  10898. long2 __ovld __cnfn isnan(double2);
  10899. long3 __ovld __cnfn isnan(double3);
  10900. long4 __ovld __cnfn isnan(double4);
  10901. long8 __ovld __cnfn isnan(double8);
  10902. long16 __ovld __cnfn isnan(double16);
  10903. #endif //cl_khr_fp64
  10904. #ifdef cl_khr_fp16
  10905. int __ovld __cnfn isnan(half);
  10906. short2 __ovld __cnfn isnan(half2);
  10907. short3 __ovld __cnfn isnan(half3);
  10908. short4 __ovld __cnfn isnan(half4);
  10909. short8 __ovld __cnfn isnan(half8);
  10910. short16 __ovld __cnfn isnan(half16);
  10911. #endif //cl_khr_fp16
  10912. /**
  10913. * Test for a normal value.
  10914. */
  10915. int __ovld __cnfn isnormal(float);
  10916. int2 __ovld __cnfn isnormal(float2);
  10917. int3 __ovld __cnfn isnormal(float3);
  10918. int4 __ovld __cnfn isnormal(float4);
  10919. int8 __ovld __cnfn isnormal(float8);
  10920. int16 __ovld __cnfn isnormal(float16);
  10921. #ifdef cl_khr_fp64
  10922. int __ovld __cnfn isnormal(double);
  10923. long2 __ovld __cnfn isnormal(double2);
  10924. long3 __ovld __cnfn isnormal(double3);
  10925. long4 __ovld __cnfn isnormal(double4);
  10926. long8 __ovld __cnfn isnormal(double8);
  10927. long16 __ovld __cnfn isnormal(double16);
  10928. #endif //cl_khr_fp64
  10929. #ifdef cl_khr_fp16
  10930. int __ovld __cnfn isnormal(half);
  10931. short2 __ovld __cnfn isnormal(half2);
  10932. short3 __ovld __cnfn isnormal(half3);
  10933. short4 __ovld __cnfn isnormal(half4);
  10934. short8 __ovld __cnfn isnormal(half8);
  10935. short16 __ovld __cnfn isnormal(half16);
  10936. #endif //cl_khr_fp16
  10937. /**
  10938. * Test if arguments are ordered. isordered() takes
  10939. * arguments x and y, and returns the result
  10940. * isequal(x, x) && isequal(y, y).
  10941. */
  10942. int __ovld __cnfn isordered(float x, float y);
  10943. int2 __ovld __cnfn isordered(float2 x, float2 y);
  10944. int3 __ovld __cnfn isordered(float3 x, float3 y);
  10945. int4 __ovld __cnfn isordered(float4 x, float4 y);
  10946. int8 __ovld __cnfn isordered(float8 x, float8 y);
  10947. int16 __ovld __cnfn isordered(float16 x, float16 y);
  10948. #ifdef cl_khr_fp64
  10949. int __ovld __cnfn isordered(double x, double y);
  10950. long2 __ovld __cnfn isordered(double2 x, double2 y);
  10951. long3 __ovld __cnfn isordered(double3 x, double3 y);
  10952. long4 __ovld __cnfn isordered(double4 x, double4 y);
  10953. long8 __ovld __cnfn isordered(double8 x, double8 y);
  10954. long16 __ovld __cnfn isordered(double16 x, double16 y);
  10955. #endif //cl_khr_fp64
  10956. #ifdef cl_khr_fp16
  10957. int __ovld __cnfn isordered(half x, half y);
  10958. short2 __ovld __cnfn isordered(half2 x, half2 y);
  10959. short3 __ovld __cnfn isordered(half3 x, half3 y);
  10960. short4 __ovld __cnfn isordered(half4 x, half4 y);
  10961. short8 __ovld __cnfn isordered(half8 x, half8 y);
  10962. short16 __ovld __cnfn isordered(half16 x, half16 y);
  10963. #endif //cl_khr_fp16
  10964. /**
  10965. * Test if arguments are unordered. isunordered()
  10966. * takes arguments x and y, returning non-zero if x or y
  10967. * is NaN, and zero otherwise.
  10968. */
  10969. int __ovld __cnfn isunordered(float x, float y);
  10970. int2 __ovld __cnfn isunordered(float2 x, float2 y);
  10971. int3 __ovld __cnfn isunordered(float3 x, float3 y);
  10972. int4 __ovld __cnfn isunordered(float4 x, float4 y);
  10973. int8 __ovld __cnfn isunordered(float8 x, float8 y);
  10974. int16 __ovld __cnfn isunordered(float16 x, float16 y);
  10975. #ifdef cl_khr_fp64
  10976. int __ovld __cnfn isunordered(double x, double y);
  10977. long2 __ovld __cnfn isunordered(double2 x, double2 y);
  10978. long3 __ovld __cnfn isunordered(double3 x, double3 y);
  10979. long4 __ovld __cnfn isunordered(double4 x, double4 y);
  10980. long8 __ovld __cnfn isunordered(double8 x, double8 y);
  10981. long16 __ovld __cnfn isunordered(double16 x, double16 y);
  10982. #endif //cl_khr_fp64
  10983. #ifdef cl_khr_fp16
  10984. int __ovld __cnfn isunordered(half x, half y);
  10985. short2 __ovld __cnfn isunordered(half2 x, half2 y);
  10986. short3 __ovld __cnfn isunordered(half3 x, half3 y);
  10987. short4 __ovld __cnfn isunordered(half4 x, half4 y);
  10988. short8 __ovld __cnfn isunordered(half8 x, half8 y);
  10989. short16 __ovld __cnfn isunordered(half16 x, half16 y);
  10990. #endif //cl_khr_fp16
  10991. /**
  10992. * Test for sign bit. The scalar version of the function
  10993. * returns a 1 if the sign bit in the float is set else returns
  10994. * 0. The vector version of the function returns the
  10995. * following for each component in floatn: a -1 if the
  10996. * sign bit in the float is set else returns 0.
  10997. */
  10998. int __ovld __cnfn signbit(float);
  10999. int2 __ovld __cnfn signbit(float2);
  11000. int3 __ovld __cnfn signbit(float3);
  11001. int4 __ovld __cnfn signbit(float4);
  11002. int8 __ovld __cnfn signbit(float8);
  11003. int16 __ovld __cnfn signbit(float16);
  11004. #ifdef cl_khr_fp64
  11005. int __ovld __cnfn signbit(double);
  11006. long2 __ovld __cnfn signbit(double2);
  11007. long3 __ovld __cnfn signbit(double3);
  11008. long4 __ovld __cnfn signbit(double4);
  11009. long8 __ovld __cnfn signbit(double8);
  11010. long16 __ovld __cnfn signbit(double16);
  11011. #endif //cl_khr_fp64
  11012. #ifdef cl_khr_fp16
  11013. int __ovld __cnfn signbit(half);
  11014. short2 __ovld __cnfn signbit(half2);
  11015. short3 __ovld __cnfn signbit(half3);
  11016. short4 __ovld __cnfn signbit(half4);
  11017. short8 __ovld __cnfn signbit(half8);
  11018. short16 __ovld __cnfn signbit(half16);
  11019. #endif //cl_khr_fp16
  11020. /**
  11021. * Returns 1 if the most significant bit in any component
  11022. * of x is set; otherwise returns 0.
  11023. */
  11024. int __ovld __cnfn any(char x);
  11025. int __ovld __cnfn any(char2 x);
  11026. int __ovld __cnfn any(char3 x);
  11027. int __ovld __cnfn any(char4 x);
  11028. int __ovld __cnfn any(char8 x);
  11029. int __ovld __cnfn any(char16 x);
  11030. int __ovld __cnfn any(short x);
  11031. int __ovld __cnfn any(short2 x);
  11032. int __ovld __cnfn any(short3 x);
  11033. int __ovld __cnfn any(short4 x);
  11034. int __ovld __cnfn any(short8 x);
  11035. int __ovld __cnfn any(short16 x);
  11036. int __ovld __cnfn any(int x);
  11037. int __ovld __cnfn any(int2 x);
  11038. int __ovld __cnfn any(int3 x);
  11039. int __ovld __cnfn any(int4 x);
  11040. int __ovld __cnfn any(int8 x);
  11041. int __ovld __cnfn any(int16 x);
  11042. int __ovld __cnfn any(long x);
  11043. int __ovld __cnfn any(long2 x);
  11044. int __ovld __cnfn any(long3 x);
  11045. int __ovld __cnfn any(long4 x);
  11046. int __ovld __cnfn any(long8 x);
  11047. int __ovld __cnfn any(long16 x);
  11048. /**
  11049. * Returns 1 if the most significant bit in all components
  11050. * of x is set; otherwise returns 0.
  11051. */
  11052. int __ovld __cnfn all(char x);
  11053. int __ovld __cnfn all(char2 x);
  11054. int __ovld __cnfn all(char3 x);
  11055. int __ovld __cnfn all(char4 x);
  11056. int __ovld __cnfn all(char8 x);
  11057. int __ovld __cnfn all(char16 x);
  11058. int __ovld __cnfn all(short x);
  11059. int __ovld __cnfn all(short2 x);
  11060. int __ovld __cnfn all(short3 x);
  11061. int __ovld __cnfn all(short4 x);
  11062. int __ovld __cnfn all(short8 x);
  11063. int __ovld __cnfn all(short16 x);
  11064. int __ovld __cnfn all(int x);
  11065. int __ovld __cnfn all(int2 x);
  11066. int __ovld __cnfn all(int3 x);
  11067. int __ovld __cnfn all(int4 x);
  11068. int __ovld __cnfn all(int8 x);
  11069. int __ovld __cnfn all(int16 x);
  11070. int __ovld __cnfn all(long x);
  11071. int __ovld __cnfn all(long2 x);
  11072. int __ovld __cnfn all(long3 x);
  11073. int __ovld __cnfn all(long4 x);
  11074. int __ovld __cnfn all(long8 x);
  11075. int __ovld __cnfn all(long16 x);
  11076. /**
  11077. * Each bit of the result is the corresponding bit of a if
  11078. * the corresponding bit of c is 0. Otherwise it is the
  11079. * corresponding bit of b.
  11080. */
  11081. char __ovld __cnfn bitselect(char a, char b, char c);
  11082. uchar __ovld __cnfn bitselect(uchar a, uchar b, uchar c);
  11083. char2 __ovld __cnfn bitselect(char2 a, char2 b, char2 c);
  11084. uchar2 __ovld __cnfn bitselect(uchar2 a, uchar2 b, uchar2 c);
  11085. char3 __ovld __cnfn bitselect(char3 a, char3 b, char3 c);
  11086. uchar3 __ovld __cnfn bitselect(uchar3 a, uchar3 b, uchar3 c);
  11087. char4 __ovld __cnfn bitselect(char4 a, char4 b, char4 c);
  11088. uchar4 __ovld __cnfn bitselect(uchar4 a, uchar4 b, uchar4 c);
  11089. char8 __ovld __cnfn bitselect(char8 a, char8 b, char8 c);
  11090. uchar8 __ovld __cnfn bitselect(uchar8 a, uchar8 b, uchar8 c);
  11091. char16 __ovld __cnfn bitselect(char16 a, char16 b, char16 c);
  11092. uchar16 __ovld __cnfn bitselect(uchar16 a, uchar16 b, uchar16 c);
  11093. short __ovld __cnfn bitselect(short a, short b, short c);
  11094. ushort __ovld __cnfn bitselect(ushort a, ushort b, ushort c);
  11095. short2 __ovld __cnfn bitselect(short2 a, short2 b, short2 c);
  11096. ushort2 __ovld __cnfn bitselect(ushort2 a, ushort2 b, ushort2 c);
  11097. short3 __ovld __cnfn bitselect(short3 a, short3 b, short3 c);
  11098. ushort3 __ovld __cnfn bitselect(ushort3 a, ushort3 b, ushort3 c);
  11099. short4 __ovld __cnfn bitselect(short4 a, short4 b, short4 c);
  11100. ushort4 __ovld __cnfn bitselect(ushort4 a, ushort4 b, ushort4 c);
  11101. short8 __ovld __cnfn bitselect(short8 a, short8 b, short8 c);
  11102. ushort8 __ovld __cnfn bitselect(ushort8 a, ushort8 b, ushort8 c);
  11103. short16 __ovld __cnfn bitselect(short16 a, short16 b, short16 c);
  11104. ushort16 __ovld __cnfn bitselect(ushort16 a, ushort16 b, ushort16 c);
  11105. int __ovld __cnfn bitselect(int a, int b, int c);
  11106. uint __ovld __cnfn bitselect(uint a, uint b, uint c);
  11107. int2 __ovld __cnfn bitselect(int2 a, int2 b, int2 c);
  11108. uint2 __ovld __cnfn bitselect(uint2 a, uint2 b, uint2 c);
  11109. int3 __ovld __cnfn bitselect(int3 a, int3 b, int3 c);
  11110. uint3 __ovld __cnfn bitselect(uint3 a, uint3 b, uint3 c);
  11111. int4 __ovld __cnfn bitselect(int4 a, int4 b, int4 c);
  11112. uint4 __ovld __cnfn bitselect(uint4 a, uint4 b, uint4 c);
  11113. int8 __ovld __cnfn bitselect(int8 a, int8 b, int8 c);
  11114. uint8 __ovld __cnfn bitselect(uint8 a, uint8 b, uint8 c);
  11115. int16 __ovld __cnfn bitselect(int16 a, int16 b, int16 c);
  11116. uint16 __ovld __cnfn bitselect(uint16 a, uint16 b, uint16 c);
  11117. long __ovld __cnfn bitselect(long a, long b, long c);
  11118. ulong __ovld __cnfn bitselect(ulong a, ulong b, ulong c);
  11119. long2 __ovld __cnfn bitselect(long2 a, long2 b, long2 c);
  11120. ulong2 __ovld __cnfn bitselect(ulong2 a, ulong2 b, ulong2 c);
  11121. long3 __ovld __cnfn bitselect(long3 a, long3 b, long3 c);
  11122. ulong3 __ovld __cnfn bitselect(ulong3 a, ulong3 b, ulong3 c);
  11123. long4 __ovld __cnfn bitselect(long4 a, long4 b, long4 c);
  11124. ulong4 __ovld __cnfn bitselect(ulong4 a, ulong4 b, ulong4 c);
  11125. long8 __ovld __cnfn bitselect(long8 a, long8 b, long8 c);
  11126. ulong8 __ovld __cnfn bitselect(ulong8 a, ulong8 b, ulong8 c);
  11127. long16 __ovld __cnfn bitselect(long16 a, long16 b, long16 c);
  11128. ulong16 __ovld __cnfn bitselect(ulong16 a, ulong16 b, ulong16 c);
  11129. float __ovld __cnfn bitselect(float a, float b, float c);
  11130. float2 __ovld __cnfn bitselect(float2 a, float2 b, float2 c);
  11131. float3 __ovld __cnfn bitselect(float3 a, float3 b, float3 c);
  11132. float4 __ovld __cnfn bitselect(float4 a, float4 b, float4 c);
  11133. float8 __ovld __cnfn bitselect(float8 a, float8 b, float8 c);
  11134. float16 __ovld __cnfn bitselect(float16 a, float16 b, float16 c);
  11135. #ifdef cl_khr_fp64
  11136. double __ovld __cnfn bitselect(double a, double b, double c);
  11137. double2 __ovld __cnfn bitselect(double2 a, double2 b, double2 c);
  11138. double3 __ovld __cnfn bitselect(double3 a, double3 b, double3 c);
  11139. double4 __ovld __cnfn bitselect(double4 a, double4 b, double4 c);
  11140. double8 __ovld __cnfn bitselect(double8 a, double8 b, double8 c);
  11141. double16 __ovld __cnfn bitselect(double16 a, double16 b, double16 c);
  11142. #endif //cl_khr_fp64
  11143. #ifdef cl_khr_fp16
  11144. half __ovld __cnfn bitselect(half a, half b, half c);
  11145. half2 __ovld __cnfn bitselect(half2 a, half2 b, half2 c);
  11146. half3 __ovld __cnfn bitselect(half3 a, half3 b, half3 c);
  11147. half4 __ovld __cnfn bitselect(half4 a, half4 b, half4 c);
  11148. half8 __ovld __cnfn bitselect(half8 a, half8 b, half8 c);
  11149. half16 __ovld __cnfn bitselect(half16 a, half16 b, half16 c);
  11150. #endif //cl_khr_fp16
  11151. /**
  11152. * For each component of a vector type,
  11153. * result[i] = if MSB of c[i] is set ? b[i] : a[i].
  11154. * For a scalar type, result = c ? b : a.
  11155. * b and a must have the same type.
  11156. * c must have the same number of elements and bits as a.
  11157. */
  11158. char __ovld __cnfn select(char a, char b, char c);
  11159. uchar __ovld __cnfn select(uchar a, uchar b, char c);
  11160. char2 __ovld __cnfn select(char2 a, char2 b, char2 c);
  11161. uchar2 __ovld __cnfn select(uchar2 a, uchar2 b, char2 c);
  11162. char3 __ovld __cnfn select(char3 a, char3 b, char3 c);
  11163. uchar3 __ovld __cnfn select(uchar3 a, uchar3 b, char3 c);
  11164. char4 __ovld __cnfn select(char4 a, char4 b, char4 c);
  11165. uchar4 __ovld __cnfn select(uchar4 a, uchar4 b, char4 c);
  11166. char8 __ovld __cnfn select(char8 a, char8 b, char8 c);
  11167. uchar8 __ovld __cnfn select(uchar8 a, uchar8 b, char8 c);
  11168. char16 __ovld __cnfn select(char16 a, char16 b, char16 c);
  11169. uchar16 __ovld __cnfn select(uchar16 a, uchar16 b, char16 c);
  11170. short __ovld __cnfn select(short a, short b, short c);
  11171. ushort __ovld __cnfn select(ushort a, ushort b, short c);
  11172. short2 __ovld __cnfn select(short2 a, short2 b, short2 c);
  11173. ushort2 __ovld __cnfn select(ushort2 a, ushort2 b, short2 c);
  11174. short3 __ovld __cnfn select(short3 a, short3 b, short3 c);
  11175. ushort3 __ovld __cnfn select(ushort3 a, ushort3 b, short3 c);
  11176. short4 __ovld __cnfn select(short4 a, short4 b, short4 c);
  11177. ushort4 __ovld __cnfn select(ushort4 a, ushort4 b, short4 c);
  11178. short8 __ovld __cnfn select(short8 a, short8 b, short8 c);
  11179. ushort8 __ovld __cnfn select(ushort8 a, ushort8 b, short8 c);
  11180. short16 __ovld __cnfn select(short16 a, short16 b, short16 c);
  11181. ushort16 __ovld __cnfn select(ushort16 a, ushort16 b, short16 c);
  11182. int __ovld __cnfn select(int a, int b, int c);
  11183. uint __ovld __cnfn select(uint a, uint b, int c);
  11184. int2 __ovld __cnfn select(int2 a, int2 b, int2 c);
  11185. uint2 __ovld __cnfn select(uint2 a, uint2 b, int2 c);
  11186. int3 __ovld __cnfn select(int3 a, int3 b, int3 c);
  11187. uint3 __ovld __cnfn select(uint3 a, uint3 b, int3 c);
  11188. int4 __ovld __cnfn select(int4 a, int4 b, int4 c);
  11189. uint4 __ovld __cnfn select(uint4 a, uint4 b, int4 c);
  11190. int8 __ovld __cnfn select(int8 a, int8 b, int8 c);
  11191. uint8 __ovld __cnfn select(uint8 a, uint8 b, int8 c);
  11192. int16 __ovld __cnfn select(int16 a, int16 b, int16 c);
  11193. uint16 __ovld __cnfn select(uint16 a, uint16 b, int16 c);
  11194. float __ovld __cnfn select(float a, float b, int c);
  11195. float2 __ovld __cnfn select(float2 a, float2 b, int2 c);
  11196. float3 __ovld __cnfn select(float3 a, float3 b, int3 c);
  11197. float4 __ovld __cnfn select(float4 a, float4 b, int4 c);
  11198. float8 __ovld __cnfn select(float8 a, float8 b, int8 c);
  11199. float16 __ovld __cnfn select(float16 a, float16 b, int16 c);
  11200. long __ovld __cnfn select(long a, long b, long c);
  11201. ulong __ovld __cnfn select(ulong a, ulong b, long c);
  11202. long2 __ovld __cnfn select(long2 a, long2 b, long2 c);
  11203. ulong2 __ovld __cnfn select(ulong2 a, ulong2 b, long2 c);
  11204. long3 __ovld __cnfn select(long3 a, long3 b, long3 c);
  11205. ulong3 __ovld __cnfn select(ulong3 a, ulong3 b, long3 c);
  11206. long4 __ovld __cnfn select(long4 a, long4 b, long4 c);
  11207. ulong4 __ovld __cnfn select(ulong4 a, ulong4 b, long4 c);
  11208. long8 __ovld __cnfn select(long8 a, long8 b, long8 c);
  11209. ulong8 __ovld __cnfn select(ulong8 a, ulong8 b, long8 c);
  11210. long16 __ovld __cnfn select(long16 a, long16 b, long16 c);
  11211. ulong16 __ovld __cnfn select(ulong16 a, ulong16 b, long16 c);
  11212. char __ovld __cnfn select(char a, char b, uchar c);
  11213. uchar __ovld __cnfn select(uchar a, uchar b, uchar c);
  11214. char2 __ovld __cnfn select(char2 a, char2 b, uchar2 c);
  11215. uchar2 __ovld __cnfn select(uchar2 a, uchar2 b, uchar2 c);
  11216. char3 __ovld __cnfn select(char3 a, char3 b, uchar3 c);
  11217. uchar3 __ovld __cnfn select(uchar3 a, uchar3 b, uchar3 c);
  11218. char4 __ovld __cnfn select(char4 a, char4 b, uchar4 c);
  11219. uchar4 __ovld __cnfn select(uchar4 a, uchar4 b, uchar4 c);
  11220. char8 __ovld __cnfn select(char8 a, char8 b, uchar8 c);
  11221. uchar8 __ovld __cnfn select(uchar8 a, uchar8 b, uchar8 c);
  11222. char16 __ovld __cnfn select(char16 a, char16 b, uchar16 c);
  11223. uchar16 __ovld __cnfn select(uchar16 a, uchar16 b, uchar16 c);
  11224. short __ovld __cnfn select(short a, short b, ushort c);
  11225. ushort __ovld __cnfn select(ushort a, ushort b, ushort c);
  11226. short2 __ovld __cnfn select(short2 a, short2 b, ushort2 c);
  11227. ushort2 __ovld __cnfn select(ushort2 a, ushort2 b, ushort2 c);
  11228. short3 __ovld __cnfn select(short3 a, short3 b, ushort3 c);
  11229. ushort3 __ovld __cnfn select(ushort3 a, ushort3 b, ushort3 c);
  11230. short4 __ovld __cnfn select(short4 a, short4 b, ushort4 c);
  11231. ushort4 __ovld __cnfn select(ushort4 a, ushort4 b, ushort4 c);
  11232. short8 __ovld __cnfn select(short8 a, short8 b, ushort8 c);
  11233. ushort8 __ovld __cnfn select(ushort8 a, ushort8 b, ushort8 c);
  11234. short16 __ovld __cnfn select(short16 a, short16 b, ushort16 c);
  11235. ushort16 __ovld __cnfn select(ushort16 a, ushort16 b, ushort16 c);
  11236. int __ovld __cnfn select(int a, int b, uint c);
  11237. uint __ovld __cnfn select(uint a, uint b, uint c);
  11238. int2 __ovld __cnfn select(int2 a, int2 b, uint2 c);
  11239. uint2 __ovld __cnfn select(uint2 a, uint2 b, uint2 c);
  11240. int3 __ovld __cnfn select(int3 a, int3 b, uint3 c);
  11241. uint3 __ovld __cnfn select(uint3 a, uint3 b, uint3 c);
  11242. int4 __ovld __cnfn select(int4 a, int4 b, uint4 c);
  11243. uint4 __ovld __cnfn select(uint4 a, uint4 b, uint4 c);
  11244. int8 __ovld __cnfn select(int8 a, int8 b, uint8 c);
  11245. uint8 __ovld __cnfn select(uint8 a, uint8 b, uint8 c);
  11246. int16 __ovld __cnfn select(int16 a, int16 b, uint16 c);
  11247. uint16 __ovld __cnfn select(uint16 a, uint16 b, uint16 c);
  11248. float __ovld __cnfn select(float a, float b, uint c);
  11249. float2 __ovld __cnfn select(float2 a, float2 b, uint2 c);
  11250. float3 __ovld __cnfn select(float3 a, float3 b, uint3 c);
  11251. float4 __ovld __cnfn select(float4 a, float4 b, uint4 c);
  11252. float8 __ovld __cnfn select(float8 a, float8 b, uint8 c);
  11253. float16 __ovld __cnfn select(float16 a, float16 b, uint16 c);
  11254. long __ovld __cnfn select(long a, long b, ulong c);
  11255. ulong __ovld __cnfn select(ulong a, ulong b, ulong c);
  11256. long2 __ovld __cnfn select(long2 a, long2 b, ulong2 c);
  11257. ulong2 __ovld __cnfn select(ulong2 a, ulong2 b, ulong2 c);
  11258. long3 __ovld __cnfn select(long3 a, long3 b, ulong3 c);
  11259. ulong3 __ovld __cnfn select(ulong3 a, ulong3 b, ulong3 c);
  11260. long4 __ovld __cnfn select(long4 a, long4 b, ulong4 c);
  11261. ulong4 __ovld __cnfn select(ulong4 a, ulong4 b, ulong4 c);
  11262. long8 __ovld __cnfn select(long8 a, long8 b, ulong8 c);
  11263. ulong8 __ovld __cnfn select(ulong8 a, ulong8 b, ulong8 c);
  11264. long16 __ovld __cnfn select(long16 a, long16 b, ulong16 c);
  11265. ulong16 __ovld __cnfn select(ulong16 a, ulong16 b, ulong16 c);
  11266. #ifdef cl_khr_fp64
  11267. double __ovld __cnfn select(double a, double b, long c);
  11268. double2 __ovld __cnfn select(double2 a, double2 b, long2 c);
  11269. double3 __ovld __cnfn select(double3 a, double3 b, long3 c);
  11270. double4 __ovld __cnfn select(double4 a, double4 b, long4 c);
  11271. double8 __ovld __cnfn select(double8 a, double8 b, long8 c);
  11272. double16 __ovld __cnfn select(double16 a, double16 b, long16 c);
  11273. double __ovld __cnfn select(double a, double b, ulong c);
  11274. double2 __ovld __cnfn select(double2 a, double2 b, ulong2 c);
  11275. double3 __ovld __cnfn select(double3 a, double3 b, ulong3 c);
  11276. double4 __ovld __cnfn select(double4 a, double4 b, ulong4 c);
  11277. double8 __ovld __cnfn select(double8 a, double8 b, ulong8 c);
  11278. double16 __ovld __cnfn select(double16 a, double16 b, ulong16 c);
  11279. #endif //cl_khr_fp64
  11280. #ifdef cl_khr_fp16
  11281. half __ovld __cnfn select(half a, half b, short c);
  11282. half2 __ovld __cnfn select(half2 a, half2 b, short2 c);
  11283. half3 __ovld __cnfn select(half3 a, half3 b, short3 c);
  11284. half4 __ovld __cnfn select(half4 a, half4 b, short4 c);
  11285. half8 __ovld __cnfn select(half8 a, half8 b, short8 c);
  11286. half16 __ovld __cnfn select(half16 a, half16 b, short16 c);
  11287. half __ovld __cnfn select(half a, half b, ushort c);
  11288. half2 __ovld __cnfn select(half2 a, half2 b, ushort2 c);
  11289. half3 __ovld __cnfn select(half3 a, half3 b, ushort3 c);
  11290. half4 __ovld __cnfn select(half4 a, half4 b, ushort4 c);
  11291. half8 __ovld __cnfn select(half8 a, half8 b, ushort8 c);
  11292. half16 __ovld __cnfn select(half16 a, half16 b, ushort16 c);
  11293. #endif //cl_khr_fp16
  11294. // OpenCL v1.1 s6.11.7, v1.2 s6.12.7, v2.0 s6.13.7 - Vector Data Load and Store Functions
  11295. // OpenCL extensions v1.1 s9.6.6, v1.2 s9.5.6, v2.0 s9.4.6 - Vector Data Load and Store Functions for Half Type
  11296. /**
  11297. * Use generic type gentype to indicate the built-in data types
  11298. * char, uchar, short, ushort, int, uint, long, ulong, float,
  11299. * double or half.
  11300. *
  11301. * vloadn return sizeof (gentypen) bytes of data read from address (p + (offset * n)).
  11302. *
  11303. * vstoren write sizeof (gentypen) bytes given by data to address (p + (offset * n)).
  11304. *
  11305. * The address computed as (p + (offset * n)) must be
  11306. * 8-bit aligned if gentype is char, uchar;
  11307. * 16-bit aligned if gentype is short, ushort, half;
  11308. * 32-bit aligned if gentype is int, uint, float;
  11309. * 64-bit aligned if gentype is long, ulong, double.
  11310. */
  11311. char2 __ovld vload2(size_t offset, const __constant char *p);
  11312. uchar2 __ovld vload2(size_t offset, const __constant uchar *p);
  11313. short2 __ovld vload2(size_t offset, const __constant short *p);
  11314. ushort2 __ovld vload2(size_t offset, const __constant ushort *p);
  11315. int2 __ovld vload2(size_t offset, const __constant int *p);
  11316. uint2 __ovld vload2(size_t offset, const __constant uint *p);
  11317. long2 __ovld vload2(size_t offset, const __constant long *p);
  11318. ulong2 __ovld vload2(size_t offset, const __constant ulong *p);
  11319. float2 __ovld vload2(size_t offset, const __constant float *p);
  11320. char3 __ovld vload3(size_t offset, const __constant char *p);
  11321. uchar3 __ovld vload3(size_t offset, const __constant uchar *p);
  11322. short3 __ovld vload3(size_t offset, const __constant short *p);
  11323. ushort3 __ovld vload3(size_t offset, const __constant ushort *p);
  11324. int3 __ovld vload3(size_t offset, const __constant int *p);
  11325. uint3 __ovld vload3(size_t offset, const __constant uint *p);
  11326. long3 __ovld vload3(size_t offset, const __constant long *p);
  11327. ulong3 __ovld vload3(size_t offset, const __constant ulong *p);
  11328. float3 __ovld vload3(size_t offset, const __constant float *p);
  11329. char4 __ovld vload4(size_t offset, const __constant char *p);
  11330. uchar4 __ovld vload4(size_t offset, const __constant uchar *p);
  11331. short4 __ovld vload4(size_t offset, const __constant short *p);
  11332. ushort4 __ovld vload4(size_t offset, const __constant ushort *p);
  11333. int4 __ovld vload4(size_t offset, const __constant int *p);
  11334. uint4 __ovld vload4(size_t offset, const __constant uint *p);
  11335. long4 __ovld vload4(size_t offset, const __constant long *p);
  11336. ulong4 __ovld vload4(size_t offset, const __constant ulong *p);
  11337. float4 __ovld vload4(size_t offset, const __constant float *p);
  11338. char8 __ovld vload8(size_t offset, const __constant char *p);
  11339. uchar8 __ovld vload8(size_t offset, const __constant uchar *p);
  11340. short8 __ovld vload8(size_t offset, const __constant short *p);
  11341. ushort8 __ovld vload8(size_t offset, const __constant ushort *p);
  11342. int8 __ovld vload8(size_t offset, const __constant int *p);
  11343. uint8 __ovld vload8(size_t offset, const __constant uint *p);
  11344. long8 __ovld vload8(size_t offset, const __constant long *p);
  11345. ulong8 __ovld vload8(size_t offset, const __constant ulong *p);
  11346. float8 __ovld vload8(size_t offset, const __constant float *p);
  11347. char16 __ovld vload16(size_t offset, const __constant char *p);
  11348. uchar16 __ovld vload16(size_t offset, const __constant uchar *p);
  11349. short16 __ovld vload16(size_t offset, const __constant short *p);
  11350. ushort16 __ovld vload16(size_t offset, const __constant ushort *p);
  11351. int16 __ovld vload16(size_t offset, const __constant int *p);
  11352. uint16 __ovld vload16(size_t offset, const __constant uint *p);
  11353. long16 __ovld vload16(size_t offset, const __constant long *p);
  11354. ulong16 __ovld vload16(size_t offset, const __constant ulong *p);
  11355. float16 __ovld vload16(size_t offset, const __constant float *p);
  11356. #ifdef cl_khr_fp64
  11357. double2 __ovld vload2(size_t offset, const __constant double *p);
  11358. double3 __ovld vload3(size_t offset, const __constant double *p);
  11359. double4 __ovld vload4(size_t offset, const __constant double *p);
  11360. double8 __ovld vload8(size_t offset, const __constant double *p);
  11361. double16 __ovld vload16(size_t offset, const __constant double *p);
  11362. #endif //cl_khr_fp64
  11363. #ifdef cl_khr_fp16
  11364. half __ovld vload(size_t offset, const __constant half *p);
  11365. half2 __ovld vload2(size_t offset, const __constant half *p);
  11366. half3 __ovld vload3(size_t offset, const __constant half *p);
  11367. half4 __ovld vload4(size_t offset, const __constant half *p);
  11368. half8 __ovld vload8(size_t offset, const __constant half *p);
  11369. half16 __ovld vload16(size_t offset, const __constant half *p);
  11370. #endif //cl_khr_fp16
  11371. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11372. char2 __ovld vload2(size_t offset, const char *p);
  11373. uchar2 __ovld vload2(size_t offset, const uchar *p);
  11374. short2 __ovld vload2(size_t offset, const short *p);
  11375. ushort2 __ovld vload2(size_t offset, const ushort *p);
  11376. int2 __ovld vload2(size_t offset, const int *p);
  11377. uint2 __ovld vload2(size_t offset, const uint *p);
  11378. long2 __ovld vload2(size_t offset, const long *p);
  11379. ulong2 __ovld vload2(size_t offset, const ulong *p);
  11380. float2 __ovld vload2(size_t offset, const float *p);
  11381. char3 __ovld vload3(size_t offset, const char *p);
  11382. uchar3 __ovld vload3(size_t offset, const uchar *p);
  11383. short3 __ovld vload3(size_t offset, const short *p);
  11384. ushort3 __ovld vload3(size_t offset, const ushort *p);
  11385. int3 __ovld vload3(size_t offset, const int *p);
  11386. uint3 __ovld vload3(size_t offset, const uint *p);
  11387. long3 __ovld vload3(size_t offset, const long *p);
  11388. ulong3 __ovld vload3(size_t offset, const ulong *p);
  11389. float3 __ovld vload3(size_t offset, const float *p);
  11390. char4 __ovld vload4(size_t offset, const char *p);
  11391. uchar4 __ovld vload4(size_t offset, const uchar *p);
  11392. short4 __ovld vload4(size_t offset, const short *p);
  11393. ushort4 __ovld vload4(size_t offset, const ushort *p);
  11394. int4 __ovld vload4(size_t offset, const int *p);
  11395. uint4 __ovld vload4(size_t offset, const uint *p);
  11396. long4 __ovld vload4(size_t offset, const long *p);
  11397. ulong4 __ovld vload4(size_t offset, const ulong *p);
  11398. float4 __ovld vload4(size_t offset, const float *p);
  11399. char8 __ovld vload8(size_t offset, const char *p);
  11400. uchar8 __ovld vload8(size_t offset, const uchar *p);
  11401. short8 __ovld vload8(size_t offset, const short *p);
  11402. ushort8 __ovld vload8(size_t offset, const ushort *p);
  11403. int8 __ovld vload8(size_t offset, const int *p);
  11404. uint8 __ovld vload8(size_t offset, const uint *p);
  11405. long8 __ovld vload8(size_t offset, const long *p);
  11406. ulong8 __ovld vload8(size_t offset, const ulong *p);
  11407. float8 __ovld vload8(size_t offset, const float *p);
  11408. char16 __ovld vload16(size_t offset, const char *p);
  11409. uchar16 __ovld vload16(size_t offset, const uchar *p);
  11410. short16 __ovld vload16(size_t offset, const short *p);
  11411. ushort16 __ovld vload16(size_t offset, const ushort *p);
  11412. int16 __ovld vload16(size_t offset, const int *p);
  11413. uint16 __ovld vload16(size_t offset, const uint *p);
  11414. long16 __ovld vload16(size_t offset, const long *p);
  11415. ulong16 __ovld vload16(size_t offset, const ulong *p);
  11416. float16 __ovld vload16(size_t offset, const float *p);
  11417. #ifdef cl_khr_fp64
  11418. double2 __ovld vload2(size_t offset, const double *p);
  11419. double3 __ovld vload3(size_t offset, const double *p);
  11420. double4 __ovld vload4(size_t offset, const double *p);
  11421. double8 __ovld vload8(size_t offset, const double *p);
  11422. double16 __ovld vload16(size_t offset, const double *p);
  11423. #endif //cl_khr_fp64
  11424. #ifdef cl_khr_fp16
  11425. half __ovld vload(size_t offset, const half *p);
  11426. half2 __ovld vload2(size_t offset, const half *p);
  11427. half3 __ovld vload3(size_t offset, const half *p);
  11428. half4 __ovld vload4(size_t offset, const half *p);
  11429. half8 __ovld vload8(size_t offset, const half *p);
  11430. half16 __ovld vload16(size_t offset, const half *p);
  11431. #endif //cl_khr_fp16
  11432. #else
  11433. char2 __ovld vload2(size_t offset, const __global char *p);
  11434. uchar2 __ovld vload2(size_t offset, const __global uchar *p);
  11435. short2 __ovld vload2(size_t offset, const __global short *p);
  11436. ushort2 __ovld vload2(size_t offset, const __global ushort *p);
  11437. int2 __ovld vload2(size_t offset, const __global int *p);
  11438. uint2 __ovld vload2(size_t offset, const __global uint *p);
  11439. long2 __ovld vload2(size_t offset, const __global long *p);
  11440. ulong2 __ovld vload2(size_t offset, const __global ulong *p);
  11441. float2 __ovld vload2(size_t offset, const __global float *p);
  11442. char3 __ovld vload3(size_t offset, const __global char *p);
  11443. uchar3 __ovld vload3(size_t offset, const __global uchar *p);
  11444. short3 __ovld vload3(size_t offset, const __global short *p);
  11445. ushort3 __ovld vload3(size_t offset, const __global ushort *p);
  11446. int3 __ovld vload3(size_t offset, const __global int *p);
  11447. uint3 __ovld vload3(size_t offset, const __global uint *p);
  11448. long3 __ovld vload3(size_t offset, const __global long *p);
  11449. ulong3 __ovld vload3(size_t offset, const __global ulong *p);
  11450. float3 __ovld vload3(size_t offset, const __global float *p);
  11451. char4 __ovld vload4(size_t offset, const __global char *p);
  11452. uchar4 __ovld vload4(size_t offset, const __global uchar *p);
  11453. short4 __ovld vload4(size_t offset, const __global short *p);
  11454. ushort4 __ovld vload4(size_t offset, const __global ushort *p);
  11455. int4 __ovld vload4(size_t offset, const __global int *p);
  11456. uint4 __ovld vload4(size_t offset, const __global uint *p);
  11457. long4 __ovld vload4(size_t offset, const __global long *p);
  11458. ulong4 __ovld vload4(size_t offset, const __global ulong *p);
  11459. float4 __ovld vload4(size_t offset, const __global float *p);
  11460. char8 __ovld vload8(size_t offset, const __global char *p);
  11461. uchar8 __ovld vload8(size_t offset, const __global uchar *p);
  11462. short8 __ovld vload8(size_t offset, const __global short *p);
  11463. ushort8 __ovld vload8(size_t offset, const __global ushort *p);
  11464. int8 __ovld vload8(size_t offset, const __global int *p);
  11465. uint8 __ovld vload8(size_t offset, const __global uint *p);
  11466. long8 __ovld vload8(size_t offset, const __global long *p);
  11467. ulong8 __ovld vload8(size_t offset, const __global ulong *p);
  11468. float8 __ovld vload8(size_t offset, const __global float *p);
  11469. char16 __ovld vload16(size_t offset, const __global char *p);
  11470. uchar16 __ovld vload16(size_t offset, const __global uchar *p);
  11471. short16 __ovld vload16(size_t offset, const __global short *p);
  11472. ushort16 __ovld vload16(size_t offset, const __global ushort *p);
  11473. int16 __ovld vload16(size_t offset, const __global int *p);
  11474. uint16 __ovld vload16(size_t offset, const __global uint *p);
  11475. long16 __ovld vload16(size_t offset, const __global long *p);
  11476. ulong16 __ovld vload16(size_t offset, const __global ulong *p);
  11477. float16 __ovld vload16(size_t offset, const __global float *p);
  11478. char2 __ovld vload2(size_t offset, const __local char *p);
  11479. uchar2 __ovld vload2(size_t offset, const __local uchar *p);
  11480. short2 __ovld vload2(size_t offset, const __local short *p);
  11481. ushort2 __ovld vload2(size_t offset, const __local ushort *p);
  11482. int2 __ovld vload2(size_t offset, const __local int *p);
  11483. uint2 __ovld vload2(size_t offset, const __local uint *p);
  11484. long2 __ovld vload2(size_t offset, const __local long *p);
  11485. ulong2 __ovld vload2(size_t offset, const __local ulong *p);
  11486. float2 __ovld vload2(size_t offset, const __local float *p);
  11487. char3 __ovld vload3(size_t offset, const __local char *p);
  11488. uchar3 __ovld vload3(size_t offset, const __local uchar *p);
  11489. short3 __ovld vload3(size_t offset, const __local short *p);
  11490. ushort3 __ovld vload3(size_t offset, const __local ushort *p);
  11491. int3 __ovld vload3(size_t offset, const __local int *p);
  11492. uint3 __ovld vload3(size_t offset, const __local uint *p);
  11493. long3 __ovld vload3(size_t offset, const __local long *p);
  11494. ulong3 __ovld vload3(size_t offset, const __local ulong *p);
  11495. float3 __ovld vload3(size_t offset, const __local float *p);
  11496. char4 __ovld vload4(size_t offset, const __local char *p);
  11497. uchar4 __ovld vload4(size_t offset, const __local uchar *p);
  11498. short4 __ovld vload4(size_t offset, const __local short *p);
  11499. ushort4 __ovld vload4(size_t offset, const __local ushort *p);
  11500. int4 __ovld vload4(size_t offset, const __local int *p);
  11501. uint4 __ovld vload4(size_t offset, const __local uint *p);
  11502. long4 __ovld vload4(size_t offset, const __local long *p);
  11503. ulong4 __ovld vload4(size_t offset, const __local ulong *p);
  11504. float4 __ovld vload4(size_t offset, const __local float *p);
  11505. char8 __ovld vload8(size_t offset, const __local char *p);
  11506. uchar8 __ovld vload8(size_t offset, const __local uchar *p);
  11507. short8 __ovld vload8(size_t offset, const __local short *p);
  11508. ushort8 __ovld vload8(size_t offset, const __local ushort *p);
  11509. int8 __ovld vload8(size_t offset, const __local int *p);
  11510. uint8 __ovld vload8(size_t offset, const __local uint *p);
  11511. long8 __ovld vload8(size_t offset, const __local long *p);
  11512. ulong8 __ovld vload8(size_t offset, const __local ulong *p);
  11513. float8 __ovld vload8(size_t offset, const __local float *p);
  11514. char16 __ovld vload16(size_t offset, const __local char *p);
  11515. uchar16 __ovld vload16(size_t offset, const __local uchar *p);
  11516. short16 __ovld vload16(size_t offset, const __local short *p);
  11517. ushort16 __ovld vload16(size_t offset, const __local ushort *p);
  11518. int16 __ovld vload16(size_t offset, const __local int *p);
  11519. uint16 __ovld vload16(size_t offset, const __local uint *p);
  11520. long16 __ovld vload16(size_t offset, const __local long *p);
  11521. ulong16 __ovld vload16(size_t offset, const __local ulong *p);
  11522. float16 __ovld vload16(size_t offset, const __local float *p);
  11523. char2 __ovld vload2(size_t offset, const __private char *p);
  11524. uchar2 __ovld vload2(size_t offset, const __private uchar *p);
  11525. short2 __ovld vload2(size_t offset, const __private short *p);
  11526. ushort2 __ovld vload2(size_t offset, const __private ushort *p);
  11527. int2 __ovld vload2(size_t offset, const __private int *p);
  11528. uint2 __ovld vload2(size_t offset, const __private uint *p);
  11529. long2 __ovld vload2(size_t offset, const __private long *p);
  11530. ulong2 __ovld vload2(size_t offset, const __private ulong *p);
  11531. float2 __ovld vload2(size_t offset, const __private float *p);
  11532. char3 __ovld vload3(size_t offset, const __private char *p);
  11533. uchar3 __ovld vload3(size_t offset, const __private uchar *p);
  11534. short3 __ovld vload3(size_t offset, const __private short *p);
  11535. ushort3 __ovld vload3(size_t offset, const __private ushort *p);
  11536. int3 __ovld vload3(size_t offset, const __private int *p);
  11537. uint3 __ovld vload3(size_t offset, const __private uint *p);
  11538. long3 __ovld vload3(size_t offset, const __private long *p);
  11539. ulong3 __ovld vload3(size_t offset, const __private ulong *p);
  11540. float3 __ovld vload3(size_t offset, const __private float *p);
  11541. char4 __ovld vload4(size_t offset, const __private char *p);
  11542. uchar4 __ovld vload4(size_t offset, const __private uchar *p);
  11543. short4 __ovld vload4(size_t offset, const __private short *p);
  11544. ushort4 __ovld vload4(size_t offset, const __private ushort *p);
  11545. int4 __ovld vload4(size_t offset, const __private int *p);
  11546. uint4 __ovld vload4(size_t offset, const __private uint *p);
  11547. long4 __ovld vload4(size_t offset, const __private long *p);
  11548. ulong4 __ovld vload4(size_t offset, const __private ulong *p);
  11549. float4 __ovld vload4(size_t offset, const __private float *p);
  11550. char8 __ovld vload8(size_t offset, const __private char *p);
  11551. uchar8 __ovld vload8(size_t offset, const __private uchar *p);
  11552. short8 __ovld vload8(size_t offset, const __private short *p);
  11553. ushort8 __ovld vload8(size_t offset, const __private ushort *p);
  11554. int8 __ovld vload8(size_t offset, const __private int *p);
  11555. uint8 __ovld vload8(size_t offset, const __private uint *p);
  11556. long8 __ovld vload8(size_t offset, const __private long *p);
  11557. ulong8 __ovld vload8(size_t offset, const __private ulong *p);
  11558. float8 __ovld vload8(size_t offset, const __private float *p);
  11559. char16 __ovld vload16(size_t offset, const __private char *p);
  11560. uchar16 __ovld vload16(size_t offset, const __private uchar *p);
  11561. short16 __ovld vload16(size_t offset, const __private short *p);
  11562. ushort16 __ovld vload16(size_t offset, const __private ushort *p);
  11563. int16 __ovld vload16(size_t offset, const __private int *p);
  11564. uint16 __ovld vload16(size_t offset, const __private uint *p);
  11565. long16 __ovld vload16(size_t offset, const __private long *p);
  11566. ulong16 __ovld vload16(size_t offset, const __private ulong *p);
  11567. float16 __ovld vload16(size_t offset, const __private float *p);
  11568. #ifdef cl_khr_fp64
  11569. double2 __ovld vload2(size_t offset, const __global double *p);
  11570. double3 __ovld vload3(size_t offset, const __global double *p);
  11571. double4 __ovld vload4(size_t offset, const __global double *p);
  11572. double8 __ovld vload8(size_t offset, const __global double *p);
  11573. double16 __ovld vload16(size_t offset, const __global double *p);
  11574. double2 __ovld vload2(size_t offset, const __local double *p);
  11575. double3 __ovld vload3(size_t offset, const __local double *p);
  11576. double4 __ovld vload4(size_t offset, const __local double *p);
  11577. double8 __ovld vload8(size_t offset, const __local double *p);
  11578. double16 __ovld vload16(size_t offset, const __local double *p);
  11579. double2 __ovld vload2(size_t offset, const __private double *p);
  11580. double3 __ovld vload3(size_t offset, const __private double *p);
  11581. double4 __ovld vload4(size_t offset, const __private double *p);
  11582. double8 __ovld vload8(size_t offset, const __private double *p);
  11583. double16 __ovld vload16(size_t offset, const __private double *p);
  11584. #endif //cl_khr_fp64
  11585. #ifdef cl_khr_fp16
  11586. half __ovld vload(size_t offset, const __global half *p);
  11587. half2 __ovld vload2(size_t offset, const __global half *p);
  11588. half3 __ovld vload3(size_t offset, const __global half *p);
  11589. half4 __ovld vload4(size_t offset, const __global half *p);
  11590. half8 __ovld vload8(size_t offset, const __global half *p);
  11591. half16 __ovld vload16(size_t offset, const __global half *p);
  11592. half __ovld vload(size_t offset, const __local half *p);
  11593. half2 __ovld vload2(size_t offset, const __local half *p);
  11594. half3 __ovld vload3(size_t offset, const __local half *p);
  11595. half4 __ovld vload4(size_t offset, const __local half *p);
  11596. half8 __ovld vload8(size_t offset, const __local half *p);
  11597. half16 __ovld vload16(size_t offset, const __local half *p);
  11598. half __ovld vload(size_t offset, const __private half *p);
  11599. half2 __ovld vload2(size_t offset, const __private half *p);
  11600. half3 __ovld vload3(size_t offset, const __private half *p);
  11601. half4 __ovld vload4(size_t offset, const __private half *p);
  11602. half8 __ovld vload8(size_t offset, const __private half *p);
  11603. half16 __ovld vload16(size_t offset, const __private half *p);
  11604. #endif //cl_khr_fp16
  11605. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11606. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11607. void __ovld vstore2(char2 data, size_t offset, char *p);
  11608. void __ovld vstore2(uchar2 data, size_t offset, uchar *p);
  11609. void __ovld vstore2(short2 data, size_t offset, short *p);
  11610. void __ovld vstore2(ushort2 data, size_t offset, ushort *p);
  11611. void __ovld vstore2(int2 data, size_t offset, int *p);
  11612. void __ovld vstore2(uint2 data, size_t offset, uint *p);
  11613. void __ovld vstore2(long2 data, size_t offset, long *p);
  11614. void __ovld vstore2(ulong2 data, size_t offset, ulong *p);
  11615. void __ovld vstore2(float2 data, size_t offset, float *p);
  11616. void __ovld vstore3(char3 data, size_t offset, char *p);
  11617. void __ovld vstore3(uchar3 data, size_t offset, uchar *p);
  11618. void __ovld vstore3(short3 data, size_t offset, short *p);
  11619. void __ovld vstore3(ushort3 data, size_t offset, ushort *p);
  11620. void __ovld vstore3(int3 data, size_t offset, int *p);
  11621. void __ovld vstore3(uint3 data, size_t offset, uint *p);
  11622. void __ovld vstore3(long3 data, size_t offset, long *p);
  11623. void __ovld vstore3(ulong3 data, size_t offset, ulong *p);
  11624. void __ovld vstore3(float3 data, size_t offset, float *p);
  11625. void __ovld vstore4(char4 data, size_t offset, char *p);
  11626. void __ovld vstore4(uchar4 data, size_t offset, uchar *p);
  11627. void __ovld vstore4(short4 data, size_t offset, short *p);
  11628. void __ovld vstore4(ushort4 data, size_t offset, ushort *p);
  11629. void __ovld vstore4(int4 data, size_t offset, int *p);
  11630. void __ovld vstore4(uint4 data, size_t offset, uint *p);
  11631. void __ovld vstore4(long4 data, size_t offset, long *p);
  11632. void __ovld vstore4(ulong4 data, size_t offset, ulong *p);
  11633. void __ovld vstore4(float4 data, size_t offset, float *p);
  11634. void __ovld vstore8(char8 data, size_t offset, char *p);
  11635. void __ovld vstore8(uchar8 data, size_t offset, uchar *p);
  11636. void __ovld vstore8(short8 data, size_t offset, short *p);
  11637. void __ovld vstore8(ushort8 data, size_t offset, ushort *p);
  11638. void __ovld vstore8(int8 data, size_t offset, int *p);
  11639. void __ovld vstore8(uint8 data, size_t offset, uint *p);
  11640. void __ovld vstore8(long8 data, size_t offset, long *p);
  11641. void __ovld vstore8(ulong8 data, size_t offset, ulong *p);
  11642. void __ovld vstore8(float8 data, size_t offset, float *p);
  11643. void __ovld vstore16(char16 data, size_t offset, char *p);
  11644. void __ovld vstore16(uchar16 data, size_t offset, uchar *p);
  11645. void __ovld vstore16(short16 data, size_t offset, short *p);
  11646. void __ovld vstore16(ushort16 data, size_t offset, ushort *p);
  11647. void __ovld vstore16(int16 data, size_t offset, int *p);
  11648. void __ovld vstore16(uint16 data, size_t offset, uint *p);
  11649. void __ovld vstore16(long16 data, size_t offset, long *p);
  11650. void __ovld vstore16(ulong16 data, size_t offset, ulong *p);
  11651. void __ovld vstore16(float16 data, size_t offset, float *p);
  11652. #ifdef cl_khr_fp64
  11653. void __ovld vstore2(double2 data, size_t offset, double *p);
  11654. void __ovld vstore3(double3 data, size_t offset, double *p);
  11655. void __ovld vstore4(double4 data, size_t offset, double *p);
  11656. void __ovld vstore8(double8 data, size_t offset, double *p);
  11657. void __ovld vstore16(double16 data, size_t offset, double *p);
  11658. #endif //cl_khr_fp64
  11659. #ifdef cl_khr_fp16
  11660. void __ovld vstore(half data, size_t offset, half *p);
  11661. void __ovld vstore2(half2 data, size_t offset, half *p);
  11662. void __ovld vstore3(half3 data, size_t offset, half *p);
  11663. void __ovld vstore4(half4 data, size_t offset, half *p);
  11664. void __ovld vstore8(half8 data, size_t offset, half *p);
  11665. void __ovld vstore16(half16 data, size_t offset, half *p);
  11666. #endif //cl_khr_fp16
  11667. #else
  11668. void __ovld vstore2(char2 data, size_t offset, __global char *p);
  11669. void __ovld vstore2(uchar2 data, size_t offset, __global uchar *p);
  11670. void __ovld vstore2(short2 data, size_t offset, __global short *p);
  11671. void __ovld vstore2(ushort2 data, size_t offset, __global ushort *p);
  11672. void __ovld vstore2(int2 data, size_t offset, __global int *p);
  11673. void __ovld vstore2(uint2 data, size_t offset, __global uint *p);
  11674. void __ovld vstore2(long2 data, size_t offset, __global long *p);
  11675. void __ovld vstore2(ulong2 data, size_t offset, __global ulong *p);
  11676. void __ovld vstore2(float2 data, size_t offset, __global float *p);
  11677. void __ovld vstore3(char3 data, size_t offset, __global char *p);
  11678. void __ovld vstore3(uchar3 data, size_t offset, __global uchar *p);
  11679. void __ovld vstore3(short3 data, size_t offset, __global short *p);
  11680. void __ovld vstore3(ushort3 data, size_t offset, __global ushort *p);
  11681. void __ovld vstore3(int3 data, size_t offset, __global int *p);
  11682. void __ovld vstore3(uint3 data, size_t offset, __global uint *p);
  11683. void __ovld vstore3(long3 data, size_t offset, __global long *p);
  11684. void __ovld vstore3(ulong3 data, size_t offset, __global ulong *p);
  11685. void __ovld vstore3(float3 data, size_t offset, __global float *p);
  11686. void __ovld vstore4(char4 data, size_t offset, __global char *p);
  11687. void __ovld vstore4(uchar4 data, size_t offset, __global uchar *p);
  11688. void __ovld vstore4(short4 data, size_t offset, __global short *p);
  11689. void __ovld vstore4(ushort4 data, size_t offset, __global ushort *p);
  11690. void __ovld vstore4(int4 data, size_t offset, __global int *p);
  11691. void __ovld vstore4(uint4 data, size_t offset, __global uint *p);
  11692. void __ovld vstore4(long4 data, size_t offset, __global long *p);
  11693. void __ovld vstore4(ulong4 data, size_t offset, __global ulong *p);
  11694. void __ovld vstore4(float4 data, size_t offset, __global float *p);
  11695. void __ovld vstore8(char8 data, size_t offset, __global char *p);
  11696. void __ovld vstore8(uchar8 data, size_t offset, __global uchar *p);
  11697. void __ovld vstore8(short8 data, size_t offset, __global short *p);
  11698. void __ovld vstore8(ushort8 data, size_t offset, __global ushort *p);
  11699. void __ovld vstore8(int8 data, size_t offset, __global int *p);
  11700. void __ovld vstore8(uint8 data, size_t offset, __global uint *p);
  11701. void __ovld vstore8(long8 data, size_t offset, __global long *p);
  11702. void __ovld vstore8(ulong8 data, size_t offset, __global ulong *p);
  11703. void __ovld vstore8(float8 data, size_t offset, __global float *p);
  11704. void __ovld vstore16(char16 data, size_t offset, __global char *p);
  11705. void __ovld vstore16(uchar16 data, size_t offset, __global uchar *p);
  11706. void __ovld vstore16(short16 data, size_t offset, __global short *p);
  11707. void __ovld vstore16(ushort16 data, size_t offset, __global ushort *p);
  11708. void __ovld vstore16(int16 data, size_t offset, __global int *p);
  11709. void __ovld vstore16(uint16 data, size_t offset, __global uint *p);
  11710. void __ovld vstore16(long16 data, size_t offset, __global long *p);
  11711. void __ovld vstore16(ulong16 data, size_t offset, __global ulong *p);
  11712. void __ovld vstore16(float16 data, size_t offset, __global float *p);
  11713. void __ovld vstore2(char2 data, size_t offset, __local char *p);
  11714. void __ovld vstore2(uchar2 data, size_t offset, __local uchar *p);
  11715. void __ovld vstore2(short2 data, size_t offset, __local short *p);
  11716. void __ovld vstore2(ushort2 data, size_t offset, __local ushort *p);
  11717. void __ovld vstore2(int2 data, size_t offset, __local int *p);
  11718. void __ovld vstore2(uint2 data, size_t offset, __local uint *p);
  11719. void __ovld vstore2(long2 data, size_t offset, __local long *p);
  11720. void __ovld vstore2(ulong2 data, size_t offset, __local ulong *p);
  11721. void __ovld vstore2(float2 data, size_t offset, __local float *p);
  11722. void __ovld vstore3(char3 data, size_t offset, __local char *p);
  11723. void __ovld vstore3(uchar3 data, size_t offset, __local uchar *p);
  11724. void __ovld vstore3(short3 data, size_t offset, __local short *p);
  11725. void __ovld vstore3(ushort3 data, size_t offset, __local ushort *p);
  11726. void __ovld vstore3(int3 data, size_t offset, __local int *p);
  11727. void __ovld vstore3(uint3 data, size_t offset, __local uint *p);
  11728. void __ovld vstore3(long3 data, size_t offset, __local long *p);
  11729. void __ovld vstore3(ulong3 data, size_t offset, __local ulong *p);
  11730. void __ovld vstore3(float3 data, size_t offset, __local float *p);
  11731. void __ovld vstore4(char4 data, size_t offset, __local char *p);
  11732. void __ovld vstore4(uchar4 data, size_t offset, __local uchar *p);
  11733. void __ovld vstore4(short4 data, size_t offset, __local short *p);
  11734. void __ovld vstore4(ushort4 data, size_t offset, __local ushort *p);
  11735. void __ovld vstore4(int4 data, size_t offset, __local int *p);
  11736. void __ovld vstore4(uint4 data, size_t offset, __local uint *p);
  11737. void __ovld vstore4(long4 data, size_t offset, __local long *p);
  11738. void __ovld vstore4(ulong4 data, size_t offset, __local ulong *p);
  11739. void __ovld vstore4(float4 data, size_t offset, __local float *p);
  11740. void __ovld vstore8(char8 data, size_t offset, __local char *p);
  11741. void __ovld vstore8(uchar8 data, size_t offset, __local uchar *p);
  11742. void __ovld vstore8(short8 data, size_t offset, __local short *p);
  11743. void __ovld vstore8(ushort8 data, size_t offset, __local ushort *p);
  11744. void __ovld vstore8(int8 data, size_t offset, __local int *p);
  11745. void __ovld vstore8(uint8 data, size_t offset, __local uint *p);
  11746. void __ovld vstore8(long8 data, size_t offset, __local long *p);
  11747. void __ovld vstore8(ulong8 data, size_t offset, __local ulong *p);
  11748. void __ovld vstore8(float8 data, size_t offset, __local float *p);
  11749. void __ovld vstore16(char16 data, size_t offset, __local char *p);
  11750. void __ovld vstore16(uchar16 data, size_t offset, __local uchar *p);
  11751. void __ovld vstore16(short16 data, size_t offset, __local short *p);
  11752. void __ovld vstore16(ushort16 data, size_t offset, __local ushort *p);
  11753. void __ovld vstore16(int16 data, size_t offset, __local int *p);
  11754. void __ovld vstore16(uint16 data, size_t offset, __local uint *p);
  11755. void __ovld vstore16(long16 data, size_t offset, __local long *p);
  11756. void __ovld vstore16(ulong16 data, size_t offset, __local ulong *p);
  11757. void __ovld vstore16(float16 data, size_t offset, __local float *p);
  11758. void __ovld vstore2(char2 data, size_t offset, __private char *p);
  11759. void __ovld vstore2(uchar2 data, size_t offset, __private uchar *p);
  11760. void __ovld vstore2(short2 data, size_t offset, __private short *p);
  11761. void __ovld vstore2(ushort2 data, size_t offset, __private ushort *p);
  11762. void __ovld vstore2(int2 data, size_t offset, __private int *p);
  11763. void __ovld vstore2(uint2 data, size_t offset, __private uint *p);
  11764. void __ovld vstore2(long2 data, size_t offset, __private long *p);
  11765. void __ovld vstore2(ulong2 data, size_t offset, __private ulong *p);
  11766. void __ovld vstore2(float2 data, size_t offset, __private float *p);
  11767. void __ovld vstore3(char3 data, size_t offset, __private char *p);
  11768. void __ovld vstore3(uchar3 data, size_t offset, __private uchar *p);
  11769. void __ovld vstore3(short3 data, size_t offset, __private short *p);
  11770. void __ovld vstore3(ushort3 data, size_t offset, __private ushort *p);
  11771. void __ovld vstore3(int3 data, size_t offset, __private int *p);
  11772. void __ovld vstore3(uint3 data, size_t offset, __private uint *p);
  11773. void __ovld vstore3(long3 data, size_t offset, __private long *p);
  11774. void __ovld vstore3(ulong3 data, size_t offset, __private ulong *p);
  11775. void __ovld vstore3(float3 data, size_t offset, __private float *p);
  11776. void __ovld vstore4(char4 data, size_t offset, __private char *p);
  11777. void __ovld vstore4(uchar4 data, size_t offset, __private uchar *p);
  11778. void __ovld vstore4(short4 data, size_t offset, __private short *p);
  11779. void __ovld vstore4(ushort4 data, size_t offset, __private ushort *p);
  11780. void __ovld vstore4(int4 data, size_t offset, __private int *p);
  11781. void __ovld vstore4(uint4 data, size_t offset, __private uint *p);
  11782. void __ovld vstore4(long4 data, size_t offset, __private long *p);
  11783. void __ovld vstore4(ulong4 data, size_t offset, __private ulong *p);
  11784. void __ovld vstore4(float4 data, size_t offset, __private float *p);
  11785. void __ovld vstore8(char8 data, size_t offset, __private char *p);
  11786. void __ovld vstore8(uchar8 data, size_t offset, __private uchar *p);
  11787. void __ovld vstore8(short8 data, size_t offset, __private short *p);
  11788. void __ovld vstore8(ushort8 data, size_t offset, __private ushort *p);
  11789. void __ovld vstore8(int8 data, size_t offset, __private int *p);
  11790. void __ovld vstore8(uint8 data, size_t offset, __private uint *p);
  11791. void __ovld vstore8(long8 data, size_t offset, __private long *p);
  11792. void __ovld vstore8(ulong8 data, size_t offset, __private ulong *p);
  11793. void __ovld vstore8(float8 data, size_t offset, __private float *p);
  11794. void __ovld vstore16(char16 data, size_t offset, __private char *p);
  11795. void __ovld vstore16(uchar16 data, size_t offset, __private uchar *p);
  11796. void __ovld vstore16(short16 data, size_t offset, __private short *p);
  11797. void __ovld vstore16(ushort16 data, size_t offset, __private ushort *p);
  11798. void __ovld vstore16(int16 data, size_t offset, __private int *p);
  11799. void __ovld vstore16(uint16 data, size_t offset, __private uint *p);
  11800. void __ovld vstore16(long16 data, size_t offset, __private long *p);
  11801. void __ovld vstore16(ulong16 data, size_t offset, __private ulong *p);
  11802. void __ovld vstore16(float16 data, size_t offset, __private float *p);
  11803. #ifdef cl_khr_fp64
  11804. void __ovld vstore2(double2 data, size_t offset, __global double *p);
  11805. void __ovld vstore3(double3 data, size_t offset, __global double *p);
  11806. void __ovld vstore4(double4 data, size_t offset, __global double *p);
  11807. void __ovld vstore8(double8 data, size_t offset, __global double *p);
  11808. void __ovld vstore16(double16 data, size_t offset, __global double *p);
  11809. void __ovld vstore2(double2 data, size_t offset, __local double *p);
  11810. void __ovld vstore3(double3 data, size_t offset, __local double *p);
  11811. void __ovld vstore4(double4 data, size_t offset, __local double *p);
  11812. void __ovld vstore8(double8 data, size_t offset, __local double *p);
  11813. void __ovld vstore16(double16 data, size_t offset, __local double *p);
  11814. void __ovld vstore2(double2 data, size_t offset, __private double *p);
  11815. void __ovld vstore3(double3 data, size_t offset, __private double *p);
  11816. void __ovld vstore4(double4 data, size_t offset, __private double *p);
  11817. void __ovld vstore8(double8 data, size_t offset, __private double *p);
  11818. void __ovld vstore16(double16 data, size_t offset, __private double *p);
  11819. #endif //cl_khr_fp64
  11820. #ifdef cl_khr_fp16
  11821. void __ovld vstore(half data, size_t offset, __global half *p);
  11822. void __ovld vstore2(half2 data, size_t offset, __global half *p);
  11823. void __ovld vstore3(half3 data, size_t offset, __global half *p);
  11824. void __ovld vstore4(half4 data, size_t offset, __global half *p);
  11825. void __ovld vstore8(half8 data, size_t offset, __global half *p);
  11826. void __ovld vstore16(half16 data, size_t offset, __global half *p);
  11827. void __ovld vstore(half data, size_t offset, __local half *p);
  11828. void __ovld vstore2(half2 data, size_t offset, __local half *p);
  11829. void __ovld vstore3(half3 data, size_t offset, __local half *p);
  11830. void __ovld vstore4(half4 data, size_t offset, __local half *p);
  11831. void __ovld vstore8(half8 data, size_t offset, __local half *p);
  11832. void __ovld vstore16(half16 data, size_t offset, __local half *p);
  11833. void __ovld vstore(half data, size_t offset, __private half *p);
  11834. void __ovld vstore2(half2 data, size_t offset, __private half *p);
  11835. void __ovld vstore3(half3 data, size_t offset, __private half *p);
  11836. void __ovld vstore4(half4 data, size_t offset, __private half *p);
  11837. void __ovld vstore8(half8 data, size_t offset, __private half *p);
  11838. void __ovld vstore16(half16 data, size_t offset, __private half *p);
  11839. #endif //cl_khr_fp16
  11840. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11841. /**
  11842. * Read sizeof (half) bytes of data from address
  11843. * (p + offset). The data read is interpreted as a
  11844. * half value. The half value is converted to a
  11845. * float value and the float value is returned.
  11846. * The read address computed as (p + offset)
  11847. * must be 16-bit aligned.
  11848. */
  11849. float __ovld vload_half(size_t offset, const __constant half *p);
  11850. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11851. float __ovld vload_half(size_t offset, const half *p);
  11852. #else
  11853. float __ovld vload_half(size_t offset, const __global half *p);
  11854. float __ovld vload_half(size_t offset, const __local half *p);
  11855. float __ovld vload_half(size_t offset, const __private half *p);
  11856. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11857. /**
  11858. * Read sizeof (halfn) bytes of data from address
  11859. * (p + (offset * n)). The data read is interpreted
  11860. * as a halfn value. The halfn value read is
  11861. * converted to a floatn value and the floatn
  11862. * value is returned. The read address computed
  11863. * as (p + (offset * n)) must be 16-bit aligned.
  11864. */
  11865. float2 __ovld vload_half2(size_t offset, const __constant half *p);
  11866. float3 __ovld vload_half3(size_t offset, const __constant half *p);
  11867. float4 __ovld vload_half4(size_t offset, const __constant half *p);
  11868. float8 __ovld vload_half8(size_t offset, const __constant half *p);
  11869. float16 __ovld vload_half16(size_t offset, const __constant half *p);
  11870. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11871. float2 __ovld vload_half2(size_t offset, const half *p);
  11872. float3 __ovld vload_half3(size_t offset, const half *p);
  11873. float4 __ovld vload_half4(size_t offset, const half *p);
  11874. float8 __ovld vload_half8(size_t offset, const half *p);
  11875. float16 __ovld vload_half16(size_t offset, const half *p);
  11876. #else
  11877. float2 __ovld vload_half2(size_t offset, const __global half *p);
  11878. float3 __ovld vload_half3(size_t offset, const __global half *p);
  11879. float4 __ovld vload_half4(size_t offset, const __global half *p);
  11880. float8 __ovld vload_half8(size_t offset, const __global half *p);
  11881. float16 __ovld vload_half16(size_t offset, const __global half *p);
  11882. float2 __ovld vload_half2(size_t offset, const __local half *p);
  11883. float3 __ovld vload_half3(size_t offset, const __local half *p);
  11884. float4 __ovld vload_half4(size_t offset, const __local half *p);
  11885. float8 __ovld vload_half8(size_t offset, const __local half *p);
  11886. float16 __ovld vload_half16(size_t offset, const __local half *p);
  11887. float2 __ovld vload_half2(size_t offset, const __private half *p);
  11888. float3 __ovld vload_half3(size_t offset, const __private half *p);
  11889. float4 __ovld vload_half4(size_t offset, const __private half *p);
  11890. float8 __ovld vload_half8(size_t offset, const __private half *p);
  11891. float16 __ovld vload_half16(size_t offset, const __private half *p);
  11892. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11893. /**
  11894. * The float value given by data is first
  11895. * converted to a half value using the appropriate
  11896. * rounding mode. The half value is then written
  11897. * to address computed as (p + offset). The
  11898. * address computed as (p + offset) must be 16-
  11899. * bit aligned.
  11900. * vstore_half use the current rounding mode.
  11901. * The default current rounding mode is round to
  11902. * nearest even.
  11903. */
  11904. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11905. void __ovld vstore_half(float data, size_t offset, half *p);
  11906. void __ovld vstore_half_rte(float data, size_t offset, half *p);
  11907. void __ovld vstore_half_rtz(float data, size_t offset, half *p);
  11908. void __ovld vstore_half_rtp(float data, size_t offset, half *p);
  11909. void __ovld vstore_half_rtn(float data, size_t offset, half *p);
  11910. #ifdef cl_khr_fp64
  11911. void __ovld vstore_half(double data, size_t offset, half *p);
  11912. void __ovld vstore_half_rte(double data, size_t offset, half *p);
  11913. void __ovld vstore_half_rtz(double data, size_t offset, half *p);
  11914. void __ovld vstore_half_rtp(double data, size_t offset, half *p);
  11915. void __ovld vstore_half_rtn(double data, size_t offset, half *p);
  11916. #endif //cl_khr_fp64
  11917. #else
  11918. void __ovld vstore_half(float data, size_t offset, __global half *p);
  11919. void __ovld vstore_half_rte(float data, size_t offset, __global half *p);
  11920. void __ovld vstore_half_rtz(float data, size_t offset, __global half *p);
  11921. void __ovld vstore_half_rtp(float data, size_t offset, __global half *p);
  11922. void __ovld vstore_half_rtn(float data, size_t offset, __global half *p);
  11923. void __ovld vstore_half(float data, size_t offset, __local half *p);
  11924. void __ovld vstore_half_rte(float data, size_t offset, __local half *p);
  11925. void __ovld vstore_half_rtz(float data, size_t offset, __local half *p);
  11926. void __ovld vstore_half_rtp(float data, size_t offset, __local half *p);
  11927. void __ovld vstore_half_rtn(float data, size_t offset, __local half *p);
  11928. void __ovld vstore_half(float data, size_t offset, __private half *p);
  11929. void __ovld vstore_half_rte(float data, size_t offset, __private half *p);
  11930. void __ovld vstore_half_rtz(float data, size_t offset, __private half *p);
  11931. void __ovld vstore_half_rtp(float data, size_t offset, __private half *p);
  11932. void __ovld vstore_half_rtn(float data, size_t offset, __private half *p);
  11933. #ifdef cl_khr_fp64
  11934. void __ovld vstore_half(double data, size_t offset, __global half *p);
  11935. void __ovld vstore_half_rte(double data, size_t offset, __global half *p);
  11936. void __ovld vstore_half_rtz(double data, size_t offset, __global half *p);
  11937. void __ovld vstore_half_rtp(double data, size_t offset, __global half *p);
  11938. void __ovld vstore_half_rtn(double data, size_t offset, __global half *p);
  11939. void __ovld vstore_half(double data, size_t offset, __local half *p);
  11940. void __ovld vstore_half_rte(double data, size_t offset, __local half *p);
  11941. void __ovld vstore_half_rtz(double data, size_t offset, __local half *p);
  11942. void __ovld vstore_half_rtp(double data, size_t offset, __local half *p);
  11943. void __ovld vstore_half_rtn(double data, size_t offset, __local half *p);
  11944. void __ovld vstore_half(double data, size_t offset, __private half *p);
  11945. void __ovld vstore_half_rte(double data, size_t offset, __private half *p);
  11946. void __ovld vstore_half_rtz(double data, size_t offset, __private half *p);
  11947. void __ovld vstore_half_rtp(double data, size_t offset, __private half *p);
  11948. void __ovld vstore_half_rtn(double data, size_t offset, __private half *p);
  11949. #endif //cl_khr_fp64
  11950. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11951. /**
  11952. * The floatn value given by data is converted to
  11953. * a halfn value using the appropriate rounding
  11954. * mode. The halfn value is then written to
  11955. * address computed as (p + (offset * n)). The
  11956. * address computed as (p + (offset * n)) must be
  11957. * 16-bit aligned.
  11958. * vstore_halfn uses the current rounding mode.
  11959. * The default current rounding mode is round to
  11960. * nearest even.
  11961. */
  11962. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  11963. void __ovld vstore_half2(float2 data, size_t offset, half *p);
  11964. void __ovld vstore_half3(float3 data, size_t offset, half *p);
  11965. void __ovld vstore_half4(float4 data, size_t offset, half *p);
  11966. void __ovld vstore_half8(float8 data, size_t offset, half *p);
  11967. void __ovld vstore_half16(float16 data, size_t offset, half *p);
  11968. void __ovld vstore_half2_rte(float2 data, size_t offset, half *p);
  11969. void __ovld vstore_half3_rte(float3 data, size_t offset, half *p);
  11970. void __ovld vstore_half4_rte(float4 data, size_t offset, half *p);
  11971. void __ovld vstore_half8_rte(float8 data, size_t offset, half *p);
  11972. void __ovld vstore_half16_rte(float16 data, size_t offset, half *p);
  11973. void __ovld vstore_half2_rtz(float2 data, size_t offset, half *p);
  11974. void __ovld vstore_half3_rtz(float3 data, size_t offset, half *p);
  11975. void __ovld vstore_half4_rtz(float4 data, size_t offset, half *p);
  11976. void __ovld vstore_half8_rtz(float8 data, size_t offset, half *p);
  11977. void __ovld vstore_half16_rtz(float16 data, size_t offset, half *p);
  11978. void __ovld vstore_half2_rtp(float2 data, size_t offset, half *p);
  11979. void __ovld vstore_half3_rtp(float3 data, size_t offset, half *p);
  11980. void __ovld vstore_half4_rtp(float4 data, size_t offset, half *p);
  11981. void __ovld vstore_half8_rtp(float8 data, size_t offset, half *p);
  11982. void __ovld vstore_half16_rtp(float16 data, size_t offset, half *p);
  11983. void __ovld vstore_half2_rtn(float2 data, size_t offset, half *p);
  11984. void __ovld vstore_half3_rtn(float3 data, size_t offset, half *p);
  11985. void __ovld vstore_half4_rtn(float4 data, size_t offset, half *p);
  11986. void __ovld vstore_half8_rtn(float8 data, size_t offset, half *p);
  11987. void __ovld vstore_half16_rtn(float16 data, size_t offset, half *p);
  11988. #ifdef cl_khr_fp64
  11989. void __ovld vstore_half2(double2 data, size_t offset, half *p);
  11990. void __ovld vstore_half3(double3 data, size_t offset, half *p);
  11991. void __ovld vstore_half4(double4 data, size_t offset, half *p);
  11992. void __ovld vstore_half8(double8 data, size_t offset, half *p);
  11993. void __ovld vstore_half16(double16 data, size_t offset, half *p);
  11994. void __ovld vstore_half2_rte(double2 data, size_t offset, half *p);
  11995. void __ovld vstore_half3_rte(double3 data, size_t offset, half *p);
  11996. void __ovld vstore_half4_rte(double4 data, size_t offset, half *p);
  11997. void __ovld vstore_half8_rte(double8 data, size_t offset, half *p);
  11998. void __ovld vstore_half16_rte(double16 data, size_t offset, half *p);
  11999. void __ovld vstore_half2_rtz(double2 data, size_t offset, half *p);
  12000. void __ovld vstore_half3_rtz(double3 data, size_t offset, half *p);
  12001. void __ovld vstore_half4_rtz(double4 data, size_t offset, half *p);
  12002. void __ovld vstore_half8_rtz(double8 data, size_t offset, half *p);
  12003. void __ovld vstore_half16_rtz(double16 data, size_t offset, half *p);
  12004. void __ovld vstore_half2_rtp(double2 data, size_t offset, half *p);
  12005. void __ovld vstore_half3_rtp(double3 data, size_t offset, half *p);
  12006. void __ovld vstore_half4_rtp(double4 data, size_t offset, half *p);
  12007. void __ovld vstore_half8_rtp(double8 data, size_t offset, half *p);
  12008. void __ovld vstore_half16_rtp(double16 data, size_t offset, half *p);
  12009. void __ovld vstore_half2_rtn(double2 data, size_t offset, half *p);
  12010. void __ovld vstore_half3_rtn(double3 data, size_t offset, half *p);
  12011. void __ovld vstore_half4_rtn(double4 data, size_t offset, half *p);
  12012. void __ovld vstore_half8_rtn(double8 data, size_t offset, half *p);
  12013. void __ovld vstore_half16_rtn(double16 data, size_t offset, half *p);
  12014. #endif //cl_khr_fp64
  12015. #else
  12016. void __ovld vstore_half2(float2 data, size_t offset, __global half *p);
  12017. void __ovld vstore_half3(float3 data, size_t offset, __global half *p);
  12018. void __ovld vstore_half4(float4 data, size_t offset, __global half *p);
  12019. void __ovld vstore_half8(float8 data, size_t offset, __global half *p);
  12020. void __ovld vstore_half16(float16 data, size_t offset, __global half *p);
  12021. void __ovld vstore_half2_rte(float2 data, size_t offset, __global half *p);
  12022. void __ovld vstore_half3_rte(float3 data, size_t offset, __global half *p);
  12023. void __ovld vstore_half4_rte(float4 data, size_t offset, __global half *p);
  12024. void __ovld vstore_half8_rte(float8 data, size_t offset, __global half *p);
  12025. void __ovld vstore_half16_rte(float16 data, size_t offset, __global half *p);
  12026. void __ovld vstore_half2_rtz(float2 data, size_t offset, __global half *p);
  12027. void __ovld vstore_half3_rtz(float3 data, size_t offset, __global half *p);
  12028. void __ovld vstore_half4_rtz(float4 data, size_t offset, __global half *p);
  12029. void __ovld vstore_half8_rtz(float8 data, size_t offset, __global half *p);
  12030. void __ovld vstore_half16_rtz(float16 data, size_t offset, __global half *p);
  12031. void __ovld vstore_half2_rtp(float2 data, size_t offset, __global half *p);
  12032. void __ovld vstore_half3_rtp(float3 data, size_t offset, __global half *p);
  12033. void __ovld vstore_half4_rtp(float4 data, size_t offset, __global half *p);
  12034. void __ovld vstore_half8_rtp(float8 data, size_t offset, __global half *p);
  12035. void __ovld vstore_half16_rtp(float16 data, size_t offset, __global half *p);
  12036. void __ovld vstore_half2_rtn(float2 data, size_t offset, __global half *p);
  12037. void __ovld vstore_half3_rtn(float3 data, size_t offset, __global half *p);
  12038. void __ovld vstore_half4_rtn(float4 data, size_t offset, __global half *p);
  12039. void __ovld vstore_half8_rtn(float8 data, size_t offset, __global half *p);
  12040. void __ovld vstore_half16_rtn(float16 data, size_t offset, __global half *p);
  12041. void __ovld vstore_half2(float2 data, size_t offset, __local half *p);
  12042. void __ovld vstore_half3(float3 data, size_t offset, __local half *p);
  12043. void __ovld vstore_half4(float4 data, size_t offset, __local half *p);
  12044. void __ovld vstore_half8(float8 data, size_t offset, __local half *p);
  12045. void __ovld vstore_half16(float16 data, size_t offset, __local half *p);
  12046. void __ovld vstore_half2_rte(float2 data, size_t offset, __local half *p);
  12047. void __ovld vstore_half3_rte(float3 data, size_t offset, __local half *p);
  12048. void __ovld vstore_half4_rte(float4 data, size_t offset, __local half *p);
  12049. void __ovld vstore_half8_rte(float8 data, size_t offset, __local half *p);
  12050. void __ovld vstore_half16_rte(float16 data, size_t offset, __local half *p);
  12051. void __ovld vstore_half2_rtz(float2 data, size_t offset, __local half *p);
  12052. void __ovld vstore_half3_rtz(float3 data, size_t offset, __local half *p);
  12053. void __ovld vstore_half4_rtz(float4 data, size_t offset, __local half *p);
  12054. void __ovld vstore_half8_rtz(float8 data, size_t offset, __local half *p);
  12055. void __ovld vstore_half16_rtz(float16 data, size_t offset, __local half *p);
  12056. void __ovld vstore_half2_rtp(float2 data, size_t offset, __local half *p);
  12057. void __ovld vstore_half3_rtp(float3 data, size_t offset, __local half *p);
  12058. void __ovld vstore_half4_rtp(float4 data, size_t offset, __local half *p);
  12059. void __ovld vstore_half8_rtp(float8 data, size_t offset, __local half *p);
  12060. void __ovld vstore_half16_rtp(float16 data, size_t offset, __local half *p);
  12061. void __ovld vstore_half2_rtn(float2 data, size_t offset, __local half *p);
  12062. void __ovld vstore_half3_rtn(float3 data, size_t offset, __local half *p);
  12063. void __ovld vstore_half4_rtn(float4 data, size_t offset, __local half *p);
  12064. void __ovld vstore_half8_rtn(float8 data, size_t offset, __local half *p);
  12065. void __ovld vstore_half16_rtn(float16 data, size_t offset, __local half *p);
  12066. void __ovld vstore_half2(float2 data, size_t offset, __private half *p);
  12067. void __ovld vstore_half3(float3 data, size_t offset, __private half *p);
  12068. void __ovld vstore_half4(float4 data, size_t offset, __private half *p);
  12069. void __ovld vstore_half8(float8 data, size_t offset, __private half *p);
  12070. void __ovld vstore_half16(float16 data, size_t offset, __private half *p);
  12071. void __ovld vstore_half2_rte(float2 data, size_t offset, __private half *p);
  12072. void __ovld vstore_half3_rte(float3 data, size_t offset, __private half *p);
  12073. void __ovld vstore_half4_rte(float4 data, size_t offset, __private half *p);
  12074. void __ovld vstore_half8_rte(float8 data, size_t offset, __private half *p);
  12075. void __ovld vstore_half16_rte(float16 data, size_t offset, __private half *p);
  12076. void __ovld vstore_half2_rtz(float2 data, size_t offset, __private half *p);
  12077. void __ovld vstore_half3_rtz(float3 data, size_t offset, __private half *p);
  12078. void __ovld vstore_half4_rtz(float4 data, size_t offset, __private half *p);
  12079. void __ovld vstore_half8_rtz(float8 data, size_t offset, __private half *p);
  12080. void __ovld vstore_half16_rtz(float16 data, size_t offset, __private half *p);
  12081. void __ovld vstore_half2_rtp(float2 data, size_t offset, __private half *p);
  12082. void __ovld vstore_half3_rtp(float3 data, size_t offset, __private half *p);
  12083. void __ovld vstore_half4_rtp(float4 data, size_t offset, __private half *p);
  12084. void __ovld vstore_half8_rtp(float8 data, size_t offset, __private half *p);
  12085. void __ovld vstore_half16_rtp(float16 data, size_t offset, __private half *p);
  12086. void __ovld vstore_half2_rtn(float2 data, size_t offset, __private half *p);
  12087. void __ovld vstore_half3_rtn(float3 data, size_t offset, __private half *p);
  12088. void __ovld vstore_half4_rtn(float4 data, size_t offset, __private half *p);
  12089. void __ovld vstore_half8_rtn(float8 data, size_t offset, __private half *p);
  12090. void __ovld vstore_half16_rtn(float16 data, size_t offset, __private half *p);
  12091. #ifdef cl_khr_fp64
  12092. void __ovld vstore_half2(double2 data, size_t offset, __global half *p);
  12093. void __ovld vstore_half3(double3 data, size_t offset, __global half *p);
  12094. void __ovld vstore_half4(double4 data, size_t offset, __global half *p);
  12095. void __ovld vstore_half8(double8 data, size_t offset, __global half *p);
  12096. void __ovld vstore_half16(double16 data, size_t offset, __global half *p);
  12097. void __ovld vstore_half2_rte(double2 data, size_t offset, __global half *p);
  12098. void __ovld vstore_half3_rte(double3 data, size_t offset, __global half *p);
  12099. void __ovld vstore_half4_rte(double4 data, size_t offset, __global half *p);
  12100. void __ovld vstore_half8_rte(double8 data, size_t offset, __global half *p);
  12101. void __ovld vstore_half16_rte(double16 data, size_t offset, __global half *p);
  12102. void __ovld vstore_half2_rtz(double2 data, size_t offset, __global half *p);
  12103. void __ovld vstore_half3_rtz(double3 data, size_t offset, __global half *p);
  12104. void __ovld vstore_half4_rtz(double4 data, size_t offset, __global half *p);
  12105. void __ovld vstore_half8_rtz(double8 data, size_t offset, __global half *p);
  12106. void __ovld vstore_half16_rtz(double16 data, size_t offset, __global half *p);
  12107. void __ovld vstore_half2_rtp(double2 data, size_t offset, __global half *p);
  12108. void __ovld vstore_half3_rtp(double3 data, size_t offset, __global half *p);
  12109. void __ovld vstore_half4_rtp(double4 data, size_t offset, __global half *p);
  12110. void __ovld vstore_half8_rtp(double8 data, size_t offset, __global half *p);
  12111. void __ovld vstore_half16_rtp(double16 data, size_t offset, __global half *p);
  12112. void __ovld vstore_half2_rtn(double2 data, size_t offset, __global half *p);
  12113. void __ovld vstore_half3_rtn(double3 data, size_t offset, __global half *p);
  12114. void __ovld vstore_half4_rtn(double4 data, size_t offset, __global half *p);
  12115. void __ovld vstore_half8_rtn(double8 data, size_t offset, __global half *p);
  12116. void __ovld vstore_half16_rtn(double16 data, size_t offset, __global half *p);
  12117. void __ovld vstore_half2(double2 data, size_t offset, __local half *p);
  12118. void __ovld vstore_half3(double3 data, size_t offset, __local half *p);
  12119. void __ovld vstore_half4(double4 data, size_t offset, __local half *p);
  12120. void __ovld vstore_half8(double8 data, size_t offset, __local half *p);
  12121. void __ovld vstore_half16(double16 data, size_t offset, __local half *p);
  12122. void __ovld vstore_half2_rte(double2 data, size_t offset, __local half *p);
  12123. void __ovld vstore_half3_rte(double3 data, size_t offset, __local half *p);
  12124. void __ovld vstore_half4_rte(double4 data, size_t offset, __local half *p);
  12125. void __ovld vstore_half8_rte(double8 data, size_t offset, __local half *p);
  12126. void __ovld vstore_half16_rte(double16 data, size_t offset, __local half *p);
  12127. void __ovld vstore_half2_rtz(double2 data, size_t offset, __local half *p);
  12128. void __ovld vstore_half3_rtz(double3 data, size_t offset, __local half *p);
  12129. void __ovld vstore_half4_rtz(double4 data, size_t offset, __local half *p);
  12130. void __ovld vstore_half8_rtz(double8 data, size_t offset, __local half *p);
  12131. void __ovld vstore_half16_rtz(double16 data, size_t offset, __local half *p);
  12132. void __ovld vstore_half2_rtp(double2 data, size_t offset, __local half *p);
  12133. void __ovld vstore_half3_rtp(double3 data, size_t offset, __local half *p);
  12134. void __ovld vstore_half4_rtp(double4 data, size_t offset, __local half *p);
  12135. void __ovld vstore_half8_rtp(double8 data, size_t offset, __local half *p);
  12136. void __ovld vstore_half16_rtp(double16 data, size_t offset, __local half *p);
  12137. void __ovld vstore_half2_rtn(double2 data, size_t offset, __local half *p);
  12138. void __ovld vstore_half3_rtn(double3 data, size_t offset, __local half *p);
  12139. void __ovld vstore_half4_rtn(double4 data, size_t offset, __local half *p);
  12140. void __ovld vstore_half8_rtn(double8 data, size_t offset, __local half *p);
  12141. void __ovld vstore_half16_rtn(double16 data, size_t offset, __local half *p);
  12142. void __ovld vstore_half2(double2 data, size_t offset, __private half *p);
  12143. void __ovld vstore_half3(double3 data, size_t offset, __private half *p);
  12144. void __ovld vstore_half4(double4 data, size_t offset, __private half *p);
  12145. void __ovld vstore_half8(double8 data, size_t offset, __private half *p);
  12146. void __ovld vstore_half16(double16 data, size_t offset, __private half *p);
  12147. void __ovld vstore_half2_rte(double2 data, size_t offset, __private half *p);
  12148. void __ovld vstore_half3_rte(double3 data, size_t offset, __private half *p);
  12149. void __ovld vstore_half4_rte(double4 data, size_t offset, __private half *p);
  12150. void __ovld vstore_half8_rte(double8 data, size_t offset, __private half *p);
  12151. void __ovld vstore_half16_rte(double16 data, size_t offset, __private half *p);
  12152. void __ovld vstore_half2_rtz(double2 data, size_t offset, __private half *p);
  12153. void __ovld vstore_half3_rtz(double3 data, size_t offset, __private half *p);
  12154. void __ovld vstore_half4_rtz(double4 data, size_t offset, __private half *p);
  12155. void __ovld vstore_half8_rtz(double8 data, size_t offset, __private half *p);
  12156. void __ovld vstore_half16_rtz(double16 data, size_t offset, __private half *p);
  12157. void __ovld vstore_half2_rtp(double2 data, size_t offset, __private half *p);
  12158. void __ovld vstore_half3_rtp(double3 data, size_t offset, __private half *p);
  12159. void __ovld vstore_half4_rtp(double4 data, size_t offset, __private half *p);
  12160. void __ovld vstore_half8_rtp(double8 data, size_t offset, __private half *p);
  12161. void __ovld vstore_half16_rtp(double16 data, size_t offset, __private half *p);
  12162. void __ovld vstore_half2_rtn(double2 data, size_t offset, __private half *p);
  12163. void __ovld vstore_half3_rtn(double3 data, size_t offset, __private half *p);
  12164. void __ovld vstore_half4_rtn(double4 data, size_t offset, __private half *p);
  12165. void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p);
  12166. void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p);
  12167. #endif //cl_khr_fp64
  12168. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12169. /**
  12170. * For n = 1, 2, 4, 8 and 16 read sizeof (halfn)
  12171. * bytes of data from address (p + (offset * n)).
  12172. * The data read is interpreted as a halfn value.
  12173. * The halfn value read is converted to a floatn
  12174. * value and the floatn value is returned.
  12175. * The address computed as (p + (offset * n))
  12176. * must be aligned to sizeof (halfn) bytes.
  12177. * For n = 3, vloada_half3 reads a half3 from
  12178. * address (p + (offset * 4)) and returns a float3.
  12179. * The address computed as (p + (offset * 4))
  12180. * must be aligned to sizeof (half) * 4 bytes.
  12181. */
  12182. float __ovld vloada_half(size_t offset, const __constant half *p);
  12183. float2 __ovld vloada_half2(size_t offset, const __constant half *p);
  12184. float3 __ovld vloada_half3(size_t offset, const __constant half *p);
  12185. float4 __ovld vloada_half4(size_t offset, const __constant half *p);
  12186. float8 __ovld vloada_half8(size_t offset, const __constant half *p);
  12187. float16 __ovld vloada_half16(size_t offset, const __constant half *p);
  12188. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12189. float __ovld vloada_half(size_t offset, const half *p);
  12190. float2 __ovld vloada_half2(size_t offset, const half *p);
  12191. float3 __ovld vloada_half3(size_t offset, const half *p);
  12192. float4 __ovld vloada_half4(size_t offset, const half *p);
  12193. float8 __ovld vloada_half8(size_t offset, const half *p);
  12194. float16 __ovld vloada_half16(size_t offset, const half *p);
  12195. #else
  12196. float __ovld vloada_half(size_t offset, const __global half *p);
  12197. float2 __ovld vloada_half2(size_t offset, const __global half *p);
  12198. float3 __ovld vloada_half3(size_t offset, const __global half *p);
  12199. float4 __ovld vloada_half4(size_t offset, const __global half *p);
  12200. float8 __ovld vloada_half8(size_t offset, const __global half *p);
  12201. float16 __ovld vloada_half16(size_t offset, const __global half *p);
  12202. float __ovld vloada_half(size_t offset, const __local half *p);
  12203. float2 __ovld vloada_half2(size_t offset, const __local half *p);
  12204. float3 __ovld vloada_half3(size_t offset, const __local half *p);
  12205. float4 __ovld vloada_half4(size_t offset, const __local half *p);
  12206. float8 __ovld vloada_half8(size_t offset, const __local half *p);
  12207. float16 __ovld vloada_half16(size_t offset, const __local half *p);
  12208. float __ovld vloada_half(size_t offset, const __private half *p);
  12209. float2 __ovld vloada_half2(size_t offset, const __private half *p);
  12210. float3 __ovld vloada_half3(size_t offset, const __private half *p);
  12211. float4 __ovld vloada_half4(size_t offset, const __private half *p);
  12212. float8 __ovld vloada_half8(size_t offset, const __private half *p);
  12213. float16 __ovld vloada_half16(size_t offset, const __private half *p);
  12214. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12215. /**
  12216. * The floatn value given by data is converted to
  12217. * a halfn value using the appropriate rounding
  12218. * mode.
  12219. * For n = 1, 2, 4, 8 and 16, the halfn value is
  12220. * written to the address computed as (p + (offset
  12221. * * n)). The address computed as (p + (offset *
  12222. * n)) must be aligned to sizeof (halfn) bytes.
  12223. * For n = 3, the half3 value is written to the
  12224. * address computed as (p + (offset * 4)). The
  12225. * address computed as (p + (offset * 4)) must be
  12226. * aligned to sizeof (half) * 4 bytes.
  12227. * vstorea_halfn uses the current rounding
  12228. * mode. The default current rounding mode is
  12229. * round to nearest even.
  12230. */
  12231. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12232. void __ovld vstorea_half(float data, size_t offset, half *p);
  12233. void __ovld vstorea_half2(float2 data, size_t offset, half *p);
  12234. void __ovld vstorea_half3(float3 data, size_t offset, half *p);
  12235. void __ovld vstorea_half4(float4 data, size_t offset, half *p);
  12236. void __ovld vstorea_half8(float8 data, size_t offset, half *p);
  12237. void __ovld vstorea_half16(float16 data, size_t offset, half *p);
  12238. void __ovld vstorea_half_rte(float data, size_t offset, half *p);
  12239. void __ovld vstorea_half2_rte(float2 data, size_t offset, half *p);
  12240. void __ovld vstorea_half3_rte(float3 data, size_t offset, half *p);
  12241. void __ovld vstorea_half4_rte(float4 data, size_t offset, half *p);
  12242. void __ovld vstorea_half8_rte(float8 data, size_t offset, half *p);
  12243. void __ovld vstorea_half16_rte(float16 data, size_t offset, half *p);
  12244. void __ovld vstorea_half_rtz(float data, size_t offset, half *p);
  12245. void __ovld vstorea_half2_rtz(float2 data, size_t offset, half *p);
  12246. void __ovld vstorea_half3_rtz(float3 data, size_t offset, half *p);
  12247. void __ovld vstorea_half4_rtz(float4 data, size_t offset, half *p);
  12248. void __ovld vstorea_half8_rtz(float8 data, size_t offset, half *p);
  12249. void __ovld vstorea_half16_rtz(float16 data, size_t offset, half *p);
  12250. void __ovld vstorea_half_rtp(float data, size_t offset, half *p);
  12251. void __ovld vstorea_half2_rtp(float2 data, size_t offset, half *p);
  12252. void __ovld vstorea_half3_rtp(float3 data, size_t offset, half *p);
  12253. void __ovld vstorea_half4_rtp(float4 data, size_t offset, half *p);
  12254. void __ovld vstorea_half8_rtp(float8 data, size_t offset, half *p);
  12255. void __ovld vstorea_half16_rtp(float16 data, size_t offset, half *p);
  12256. void __ovld vstorea_half_rtn(float data, size_t offset, half *p);
  12257. void __ovld vstorea_half2_rtn(float2 data, size_t offset, half *p);
  12258. void __ovld vstorea_half3_rtn(float3 data, size_t offset, half *p);
  12259. void __ovld vstorea_half4_rtn(float4 data, size_t offset, half *p);
  12260. void __ovld vstorea_half8_rtn(float8 data, size_t offset, half *p);
  12261. void __ovld vstorea_half16_rtn(float16 data, size_t offset, half *p);
  12262. #ifdef cl_khr_fp64
  12263. void __ovld vstorea_half(double data, size_t offset, half *p);
  12264. void __ovld vstorea_half2(double2 data, size_t offset, half *p);
  12265. void __ovld vstorea_half3(double3 data, size_t offset, half *p);
  12266. void __ovld vstorea_half4(double4 data, size_t offset, half *p);
  12267. void __ovld vstorea_half8(double8 data, size_t offset, half *p);
  12268. void __ovld vstorea_half16(double16 data, size_t offset, half *p);
  12269. void __ovld vstorea_half_rte(double data, size_t offset, half *p);
  12270. void __ovld vstorea_half2_rte(double2 data, size_t offset, half *p);
  12271. void __ovld vstorea_half3_rte(double3 data, size_t offset, half *p);
  12272. void __ovld vstorea_half4_rte(double4 data, size_t offset, half *p);
  12273. void __ovld vstorea_half8_rte(double8 data, size_t offset, half *p);
  12274. void __ovld vstorea_half16_rte(double16 data, size_t offset, half *p);
  12275. void __ovld vstorea_half_rtz(double data, size_t offset, half *p);
  12276. void __ovld vstorea_half2_rtz(double2 data, size_t offset, half *p);
  12277. void __ovld vstorea_half3_rtz(double3 data, size_t offset, half *p);
  12278. void __ovld vstorea_half4_rtz(double4 data, size_t offset, half *p);
  12279. void __ovld vstorea_half8_rtz(double8 data, size_t offset, half *p);
  12280. void __ovld vstorea_half16_rtz(double16 data, size_t offset, half *p);
  12281. void __ovld vstorea_half_rtp(double data, size_t offset, half *p);
  12282. void __ovld vstorea_half2_rtp(double2 data, size_t offset, half *p);
  12283. void __ovld vstorea_half3_rtp(double3 data, size_t offset, half *p);
  12284. void __ovld vstorea_half4_rtp(double4 data, size_t offset, half *p);
  12285. void __ovld vstorea_half8_rtp(double8 data, size_t offset, half *p);
  12286. void __ovld vstorea_half16_rtp(double16 data, size_t offset, half *p);
  12287. void __ovld vstorea_half_rtn(double data, size_t offset, half *p);
  12288. void __ovld vstorea_half2_rtn(double2 data, size_t offset, half *p);
  12289. void __ovld vstorea_half3_rtn(double3 data, size_t offset, half *p);
  12290. void __ovld vstorea_half4_rtn(double4 data, size_t offset, half *p);
  12291. void __ovld vstorea_half8_rtn(double8 data, size_t offset, half *p);
  12292. void __ovld vstorea_half16_rtn(double16 data, size_t offset, half *p);
  12293. #endif //cl_khr_fp64
  12294. #else
  12295. void __ovld vstorea_half(float data, size_t offset, __global half *p);
  12296. void __ovld vstorea_half2(float2 data, size_t offset, __global half *p);
  12297. void __ovld vstorea_half3(float3 data, size_t offset, __global half *p);
  12298. void __ovld vstorea_half4(float4 data, size_t offset, __global half *p);
  12299. void __ovld vstorea_half8(float8 data, size_t offset, __global half *p);
  12300. void __ovld vstorea_half16(float16 data, size_t offset, __global half *p);
  12301. void __ovld vstorea_half_rte(float data, size_t offset, __global half *p);
  12302. void __ovld vstorea_half2_rte(float2 data, size_t offset, __global half *p);
  12303. void __ovld vstorea_half3_rte(float3 data, size_t offset, __global half *p);
  12304. void __ovld vstorea_half4_rte(float4 data, size_t offset, __global half *p);
  12305. void __ovld vstorea_half8_rte(float8 data, size_t offset, __global half *p);
  12306. void __ovld vstorea_half16_rte(float16 data, size_t offset, __global half *p);
  12307. void __ovld vstorea_half_rtz(float data, size_t offset, __global half *p);
  12308. void __ovld vstorea_half2_rtz(float2 data, size_t offset, __global half *p);
  12309. void __ovld vstorea_half3_rtz(float3 data, size_t offset, __global half *p);
  12310. void __ovld vstorea_half4_rtz(float4 data, size_t offset, __global half *p);
  12311. void __ovld vstorea_half8_rtz(float8 data, size_t offset, __global half *p);
  12312. void __ovld vstorea_half16_rtz(float16 data, size_t offset, __global half *p);
  12313. void __ovld vstorea_half_rtp(float data, size_t offset, __global half *p);
  12314. void __ovld vstorea_half2_rtp(float2 data, size_t offset, __global half *p);
  12315. void __ovld vstorea_half3_rtp(float3 data, size_t offset, __global half *p);
  12316. void __ovld vstorea_half4_rtp(float4 data, size_t offset, __global half *p);
  12317. void __ovld vstorea_half8_rtp(float8 data, size_t offset, __global half *p);
  12318. void __ovld vstorea_half16_rtp(float16 data, size_t offset, __global half *p);
  12319. void __ovld vstorea_half_rtn(float data, size_t offset, __global half *p);
  12320. void __ovld vstorea_half2_rtn(float2 data, size_t offset, __global half *p);
  12321. void __ovld vstorea_half3_rtn(float3 data, size_t offset, __global half *p);
  12322. void __ovld vstorea_half4_rtn(float4 data, size_t offset, __global half *p);
  12323. void __ovld vstorea_half8_rtn(float8 data, size_t offset, __global half *p);
  12324. void __ovld vstorea_half16_rtn(float16 data, size_t offset, __global half *p);
  12325. void __ovld vstorea_half(float data, size_t offset, __local half *p);
  12326. void __ovld vstorea_half2(float2 data, size_t offset, __local half *p);
  12327. void __ovld vstorea_half3(float3 data, size_t offset, __local half *p);
  12328. void __ovld vstorea_half4(float4 data, size_t offset, __local half *p);
  12329. void __ovld vstorea_half8(float8 data, size_t offset, __local half *p);
  12330. void __ovld vstorea_half16(float16 data, size_t offset, __local half *p);
  12331. void __ovld vstorea_half_rte(float data, size_t offset, __local half *p);
  12332. void __ovld vstorea_half2_rte(float2 data, size_t offset, __local half *p);
  12333. void __ovld vstorea_half3_rte(float3 data, size_t offset, __local half *p);
  12334. void __ovld vstorea_half4_rte(float4 data, size_t offset, __local half *p);
  12335. void __ovld vstorea_half8_rte(float8 data, size_t offset, __local half *p);
  12336. void __ovld vstorea_half16_rte(float16 data, size_t offset, __local half *p);
  12337. void __ovld vstorea_half_rtz(float data, size_t offset, __local half *p);
  12338. void __ovld vstorea_half2_rtz(float2 data, size_t offset, __local half *p);
  12339. void __ovld vstorea_half3_rtz(float3 data, size_t offset, __local half *p);
  12340. void __ovld vstorea_half4_rtz(float4 data, size_t offset, __local half *p);
  12341. void __ovld vstorea_half8_rtz(float8 data, size_t offset, __local half *p);
  12342. void __ovld vstorea_half16_rtz(float16 data, size_t offset, __local half *p);
  12343. void __ovld vstorea_half_rtp(float data, size_t offset, __local half *p);
  12344. void __ovld vstorea_half2_rtp(float2 data, size_t offset, __local half *p);
  12345. void __ovld vstorea_half3_rtp(float3 data, size_t offset, __local half *p);
  12346. void __ovld vstorea_half4_rtp(float4 data, size_t offset, __local half *p);
  12347. void __ovld vstorea_half8_rtp(float8 data, size_t offset, __local half *p);
  12348. void __ovld vstorea_half16_rtp(float16 data, size_t offset, __local half *p);
  12349. void __ovld vstorea_half_rtn(float data, size_t offset, __local half *p);
  12350. void __ovld vstorea_half2_rtn(float2 data, size_t offset, __local half *p);
  12351. void __ovld vstorea_half3_rtn(float3 data, size_t offset, __local half *p);
  12352. void __ovld vstorea_half4_rtn(float4 data, size_t offset, __local half *p);
  12353. void __ovld vstorea_half8_rtn(float8 data, size_t offset, __local half *p);
  12354. void __ovld vstorea_half16_rtn(float16 data, size_t offset, __local half *p);
  12355. void __ovld vstorea_half(float data, size_t offset, __private half *p);
  12356. void __ovld vstorea_half2(float2 data, size_t offset, __private half *p);
  12357. void __ovld vstorea_half3(float3 data, size_t offset, __private half *p);
  12358. void __ovld vstorea_half4(float4 data, size_t offset, __private half *p);
  12359. void __ovld vstorea_half8(float8 data, size_t offset, __private half *p);
  12360. void __ovld vstorea_half16(float16 data, size_t offset, __private half *p);
  12361. void __ovld vstorea_half_rte(float data, size_t offset, __private half *p);
  12362. void __ovld vstorea_half2_rte(float2 data, size_t offset, __private half *p);
  12363. void __ovld vstorea_half3_rte(float3 data, size_t offset, __private half *p);
  12364. void __ovld vstorea_half4_rte(float4 data, size_t offset, __private half *p);
  12365. void __ovld vstorea_half8_rte(float8 data, size_t offset, __private half *p);
  12366. void __ovld vstorea_half16_rte(float16 data, size_t offset, __private half *p);
  12367. void __ovld vstorea_half_rtz(float data, size_t offset, __private half *p);
  12368. void __ovld vstorea_half2_rtz(float2 data, size_t offset, __private half *p);
  12369. void __ovld vstorea_half3_rtz(float3 data, size_t offset, __private half *p);
  12370. void __ovld vstorea_half4_rtz(float4 data, size_t offset, __private half *p);
  12371. void __ovld vstorea_half8_rtz(float8 data, size_t offset, __private half *p);
  12372. void __ovld vstorea_half16_rtz(float16 data, size_t offset, __private half *p);
  12373. void __ovld vstorea_half_rtp(float data, size_t offset, __private half *p);
  12374. void __ovld vstorea_half2_rtp(float2 data, size_t offset, __private half *p);
  12375. void __ovld vstorea_half3_rtp(float3 data, size_t offset, __private half *p);
  12376. void __ovld vstorea_half4_rtp(float4 data, size_t offset, __private half *p);
  12377. void __ovld vstorea_half8_rtp(float8 data, size_t offset, __private half *p);
  12378. void __ovld vstorea_half16_rtp(float16 data, size_t offset, __private half *p);
  12379. void __ovld vstorea_half_rtn(float data, size_t offset, __private half *p);
  12380. void __ovld vstorea_half2_rtn(float2 data, size_t offset, __private half *p);
  12381. void __ovld vstorea_half3_rtn(float3 data, size_t offset, __private half *p);
  12382. void __ovld vstorea_half4_rtn(float4 data, size_t offset, __private half *p);
  12383. void __ovld vstorea_half8_rtn(float8 data, size_t offset, __private half *p);
  12384. void __ovld vstorea_half16_rtn(float16 data, size_t offset, __private half *p);
  12385. #ifdef cl_khr_fp64
  12386. void __ovld vstorea_half(double data, size_t offset, __global half *p);
  12387. void __ovld vstorea_half2(double2 data, size_t offset, __global half *p);
  12388. void __ovld vstorea_half3(double3 data, size_t offset, __global half *p);
  12389. void __ovld vstorea_half4(double4 data, size_t offset, __global half *p);
  12390. void __ovld vstorea_half8(double8 data, size_t offset, __global half *p);
  12391. void __ovld vstorea_half16(double16 data, size_t offset, __global half *p);
  12392. void __ovld vstorea_half_rte(double data, size_t offset, __global half *p);
  12393. void __ovld vstorea_half2_rte(double2 data, size_t offset, __global half *p);
  12394. void __ovld vstorea_half3_rte(double3 data, size_t offset, __global half *p);
  12395. void __ovld vstorea_half4_rte(double4 data, size_t offset, __global half *p);
  12396. void __ovld vstorea_half8_rte(double8 data, size_t offset, __global half *p);
  12397. void __ovld vstorea_half16_rte(double16 data, size_t offset, __global half *p);
  12398. void __ovld vstorea_half_rtz(double data, size_t offset, __global half *p);
  12399. void __ovld vstorea_half2_rtz(double2 data, size_t offset, __global half *p);
  12400. void __ovld vstorea_half3_rtz(double3 data, size_t offset, __global half *p);
  12401. void __ovld vstorea_half4_rtz(double4 data, size_t offset, __global half *p);
  12402. void __ovld vstorea_half8_rtz(double8 data, size_t offset, __global half *p);
  12403. void __ovld vstorea_half16_rtz(double16 data, size_t offset, __global half *p);
  12404. void __ovld vstorea_half_rtp(double data, size_t offset, __global half *p);
  12405. void __ovld vstorea_half2_rtp(double2 data, size_t offset, __global half *p);
  12406. void __ovld vstorea_half3_rtp(double3 data, size_t offset, __global half *p);
  12407. void __ovld vstorea_half4_rtp(double4 data, size_t offset, __global half *p);
  12408. void __ovld vstorea_half8_rtp(double8 data, size_t offset, __global half *p);
  12409. void __ovld vstorea_half16_rtp(double16 data, size_t offset, __global half *p);
  12410. void __ovld vstorea_half_rtn(double data, size_t offset, __global half *p);
  12411. void __ovld vstorea_half2_rtn(double2 data, size_t offset, __global half *p);
  12412. void __ovld vstorea_half3_rtn(double3 data, size_t offset, __global half *p);
  12413. void __ovld vstorea_half4_rtn(double4 data, size_t offset, __global half *p);
  12414. void __ovld vstorea_half8_rtn(double8 data, size_t offset, __global half *p);
  12415. void __ovld vstorea_half16_rtn(double16 data, size_t offset, __global half *p);
  12416. void __ovld vstorea_half(double data, size_t offset, __local half *p);
  12417. void __ovld vstorea_half2(double2 data, size_t offset, __local half *p);
  12418. void __ovld vstorea_half3(double3 data, size_t offset, __local half *p);
  12419. void __ovld vstorea_half4(double4 data, size_t offset, __local half *p);
  12420. void __ovld vstorea_half8(double8 data, size_t offset, __local half *p);
  12421. void __ovld vstorea_half16(double16 data, size_t offset, __local half *p);
  12422. void __ovld vstorea_half_rte(double data, size_t offset, __local half *p);
  12423. void __ovld vstorea_half2_rte(double2 data, size_t offset, __local half *p);
  12424. void __ovld vstorea_half3_rte(double3 data, size_t offset, __local half *p);
  12425. void __ovld vstorea_half4_rte(double4 data, size_t offset, __local half *p);
  12426. void __ovld vstorea_half8_rte(double8 data, size_t offset, __local half *p);
  12427. void __ovld vstorea_half16_rte(double16 data, size_t offset, __local half *p);
  12428. void __ovld vstorea_half_rtz(double data, size_t offset, __local half *p);
  12429. void __ovld vstorea_half2_rtz(double2 data, size_t offset, __local half *p);
  12430. void __ovld vstorea_half3_rtz(double3 data, size_t offset, __local half *p);
  12431. void __ovld vstorea_half4_rtz(double4 data, size_t offset, __local half *p);
  12432. void __ovld vstorea_half8_rtz(double8 data, size_t offset, __local half *p);
  12433. void __ovld vstorea_half16_rtz(double16 data, size_t offset, __local half *p);
  12434. void __ovld vstorea_half_rtp(double data, size_t offset, __local half *p);
  12435. void __ovld vstorea_half2_rtp(double2 data, size_t offset, __local half *p);
  12436. void __ovld vstorea_half3_rtp(double3 data, size_t offset, __local half *p);
  12437. void __ovld vstorea_half4_rtp(double4 data, size_t offset, __local half *p);
  12438. void __ovld vstorea_half8_rtp(double8 data, size_t offset, __local half *p);
  12439. void __ovld vstorea_half16_rtp(double16 data, size_t offset, __local half *p);
  12440. void __ovld vstorea_half_rtn(double data, size_t offset, __local half *p);
  12441. void __ovld vstorea_half2_rtn(double2 data, size_t offset, __local half *p);
  12442. void __ovld vstorea_half3_rtn(double3 data, size_t offset, __local half *p);
  12443. void __ovld vstorea_half4_rtn(double4 data, size_t offset, __local half *p);
  12444. void __ovld vstorea_half8_rtn(double8 data, size_t offset, __local half *p);
  12445. void __ovld vstorea_half16_rtn(double16 data, size_t offset, __local half *p);
  12446. void __ovld vstorea_half(double data, size_t offset, __private half *p);
  12447. void __ovld vstorea_half2(double2 data, size_t offset, __private half *p);
  12448. void __ovld vstorea_half3(double3 data, size_t offset, __private half *p);
  12449. void __ovld vstorea_half4(double4 data, size_t offset, __private half *p);
  12450. void __ovld vstorea_half8(double8 data, size_t offset, __private half *p);
  12451. void __ovld vstorea_half16(double16 data, size_t offset, __private half *p);
  12452. void __ovld vstorea_half_rte(double data, size_t offset, __private half *p);
  12453. void __ovld vstorea_half2_rte(double2 data, size_t offset, __private half *p);
  12454. void __ovld vstorea_half3_rte(double3 data, size_t offset, __private half *p);
  12455. void __ovld vstorea_half4_rte(double4 data, size_t offset, __private half *p);
  12456. void __ovld vstorea_half8_rte(double8 data, size_t offset, __private half *p);
  12457. void __ovld vstorea_half16_rte(double16 data, size_t offset, __private half *p);
  12458. void __ovld vstorea_half_rtz(double data, size_t offset, __private half *p);
  12459. void __ovld vstorea_half2_rtz(double2 data, size_t offset, __private half *p);
  12460. void __ovld vstorea_half3_rtz(double3 data, size_t offset, __private half *p);
  12461. void __ovld vstorea_half4_rtz(double4 data, size_t offset, __private half *p);
  12462. void __ovld vstorea_half8_rtz(double8 data, size_t offset, __private half *p);
  12463. void __ovld vstorea_half16_rtz(double16 data, size_t offset, __private half *p);
  12464. void __ovld vstorea_half_rtp(double data, size_t offset, __private half *p);
  12465. void __ovld vstorea_half2_rtp(double2 data, size_t offset, __private half *p);
  12466. void __ovld vstorea_half3_rtp(double3 data, size_t offset, __private half *p);
  12467. void __ovld vstorea_half4_rtp(double4 data, size_t offset, __private half *p);
  12468. void __ovld vstorea_half8_rtp(double8 data, size_t offset, __private half *p);
  12469. void __ovld vstorea_half16_rtp(double16 data, size_t offset, __private half *p);
  12470. void __ovld vstorea_half_rtn(double data, size_t offset, __private half *p);
  12471. void __ovld vstorea_half2_rtn(double2 data,size_t offset, __private half *p);
  12472. void __ovld vstorea_half3_rtn(double3 data,size_t offset, __private half *p);
  12473. void __ovld vstorea_half4_rtn(double4 data,size_t offset, __private half *p);
  12474. void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p);
  12475. void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p);
  12476. #endif //cl_khr_fp64
  12477. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12478. // OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions
  12479. // Flag type and values for barrier, mem_fence, read_mem_fence, write_mem_fence
  12480. typedef uint cl_mem_fence_flags;
  12481. /**
  12482. * Queue a memory fence to ensure correct
  12483. * ordering of memory operations to local memory
  12484. */
  12485. #define CLK_LOCAL_MEM_FENCE 0x01
  12486. /**
  12487. * Queue a memory fence to ensure correct
  12488. * ordering of memory operations to global memory
  12489. */
  12490. #define CLK_GLOBAL_MEM_FENCE 0x02
  12491. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12492. /**
  12493. * Queue a memory fence to ensure correct ordering of memory
  12494. * operations between work-items of a work-group to
  12495. * image memory.
  12496. */
  12497. #define CLK_IMAGE_MEM_FENCE 0x04
  12498. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12499. /**
  12500. * All work-items in a work-group executing the kernel
  12501. * on a processor must execute this function before any
  12502. * are allowed to continue execution beyond the barrier.
  12503. * This function must be encountered by all work-items in
  12504. * a work-group executing the kernel.
  12505. * If barrier is inside a conditional statement, then all
  12506. * work-items must enter the conditional if any work-item
  12507. * enters the conditional statement and executes the
  12508. * barrier.
  12509. * If barrer is inside a loop, all work-items must execute
  12510. * the barrier for each iteration of the loop before any are
  12511. * allowed to continue execution beyond the barrier.
  12512. * The barrier function also queues a memory fence
  12513. * (reads and writes) to ensure correct ordering of
  12514. * memory operations to local or global memory.
  12515. * The flags argument specifies the memory address space
  12516. * and can be set to a combination of the following literal
  12517. * values.
  12518. * CLK_LOCAL_MEM_FENCE - The barrier function
  12519. * will either flush any variables stored in local memory
  12520. * or queue a memory fence to ensure correct ordering of
  12521. * memory operations to local memory.
  12522. * CLK_GLOBAL_MEM_FENCE - The barrier function
  12523. * will queue a memory fence to ensure correct ordering
  12524. * of memory operations to global memory. This can be
  12525. * useful when work-items, for example, write to buffer or
  12526. * image objects and then want to read the updated data.
  12527. */
  12528. void __ovld __conv barrier(cl_mem_fence_flags flags);
  12529. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12530. typedef enum memory_scope {
  12531. memory_scope_work_item = __OPENCL_MEMORY_SCOPE_WORK_ITEM,
  12532. memory_scope_work_group = __OPENCL_MEMORY_SCOPE_WORK_GROUP,
  12533. memory_scope_device = __OPENCL_MEMORY_SCOPE_DEVICE,
  12534. memory_scope_all_svm_devices = __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES,
  12535. #if defined(cl_intel_subgroups) || defined(cl_khr_subgroups)
  12536. memory_scope_sub_group = __OPENCL_MEMORY_SCOPE_SUB_GROUP
  12537. #endif
  12538. } memory_scope;
  12539. void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope);
  12540. void __ovld __conv work_group_barrier(cl_mem_fence_flags flags);
  12541. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12542. // OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions
  12543. /**
  12544. * Orders loads and stores of a work-item
  12545. * executing a kernel. This means that loads
  12546. * and stores preceding the mem_fence will
  12547. * be committed to memory before any loads
  12548. * and stores following the mem_fence.
  12549. * The flags argument specifies the memory
  12550. * address space and can be set to a
  12551. * combination of the following literal
  12552. * values:
  12553. * CLK_LOCAL_MEM_FENCE
  12554. * CLK_GLOBAL_MEM_FENCE.
  12555. */
  12556. void __ovld mem_fence(cl_mem_fence_flags flags);
  12557. /**
  12558. * Read memory barrier that orders only
  12559. * loads.
  12560. * The flags argument specifies the memory
  12561. * address space and can be set to to a
  12562. * combination of the following literal
  12563. * values:
  12564. * CLK_LOCAL_MEM_FENCE
  12565. * CLK_GLOBAL_MEM_FENCE.
  12566. */
  12567. void __ovld read_mem_fence(cl_mem_fence_flags flags);
  12568. /**
  12569. * Write memory barrier that orders only
  12570. * stores.
  12571. * The flags argument specifies the memory
  12572. * address space and can be set to to a
  12573. * combination of the following literal
  12574. * values:
  12575. * CLK_LOCAL_MEM_FENCE
  12576. * CLK_GLOBAL_MEM_FENCE.
  12577. */
  12578. void __ovld write_mem_fence(cl_mem_fence_flags flags);
  12579. // OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions
  12580. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12581. cl_mem_fence_flags __ovld get_fence(const void *ptr);
  12582. cl_mem_fence_flags __ovld get_fence(void *ptr);
  12583. /**
  12584. * Builtin functions to_global, to_local, and to_private need to be declared as Clang builtin functions
  12585. * and checked in Sema since they should be declared as
  12586. * addr gentype* to_addr (gentype*);
  12587. * where gentype is builtin type or user defined type.
  12588. */
  12589. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  12590. // OpenCL v1.1 s6.11.10, v1.2 s6.12.10, v2.0 s6.13.10 - Async Copies from Global to Local Memory, Local to Global Memory, and Prefetch
  12591. /**
  12592. * event_t async_work_group_copy (
  12593. * __global gentype *dst,
  12594. * const __local gentype *src,
  12595. * size_t num_elements,
  12596. * event_t event)
  12597. * Perform an async copy of num_elements
  12598. * gentype elements from src to dst. The async
  12599. * copy is performed by all work-items in a workgroup
  12600. * and this built-in function must therefore
  12601. * be encountered by all work-items in a workgroup
  12602. * executing the kernel with the same
  12603. * argument values; otherwise the results are
  12604. * undefined.
  12605. * Returns an event object that can be used by
  12606. * wait_group_events to wait for the async copy
  12607. * to finish. The event argument can also be used
  12608. * to associate the async_work_group_copy with
  12609. * a previous async copy allowing an event to be
  12610. * shared by multiple async copies; otherwise event
  12611. * should be zero.
  12612. * If event argument is non-zero, the event object
  12613. * supplied in event argument will be returned.
  12614. * This function does not perform any implicit
  12615. * synchronization of source data such as using a
  12616. * barrier before performing the copy.
  12617. */
  12618. event_t __ovld async_work_group_copy(__local char *dst, const __global char *src, size_t num_elements, event_t event);
  12619. event_t __ovld async_work_group_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, event_t event);
  12620. event_t __ovld async_work_group_copy(__local short *dst, const __global short *src, size_t num_elements, event_t event);
  12621. event_t __ovld async_work_group_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, event_t event);
  12622. event_t __ovld async_work_group_copy(__local int *dst, const __global int *src, size_t num_elements, event_t event);
  12623. event_t __ovld async_work_group_copy(__local uint *dst, const __global uint *src, size_t num_elements, event_t event);
  12624. event_t __ovld async_work_group_copy(__local long *dst, const __global long *src, size_t num_elements, event_t event);
  12625. event_t __ovld async_work_group_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, event_t event);
  12626. event_t __ovld async_work_group_copy(__local float *dst, const __global float *src, size_t num_elements, event_t event);
  12627. event_t __ovld async_work_group_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, event_t event);
  12628. event_t __ovld async_work_group_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, event_t event);
  12629. event_t __ovld async_work_group_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, event_t event);
  12630. event_t __ovld async_work_group_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, event_t event);
  12631. event_t __ovld async_work_group_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, event_t event);
  12632. event_t __ovld async_work_group_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, event_t event);
  12633. event_t __ovld async_work_group_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, event_t event);
  12634. event_t __ovld async_work_group_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, event_t event);
  12635. event_t __ovld async_work_group_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, event_t event);
  12636. event_t __ovld async_work_group_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, event_t event);
  12637. event_t __ovld async_work_group_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, event_t event);
  12638. event_t __ovld async_work_group_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, event_t event);
  12639. event_t __ovld async_work_group_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, event_t event);
  12640. event_t __ovld async_work_group_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, event_t event);
  12641. event_t __ovld async_work_group_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, event_t event);
  12642. event_t __ovld async_work_group_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, event_t event);
  12643. event_t __ovld async_work_group_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, event_t event);
  12644. event_t __ovld async_work_group_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, event_t event);
  12645. event_t __ovld async_work_group_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, event_t event);
  12646. event_t __ovld async_work_group_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, event_t event);
  12647. event_t __ovld async_work_group_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, event_t event);
  12648. event_t __ovld async_work_group_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, event_t event);
  12649. event_t __ovld async_work_group_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, event_t event);
  12650. event_t __ovld async_work_group_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, event_t event);
  12651. event_t __ovld async_work_group_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, event_t event);
  12652. event_t __ovld async_work_group_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, event_t event);
  12653. event_t __ovld async_work_group_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, event_t event);
  12654. event_t __ovld async_work_group_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, event_t event);
  12655. event_t __ovld async_work_group_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, event_t event);
  12656. event_t __ovld async_work_group_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, event_t event);
  12657. event_t __ovld async_work_group_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, event_t event);
  12658. event_t __ovld async_work_group_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, event_t event);
  12659. event_t __ovld async_work_group_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, event_t event);
  12660. event_t __ovld async_work_group_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, event_t event);
  12661. event_t __ovld async_work_group_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, event_t event);
  12662. event_t __ovld async_work_group_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, event_t event);
  12663. event_t __ovld async_work_group_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, event_t event);
  12664. event_t __ovld async_work_group_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, event_t event);
  12665. event_t __ovld async_work_group_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, event_t event);
  12666. event_t __ovld async_work_group_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, event_t event);
  12667. event_t __ovld async_work_group_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, event_t event);
  12668. event_t __ovld async_work_group_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, event_t event);
  12669. event_t __ovld async_work_group_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, event_t event);
  12670. event_t __ovld async_work_group_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, event_t event);
  12671. event_t __ovld async_work_group_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, event_t event);
  12672. event_t __ovld async_work_group_copy(__global char *dst, const __local char *src, size_t num_elements, event_t event);
  12673. event_t __ovld async_work_group_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, event_t event);
  12674. event_t __ovld async_work_group_copy(__global short *dst, const __local short *src, size_t num_elements, event_t event);
  12675. event_t __ovld async_work_group_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, event_t event);
  12676. event_t __ovld async_work_group_copy(__global int *dst, const __local int *src, size_t num_elements, event_t event);
  12677. event_t __ovld async_work_group_copy(__global uint *dst, const __local uint *src, size_t num_elements, event_t event);
  12678. event_t __ovld async_work_group_copy(__global long *dst, const __local long *src, size_t num_elements, event_t event);
  12679. event_t __ovld async_work_group_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, event_t event);
  12680. event_t __ovld async_work_group_copy(__global float *dst, const __local float *src, size_t num_elements, event_t event);
  12681. event_t __ovld async_work_group_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, event_t event);
  12682. event_t __ovld async_work_group_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, event_t event);
  12683. event_t __ovld async_work_group_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, event_t event);
  12684. event_t __ovld async_work_group_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, event_t event);
  12685. event_t __ovld async_work_group_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, event_t event);
  12686. event_t __ovld async_work_group_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, event_t event);
  12687. event_t __ovld async_work_group_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, event_t event);
  12688. event_t __ovld async_work_group_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, event_t event);
  12689. event_t __ovld async_work_group_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, event_t event);
  12690. event_t __ovld async_work_group_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, event_t event);
  12691. event_t __ovld async_work_group_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, event_t event);
  12692. event_t __ovld async_work_group_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, event_t event);
  12693. event_t __ovld async_work_group_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, event_t event);
  12694. event_t __ovld async_work_group_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, event_t event);
  12695. event_t __ovld async_work_group_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, event_t event);
  12696. event_t __ovld async_work_group_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, event_t event);
  12697. event_t __ovld async_work_group_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, event_t event);
  12698. event_t __ovld async_work_group_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, event_t event);
  12699. event_t __ovld async_work_group_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, event_t event);
  12700. event_t __ovld async_work_group_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, event_t event);
  12701. event_t __ovld async_work_group_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, event_t event);
  12702. event_t __ovld async_work_group_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, event_t event);
  12703. event_t __ovld async_work_group_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, event_t event);
  12704. event_t __ovld async_work_group_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, event_t event);
  12705. event_t __ovld async_work_group_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, event_t event);
  12706. event_t __ovld async_work_group_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, event_t event);
  12707. event_t __ovld async_work_group_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, event_t event);
  12708. event_t __ovld async_work_group_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, event_t event);
  12709. event_t __ovld async_work_group_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, event_t event);
  12710. event_t __ovld async_work_group_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, event_t event);
  12711. event_t __ovld async_work_group_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, event_t event);
  12712. event_t __ovld async_work_group_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, event_t event);
  12713. event_t __ovld async_work_group_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, event_t event);
  12714. event_t __ovld async_work_group_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, event_t event);
  12715. event_t __ovld async_work_group_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, event_t event);
  12716. event_t __ovld async_work_group_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, event_t event);
  12717. event_t __ovld async_work_group_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, event_t event);
  12718. event_t __ovld async_work_group_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, event_t event);
  12719. event_t __ovld async_work_group_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, event_t event);
  12720. event_t __ovld async_work_group_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, event_t event);
  12721. event_t __ovld async_work_group_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, event_t event);
  12722. event_t __ovld async_work_group_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, event_t event);
  12723. event_t __ovld async_work_group_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, event_t event);
  12724. event_t __ovld async_work_group_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, event_t event);
  12725. event_t __ovld async_work_group_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, event_t event);
  12726. #ifdef cl_khr_fp64
  12727. event_t __ovld async_work_group_copy(__local double *dst, const __global double *src, size_t num_elements, event_t event);
  12728. event_t __ovld async_work_group_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, event_t event);
  12729. event_t __ovld async_work_group_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, event_t event);
  12730. event_t __ovld async_work_group_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, event_t event);
  12731. event_t __ovld async_work_group_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, event_t event);
  12732. event_t __ovld async_work_group_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, event_t event);
  12733. event_t __ovld async_work_group_copy(__global double *dst, const __local double *src, size_t num_elements, event_t event);
  12734. event_t __ovld async_work_group_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, event_t event);
  12735. event_t __ovld async_work_group_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, event_t event);
  12736. event_t __ovld async_work_group_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, event_t event);
  12737. event_t __ovld async_work_group_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, event_t event);
  12738. event_t __ovld async_work_group_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, event_t event);
  12739. #endif //cl_khr_fp64
  12740. #ifdef cl_khr_fp16
  12741. event_t __ovld async_work_group_copy(__local half *dst, const __global half *src, size_t num_elements, event_t event);
  12742. event_t __ovld async_work_group_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, event_t event);
  12743. event_t __ovld async_work_group_copy(__local half3 *dst, const __global half3 *src, size_t num_elements, event_t event);
  12744. event_t __ovld async_work_group_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, event_t event);
  12745. event_t __ovld async_work_group_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, event_t event);
  12746. event_t __ovld async_work_group_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, event_t event);
  12747. event_t __ovld async_work_group_copy(__global half *dst, const __local half *src, size_t num_elements, event_t event);
  12748. event_t __ovld async_work_group_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, event_t event);
  12749. event_t __ovld async_work_group_copy(__global half3 *dst, const __local half3 *src, size_t num_elements, event_t event);
  12750. event_t __ovld async_work_group_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, event_t event);
  12751. event_t __ovld async_work_group_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, event_t event);
  12752. event_t __ovld async_work_group_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, event_t event);
  12753. #endif //cl_khr_fp16
  12754. /**
  12755. * Perform an async gather of num_elements
  12756. * gentype elements from src to dst. The
  12757. * src_stride is the stride in elements for each
  12758. * gentype element read from src. The dst_stride
  12759. * is the stride in elements for each gentype
  12760. * element written to dst. The async gather is
  12761. * performed by all work-items in a work-group.
  12762. * This built-in function must therefore be
  12763. * encountered by all work-items in a work-group
  12764. * executing the kernel with the same argument
  12765. * values; otherwise the results are undefined.
  12766. * Returns an event object that can be used by
  12767. * wait_group_events to wait for the async copy
  12768. * to finish. The event argument can also be used
  12769. * to associate the
  12770. * async_work_group_strided_copy with a
  12771. * previous async copy allowing an event to be
  12772. * shared by multiple async copies; otherwise event
  12773. * should be zero.
  12774. * If event argument is non-zero, the event object
  12775. * supplied in event argument will be returned.
  12776. * This function does not perform any implicit
  12777. * synchronization of source data such as using a
  12778. * barrier before performing the copy.
  12779. */
  12780. event_t __ovld async_work_group_strided_copy(__local char *dst, const __global char *src, size_t num_elements, size_t src_stride, event_t event);
  12781. event_t __ovld async_work_group_strided_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, size_t src_stride, event_t event);
  12782. event_t __ovld async_work_group_strided_copy(__local short *dst, const __global short *src, size_t num_elements, size_t src_stride, event_t event);
  12783. event_t __ovld async_work_group_strided_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, size_t src_stride, event_t event);
  12784. event_t __ovld async_work_group_strided_copy(__local int *dst, const __global int *src, size_t num_elements, size_t src_stride, event_t event);
  12785. event_t __ovld async_work_group_strided_copy(__local uint *dst, const __global uint *src, size_t num_elements, size_t src_stride, event_t event);
  12786. event_t __ovld async_work_group_strided_copy(__local long *dst, const __global long *src, size_t num_elements, size_t src_stride, event_t event);
  12787. event_t __ovld async_work_group_strided_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, size_t src_stride, event_t event);
  12788. event_t __ovld async_work_group_strided_copy(__local float *dst, const __global float *src, size_t num_elements, size_t src_stride, event_t event);
  12789. event_t __ovld async_work_group_strided_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, size_t src_stride, event_t event);
  12790. event_t __ovld async_work_group_strided_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, size_t src_stride, event_t event);
  12791. event_t __ovld async_work_group_strided_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, size_t src_stride, event_t event);
  12792. event_t __ovld async_work_group_strided_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, size_t src_stride, event_t event);
  12793. event_t __ovld async_work_group_strided_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, size_t src_stride, event_t event);
  12794. event_t __ovld async_work_group_strided_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, size_t src_stride, event_t event);
  12795. event_t __ovld async_work_group_strided_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, size_t src_stride, event_t event);
  12796. event_t __ovld async_work_group_strided_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, size_t src_stride, event_t event);
  12797. event_t __ovld async_work_group_strided_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, size_t src_stride, event_t event);
  12798. event_t __ovld async_work_group_strided_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, size_t src_stride, event_t event);
  12799. event_t __ovld async_work_group_strided_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, size_t src_stride, event_t event);
  12800. event_t __ovld async_work_group_strided_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, size_t src_stride, event_t event);
  12801. event_t __ovld async_work_group_strided_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, size_t src_stride, event_t event);
  12802. event_t __ovld async_work_group_strided_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, size_t src_stride, event_t event);
  12803. event_t __ovld async_work_group_strided_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, size_t src_stride, event_t event);
  12804. event_t __ovld async_work_group_strided_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, size_t src_stride, event_t event);
  12805. event_t __ovld async_work_group_strided_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, size_t src_stride, event_t event);
  12806. event_t __ovld async_work_group_strided_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, size_t src_stride, event_t event);
  12807. event_t __ovld async_work_group_strided_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, size_t src_stride, event_t event);
  12808. event_t __ovld async_work_group_strided_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, size_t src_stride, event_t event);
  12809. event_t __ovld async_work_group_strided_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, size_t src_stride, event_t event);
  12810. event_t __ovld async_work_group_strided_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, size_t src_stride, event_t event);
  12811. event_t __ovld async_work_group_strided_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, size_t src_stride, event_t event);
  12812. event_t __ovld async_work_group_strided_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, size_t src_stride, event_t event);
  12813. event_t __ovld async_work_group_strided_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, size_t src_stride, event_t event);
  12814. event_t __ovld async_work_group_strided_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, size_t src_stride, event_t event);
  12815. event_t __ovld async_work_group_strided_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, size_t src_stride, event_t event);
  12816. event_t __ovld async_work_group_strided_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, size_t src_stride, event_t event);
  12817. event_t __ovld async_work_group_strided_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, size_t src_stride, event_t event);
  12818. event_t __ovld async_work_group_strided_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, size_t src_stride, event_t event);
  12819. event_t __ovld async_work_group_strided_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, size_t src_stride, event_t event);
  12820. event_t __ovld async_work_group_strided_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, size_t src_stride, event_t event);
  12821. event_t __ovld async_work_group_strided_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, size_t src_stride, event_t event);
  12822. event_t __ovld async_work_group_strided_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, size_t src_stride, event_t event);
  12823. event_t __ovld async_work_group_strided_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, size_t src_stride, event_t event);
  12824. event_t __ovld async_work_group_strided_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, size_t src_stride, event_t event);
  12825. event_t __ovld async_work_group_strided_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, size_t src_stride, event_t event);
  12826. event_t __ovld async_work_group_strided_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, size_t src_stride, event_t event);
  12827. event_t __ovld async_work_group_strided_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, size_t src_stride, event_t event);
  12828. event_t __ovld async_work_group_strided_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, size_t src_stride, event_t event);
  12829. event_t __ovld async_work_group_strided_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, size_t src_stride, event_t event);
  12830. event_t __ovld async_work_group_strided_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, size_t src_stride, event_t event);
  12831. event_t __ovld async_work_group_strided_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, size_t src_stride, event_t event);
  12832. event_t __ovld async_work_group_strided_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, size_t src_stride, event_t event);
  12833. event_t __ovld async_work_group_strided_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, size_t src_stride, event_t event);
  12834. event_t __ovld async_work_group_strided_copy(__global char *dst, const __local char *src, size_t num_elements, size_t dst_stride, event_t event);
  12835. event_t __ovld async_work_group_strided_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, size_t dst_stride, event_t event);
  12836. event_t __ovld async_work_group_strided_copy(__global short *dst, const __local short *src, size_t num_elements, size_t dst_stride, event_t event);
  12837. event_t __ovld async_work_group_strided_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, size_t dst_stride, event_t event);
  12838. event_t __ovld async_work_group_strided_copy(__global int *dst, const __local int *src, size_t num_elements, size_t dst_stride, event_t event);
  12839. event_t __ovld async_work_group_strided_copy(__global uint *dst, const __local uint *src, size_t num_elements, size_t dst_stride, event_t event);
  12840. event_t __ovld async_work_group_strided_copy(__global long *dst, const __local long *src, size_t num_elements, size_t dst_stride, event_t event);
  12841. event_t __ovld async_work_group_strided_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, size_t dst_stride, event_t event);
  12842. event_t __ovld async_work_group_strided_copy(__global float *dst, const __local float *src, size_t num_elements, size_t dst_stride, event_t event);
  12843. event_t __ovld async_work_group_strided_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12844. event_t __ovld async_work_group_strided_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12845. event_t __ovld async_work_group_strided_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12846. event_t __ovld async_work_group_strided_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12847. event_t __ovld async_work_group_strided_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12848. event_t __ovld async_work_group_strided_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12849. event_t __ovld async_work_group_strided_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12850. event_t __ovld async_work_group_strided_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12851. event_t __ovld async_work_group_strided_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12852. event_t __ovld async_work_group_strided_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12853. event_t __ovld async_work_group_strided_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12854. event_t __ovld async_work_group_strided_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12855. event_t __ovld async_work_group_strided_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12856. event_t __ovld async_work_group_strided_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12857. event_t __ovld async_work_group_strided_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12858. event_t __ovld async_work_group_strided_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12859. event_t __ovld async_work_group_strided_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12860. event_t __ovld async_work_group_strided_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12861. event_t __ovld async_work_group_strided_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12862. event_t __ovld async_work_group_strided_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12863. event_t __ovld async_work_group_strided_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12864. event_t __ovld async_work_group_strided_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12865. event_t __ovld async_work_group_strided_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12866. event_t __ovld async_work_group_strided_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12867. event_t __ovld async_work_group_strided_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12868. event_t __ovld async_work_group_strided_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12869. event_t __ovld async_work_group_strided_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12870. event_t __ovld async_work_group_strided_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12871. event_t __ovld async_work_group_strided_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12872. event_t __ovld async_work_group_strided_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12873. event_t __ovld async_work_group_strided_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12874. event_t __ovld async_work_group_strided_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12875. event_t __ovld async_work_group_strided_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12876. event_t __ovld async_work_group_strided_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12877. event_t __ovld async_work_group_strided_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12878. event_t __ovld async_work_group_strided_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12879. event_t __ovld async_work_group_strided_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12880. event_t __ovld async_work_group_strided_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12881. event_t __ovld async_work_group_strided_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12882. event_t __ovld async_work_group_strided_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12883. event_t __ovld async_work_group_strided_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12884. event_t __ovld async_work_group_strided_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12885. event_t __ovld async_work_group_strided_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12886. event_t __ovld async_work_group_strided_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12887. event_t __ovld async_work_group_strided_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12888. #ifdef cl_khr_fp64
  12889. event_t __ovld async_work_group_strided_copy(__local double *dst, const __global double *src, size_t num_elements, size_t src_stride, event_t event);
  12890. event_t __ovld async_work_group_strided_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, size_t src_stride, event_t event);
  12891. event_t __ovld async_work_group_strided_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, size_t src_stride, event_t event);
  12892. event_t __ovld async_work_group_strided_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, size_t src_stride, event_t event);
  12893. event_t __ovld async_work_group_strided_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, size_t src_stride, event_t event);
  12894. event_t __ovld async_work_group_strided_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, size_t src_stride, event_t event);
  12895. event_t __ovld async_work_group_strided_copy(__global double *dst, const __local double *src, size_t num_elements, size_t dst_stride, event_t event);
  12896. event_t __ovld async_work_group_strided_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12897. event_t __ovld async_work_group_strided_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12898. event_t __ovld async_work_group_strided_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12899. event_t __ovld async_work_group_strided_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12900. event_t __ovld async_work_group_strided_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12901. #endif //cl_khr_fp64
  12902. #ifdef cl_khr_fp16
  12903. event_t __ovld async_work_group_strided_copy(__local half *dst, const __global half *src, size_t num_elements, size_t src_stride, event_t event);
  12904. event_t __ovld async_work_group_strided_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, size_t src_stride, event_t event);
  12905. event_t __ovld async_work_group_strided_copy(__local half3 *dst, const __global half3 *src, size_t num_elements, size_t src_stride, event_t event);
  12906. event_t __ovld async_work_group_strided_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, size_t src_stride, event_t event);
  12907. event_t __ovld async_work_group_strided_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, size_t src_stride, event_t event);
  12908. event_t __ovld async_work_group_strided_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, size_t src_stride, event_t event);
  12909. event_t __ovld async_work_group_strided_copy(__global half *dst, const __local half *src, size_t num_elements, size_t dst_stride, event_t event);
  12910. event_t __ovld async_work_group_strided_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, size_t dst_stride, event_t event);
  12911. event_t __ovld async_work_group_strided_copy(__global half3 *dst, const __local half3 *src, size_t num_elements, size_t dst_stride, event_t event);
  12912. event_t __ovld async_work_group_strided_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, size_t dst_stride, event_t event);
  12913. event_t __ovld async_work_group_strided_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, size_t dst_stride, event_t event);
  12914. event_t __ovld async_work_group_strided_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, size_t dst_stride, event_t event);
  12915. #endif //cl_khr_fp16
  12916. /**
  12917. * Wait for events that identify the
  12918. * async_work_group_copy operations to
  12919. * complete. The event objects specified in
  12920. * event_list will be released after the wait is
  12921. * performed.
  12922. * This function must be encountered by all workitems
  12923. * in a work-group executing the kernel with
  12924. * the same num_events and event objects specified
  12925. * in event_list; otherwise the results are undefined.
  12926. */
  12927. void __ovld wait_group_events(int num_events, event_t *event_list);
  12928. /**
  12929. * Prefetch num_elements * sizeof(gentype)
  12930. * bytes into the global cache. The prefetch
  12931. * instruction is applied to a work-item in a workgroup
  12932. * and does not affect the functional
  12933. * behavior of the kernel.
  12934. */
  12935. void __ovld prefetch(const __global char *p, size_t num_elements);
  12936. void __ovld prefetch(const __global uchar *p, size_t num_elements);
  12937. void __ovld prefetch(const __global short *p, size_t num_elements);
  12938. void __ovld prefetch(const __global ushort *p, size_t num_elements);
  12939. void __ovld prefetch(const __global int *p, size_t num_elements);
  12940. void __ovld prefetch(const __global uint *p, size_t num_elements);
  12941. void __ovld prefetch(const __global long *p, size_t num_elements);
  12942. void __ovld prefetch(const __global ulong *p, size_t num_elements);
  12943. void __ovld prefetch(const __global float *p, size_t num_elements);
  12944. void __ovld prefetch(const __global char2 *p, size_t num_elements);
  12945. void __ovld prefetch(const __global uchar2 *p, size_t num_elements);
  12946. void __ovld prefetch(const __global short2 *p, size_t num_elements);
  12947. void __ovld prefetch(const __global ushort2 *p, size_t num_elements);
  12948. void __ovld prefetch(const __global int2 *p, size_t num_elements);
  12949. void __ovld prefetch(const __global uint2 *p, size_t num_elements);
  12950. void __ovld prefetch(const __global long2 *p, size_t num_elements);
  12951. void __ovld prefetch(const __global ulong2 *p, size_t num_elements);
  12952. void __ovld prefetch(const __global float2 *p, size_t num_elements);
  12953. void __ovld prefetch(const __global char3 *p, size_t num_elements);
  12954. void __ovld prefetch(const __global uchar3 *p, size_t num_elements);
  12955. void __ovld prefetch(const __global short3 *p, size_t num_elements);
  12956. void __ovld prefetch(const __global ushort3 *p, size_t num_elements);
  12957. void __ovld prefetch(const __global int3 *p, size_t num_elements);
  12958. void __ovld prefetch(const __global uint3 *p, size_t num_elements);
  12959. void __ovld prefetch(const __global long3 *p, size_t num_elements);
  12960. void __ovld prefetch(const __global ulong3 *p, size_t num_elements);
  12961. void __ovld prefetch(const __global float3 *p, size_t num_elements);
  12962. void __ovld prefetch(const __global char4 *p, size_t num_elements);
  12963. void __ovld prefetch(const __global uchar4 *p, size_t num_elements);
  12964. void __ovld prefetch(const __global short4 *p, size_t num_elements);
  12965. void __ovld prefetch(const __global ushort4 *p, size_t num_elements);
  12966. void __ovld prefetch(const __global int4 *p, size_t num_elements);
  12967. void __ovld prefetch(const __global uint4 *p, size_t num_elements);
  12968. void __ovld prefetch(const __global long4 *p, size_t num_elements);
  12969. void __ovld prefetch(const __global ulong4 *p, size_t num_elements);
  12970. void __ovld prefetch(const __global float4 *p, size_t num_elements);
  12971. void __ovld prefetch(const __global char8 *p, size_t num_elements);
  12972. void __ovld prefetch(const __global uchar8 *p, size_t num_elements);
  12973. void __ovld prefetch(const __global short8 *p, size_t num_elements);
  12974. void __ovld prefetch(const __global ushort8 *p, size_t num_elements);
  12975. void __ovld prefetch(const __global int8 *p, size_t num_elements);
  12976. void __ovld prefetch(const __global uint8 *p, size_t num_elements);
  12977. void __ovld prefetch(const __global long8 *p, size_t num_elements);
  12978. void __ovld prefetch(const __global ulong8 *p, size_t num_elements);
  12979. void __ovld prefetch(const __global float8 *p, size_t num_elements);
  12980. void __ovld prefetch(const __global char16 *p, size_t num_elements);
  12981. void __ovld prefetch(const __global uchar16 *p, size_t num_elements);
  12982. void __ovld prefetch(const __global short16 *p, size_t num_elements);
  12983. void __ovld prefetch(const __global ushort16 *p, size_t num_elements);
  12984. void __ovld prefetch(const __global int16 *p, size_t num_elements);
  12985. void __ovld prefetch(const __global uint16 *p, size_t num_elements);
  12986. void __ovld prefetch(const __global long16 *p, size_t num_elements);
  12987. void __ovld prefetch(const __global ulong16 *p, size_t num_elements);
  12988. void __ovld prefetch(const __global float16 *p, size_t num_elements);
  12989. #ifdef cl_khr_fp64
  12990. void __ovld prefetch(const __global double *p, size_t num_elements);
  12991. void __ovld prefetch(const __global double2 *p, size_t num_elements);
  12992. void __ovld prefetch(const __global double3 *p, size_t num_elements);
  12993. void __ovld prefetch(const __global double4 *p, size_t num_elements);
  12994. void __ovld prefetch(const __global double8 *p, size_t num_elements);
  12995. void __ovld prefetch(const __global double16 *p, size_t num_elements);
  12996. #endif //cl_khr_fp64
  12997. #ifdef cl_khr_fp16
  12998. void __ovld prefetch(const __global half *p, size_t num_elements);
  12999. void __ovld prefetch(const __global half2 *p, size_t num_elements);
  13000. void __ovld prefetch(const __global half3 *p, size_t num_elements);
  13001. void __ovld prefetch(const __global half4 *p, size_t num_elements);
  13002. void __ovld prefetch(const __global half8 *p, size_t num_elements);
  13003. void __ovld prefetch(const __global half16 *p, size_t num_elements);
  13004. #endif // cl_khr_fp16
  13005. // OpenCL v1.1 s6.11.1, v1.2 s6.12.11 - Atomic Functions
  13006. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13007. #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable
  13008. #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : enable
  13009. #endif
  13010. /**
  13011. * Read the 32-bit value (referred to as old)
  13012. * stored at location pointed by p. Compute
  13013. * (old + val) and store result at location
  13014. * pointed by p. The function returns old.
  13015. */
  13016. int __ovld atomic_add(volatile __global int *p, int val);
  13017. unsigned int __ovld atomic_add(volatile __global unsigned int *p, unsigned int val);
  13018. int __ovld atomic_add(volatile __local int *p, int val);
  13019. unsigned int __ovld atomic_add(volatile __local unsigned int *p, unsigned int val);
  13020. #if defined(cl_khr_global_int32_base_atomics)
  13021. int __ovld atom_add(volatile __global int *p, int val);
  13022. unsigned int __ovld atom_add(volatile __global unsigned int *p, unsigned int val);
  13023. #endif
  13024. #if defined(cl_khr_local_int32_base_atomics)
  13025. int __ovld atom_add(volatile __local int *p, int val);
  13026. unsigned int __ovld atom_add(volatile __local unsigned int *p, unsigned int val);
  13027. #endif
  13028. #if defined(cl_khr_int64_base_atomics)
  13029. long __ovld atom_add(volatile __global long *p, long val);
  13030. unsigned long __ovld atom_add(volatile __global unsigned long *p, unsigned long val);
  13031. long __ovld atom_add(volatile __local long *p, long val);
  13032. unsigned long __ovld atom_add(volatile __local unsigned long *p, unsigned long val);
  13033. #endif
  13034. /**
  13035. * Read the 32-bit value (referred to as old) stored at location pointed by p.
  13036. * Compute (old - val) and store result at location pointed by p. The function
  13037. * returns old.
  13038. */
  13039. int __ovld atomic_sub(volatile __global int *p, int val);
  13040. unsigned int __ovld atomic_sub(volatile __global unsigned int *p, unsigned int val);
  13041. int __ovld atomic_sub(volatile __local int *p, int val);
  13042. unsigned int __ovld atomic_sub(volatile __local unsigned int *p, unsigned int val);
  13043. #if defined(cl_khr_global_int32_base_atomics)
  13044. int __ovld atom_sub(volatile __global int *p, int val);
  13045. unsigned int __ovld atom_sub(volatile __global unsigned int *p, unsigned int val);
  13046. #endif
  13047. #if defined(cl_khr_local_int32_base_atomics)
  13048. int __ovld atom_sub(volatile __local int *p, int val);
  13049. unsigned int __ovld atom_sub(volatile __local unsigned int *p, unsigned int val);
  13050. #endif
  13051. #if defined(cl_khr_int64_base_atomics)
  13052. long __ovld atom_sub(volatile __global long *p, long val);
  13053. unsigned long __ovld atom_sub(volatile __global unsigned long *p, unsigned long val);
  13054. long __ovld atom_sub(volatile __local long *p, long val);
  13055. unsigned long __ovld atom_sub(volatile __local unsigned long *p, unsigned long val);
  13056. #endif
  13057. /**
  13058. * Swaps the old value stored at location p
  13059. * with new value given by val. Returns old
  13060. * value.
  13061. */
  13062. int __ovld atomic_xchg(volatile __global int *p, int val);
  13063. unsigned int __ovld atomic_xchg(volatile __global unsigned int *p, unsigned int val);
  13064. int __ovld atomic_xchg(volatile __local int *p, int val);
  13065. unsigned int __ovld atomic_xchg(volatile __local unsigned int *p, unsigned int val);
  13066. float __ovld atomic_xchg(volatile __global float *p, float val);
  13067. float __ovld atomic_xchg(volatile __local float *p, float val);
  13068. #if defined(cl_khr_global_int32_base_atomics)
  13069. int __ovld atom_xchg(volatile __global int *p, int val);
  13070. unsigned int __ovld atom_xchg(volatile __global unsigned int *p, unsigned int val);
  13071. #endif
  13072. #if defined(cl_khr_local_int32_base_atomics)
  13073. int __ovld atom_xchg(volatile __local int *p, int val);
  13074. unsigned int __ovld atom_xchg(volatile __local unsigned int *p, unsigned int val);
  13075. #endif
  13076. #if defined(cl_khr_int64_base_atomics)
  13077. long __ovld atom_xchg(volatile __global long *p, long val);
  13078. long __ovld atom_xchg(volatile __local long *p, long val);
  13079. unsigned long __ovld atom_xchg(volatile __global unsigned long *p, unsigned long val);
  13080. unsigned long __ovld atom_xchg(volatile __local unsigned long *p, unsigned long val);
  13081. #endif
  13082. /**
  13083. * Read the 32-bit value (referred to as old)
  13084. * stored at location pointed by p. Compute
  13085. * (old + 1) and store result at location
  13086. * pointed by p. The function returns old.
  13087. */
  13088. int __ovld atomic_inc(volatile __global int *p);
  13089. unsigned int __ovld atomic_inc(volatile __global unsigned int *p);
  13090. int __ovld atomic_inc(volatile __local int *p);
  13091. unsigned int __ovld atomic_inc(volatile __local unsigned int *p);
  13092. #if defined(cl_khr_global_int32_base_atomics)
  13093. int __ovld atom_inc(volatile __global int *p);
  13094. unsigned int __ovld atom_inc(volatile __global unsigned int *p);
  13095. #endif
  13096. #if defined(cl_khr_local_int32_base_atomics)
  13097. int __ovld atom_inc(volatile __local int *p);
  13098. unsigned int __ovld atom_inc(volatile __local unsigned int *p);
  13099. #endif
  13100. #if defined(cl_khr_int64_base_atomics)
  13101. long __ovld atom_inc(volatile __global long *p);
  13102. unsigned long __ovld atom_inc(volatile __global unsigned long *p);
  13103. long __ovld atom_inc(volatile __local long *p);
  13104. unsigned long __ovld atom_inc(volatile __local unsigned long *p);
  13105. #endif
  13106. /**
  13107. * Read the 32-bit value (referred to as old)
  13108. * stored at location pointed by p. Compute
  13109. * (old - 1) and store result at location
  13110. * pointed by p. The function returns old.
  13111. */
  13112. int __ovld atomic_dec(volatile __global int *p);
  13113. unsigned int __ovld atomic_dec(volatile __global unsigned int *p);
  13114. int __ovld atomic_dec(volatile __local int *p);
  13115. unsigned int __ovld atomic_dec(volatile __local unsigned int *p);
  13116. #if defined(cl_khr_global_int32_base_atomics)
  13117. int __ovld atom_dec(volatile __global int *p);
  13118. unsigned int __ovld atom_dec(volatile __global unsigned int *p);
  13119. #endif
  13120. #if defined(cl_khr_local_int32_base_atomics)
  13121. int __ovld atom_dec(volatile __local int *p);
  13122. unsigned int __ovld atom_dec(volatile __local unsigned int *p);
  13123. #endif
  13124. #if defined(cl_khr_int64_base_atomics)
  13125. long __ovld atom_dec(volatile __global long *p);
  13126. unsigned long __ovld atom_dec(volatile __global unsigned long *p);
  13127. long __ovld atom_dec(volatile __local long *p);
  13128. unsigned long __ovld atom_dec(volatile __local unsigned long *p);
  13129. #endif
  13130. /**
  13131. * Read the 32-bit value (referred to as old)
  13132. * stored at location pointed by p. Compute
  13133. * (old == cmp) ? val : old and store result at
  13134. * location pointed by p. The function
  13135. * returns old.
  13136. */
  13137. int __ovld atomic_cmpxchg(volatile __global int *p, int cmp, int val);
  13138. unsigned int __ovld atomic_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val);
  13139. int __ovld atomic_cmpxchg(volatile __local int *p, int cmp, int val);
  13140. unsigned int __ovld atomic_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val);
  13141. #if defined(cl_khr_global_int32_base_atomics)
  13142. int __ovld atom_cmpxchg(volatile __global int *p, int cmp, int val);
  13143. unsigned int __ovld atom_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val);
  13144. #endif
  13145. #if defined(cl_khr_local_int32_base_atomics)
  13146. int __ovld atom_cmpxchg(volatile __local int *p, int cmp, int val);
  13147. unsigned int __ovld atom_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val);
  13148. #endif
  13149. #if defined(cl_khr_int64_base_atomics)
  13150. long __ovld atom_cmpxchg(volatile __global long *p, long cmp, long val);
  13151. unsigned long __ovld atom_cmpxchg(volatile __global unsigned long *p, unsigned long cmp, unsigned long val);
  13152. long __ovld atom_cmpxchg(volatile __local long *p, long cmp, long val);
  13153. unsigned long __ovld atom_cmpxchg(volatile __local unsigned long *p, unsigned long cmp, unsigned long val);
  13154. #endif
  13155. /**
  13156. * Read the 32-bit value (referred to as old)
  13157. * stored at location pointed by p. Compute
  13158. * min(old, val) and store minimum value at
  13159. * location pointed by p. The function
  13160. * returns old.
  13161. */
  13162. int __ovld atomic_min(volatile __global int *p, int val);
  13163. unsigned int __ovld atomic_min(volatile __global unsigned int *p, unsigned int val);
  13164. int __ovld atomic_min(volatile __local int *p, int val);
  13165. unsigned int __ovld atomic_min(volatile __local unsigned int *p, unsigned int val);
  13166. #if defined(cl_khr_global_int32_extended_atomics)
  13167. int __ovld atom_min(volatile __global int *p, int val);
  13168. unsigned int __ovld atom_min(volatile __global unsigned int *p, unsigned int val);
  13169. #endif
  13170. #if defined(cl_khr_local_int32_extended_atomics)
  13171. int __ovld atom_min(volatile __local int *p, int val);
  13172. unsigned int __ovld atom_min(volatile __local unsigned int *p, unsigned int val);
  13173. #endif
  13174. #if defined(cl_khr_int64_extended_atomics)
  13175. long __ovld atom_min(volatile __global long *p, long val);
  13176. unsigned long __ovld atom_min(volatile __global unsigned long *p, unsigned long val);
  13177. long __ovld atom_min(volatile __local long *p, long val);
  13178. unsigned long __ovld atom_min(volatile __local unsigned long *p, unsigned long val);
  13179. #endif
  13180. /**
  13181. * Read the 32-bit value (referred to as old)
  13182. * stored at location pointed by p. Compute
  13183. * max(old, val) and store maximum value at
  13184. * location pointed by p. The function
  13185. * returns old.
  13186. */
  13187. int __ovld atomic_max(volatile __global int *p, int val);
  13188. unsigned int __ovld atomic_max(volatile __global unsigned int *p, unsigned int val);
  13189. int __ovld atomic_max(volatile __local int *p, int val);
  13190. unsigned int __ovld atomic_max(volatile __local unsigned int *p, unsigned int val);
  13191. #if defined(cl_khr_global_int32_extended_atomics)
  13192. int __ovld atom_max(volatile __global int *p, int val);
  13193. unsigned int __ovld atom_max(volatile __global unsigned int *p, unsigned int val);
  13194. #endif
  13195. #if defined(cl_khr_local_int32_extended_atomics)
  13196. int __ovld atom_max(volatile __local int *p, int val);
  13197. unsigned int __ovld atom_max(volatile __local unsigned int *p, unsigned int val);
  13198. #endif
  13199. #if defined(cl_khr_int64_extended_atomics)
  13200. long __ovld atom_max(volatile __global long *p, long val);
  13201. unsigned long __ovld atom_max(volatile __global unsigned long *p, unsigned long val);
  13202. long __ovld atom_max(volatile __local long *p, long val);
  13203. unsigned long __ovld atom_max(volatile __local unsigned long *p, unsigned long val);
  13204. #endif
  13205. /**
  13206. * Read the 32-bit value (referred to as old)
  13207. * stored at location pointed by p. Compute
  13208. * (old & val) and store result at location
  13209. * pointed by p. The function returns old.
  13210. */
  13211. int __ovld atomic_and(volatile __global int *p, int val);
  13212. unsigned int __ovld atomic_and(volatile __global unsigned int *p, unsigned int val);
  13213. int __ovld atomic_and(volatile __local int *p, int val);
  13214. unsigned int __ovld atomic_and(volatile __local unsigned int *p, unsigned int val);
  13215. #if defined(cl_khr_global_int32_extended_atomics)
  13216. int __ovld atom_and(volatile __global int *p, int val);
  13217. unsigned int __ovld atom_and(volatile __global unsigned int *p, unsigned int val);
  13218. #endif
  13219. #if defined(cl_khr_local_int32_extended_atomics)
  13220. int __ovld atom_and(volatile __local int *p, int val);
  13221. unsigned int __ovld atom_and(volatile __local unsigned int *p, unsigned int val);
  13222. #endif
  13223. #if defined(cl_khr_int64_extended_atomics)
  13224. long __ovld atom_and(volatile __global long *p, long val);
  13225. unsigned long __ovld atom_and(volatile __global unsigned long *p, unsigned long val);
  13226. long __ovld atom_and(volatile __local long *p, long val);
  13227. unsigned long __ovld atom_and(volatile __local unsigned long *p, unsigned long val);
  13228. #endif
  13229. /**
  13230. * Read the 32-bit value (referred to as old)
  13231. * stored at location pointed by p. Compute
  13232. * (old | val) and store result at location
  13233. * pointed by p. The function returns old.
  13234. */
  13235. int __ovld atomic_or(volatile __global int *p, int val);
  13236. unsigned int __ovld atomic_or(volatile __global unsigned int *p, unsigned int val);
  13237. int __ovld atomic_or(volatile __local int *p, int val);
  13238. unsigned int __ovld atomic_or(volatile __local unsigned int *p, unsigned int val);
  13239. #if defined(cl_khr_global_int32_extended_atomics)
  13240. int __ovld atom_or(volatile __global int *p, int val);
  13241. unsigned int __ovld atom_or(volatile __global unsigned int *p, unsigned int val);
  13242. #endif
  13243. #if defined(cl_khr_local_int32_extended_atomics)
  13244. int __ovld atom_or(volatile __local int *p, int val);
  13245. unsigned int __ovld atom_or(volatile __local unsigned int *p, unsigned int val);
  13246. #endif
  13247. #if defined(cl_khr_int64_extended_atomics)
  13248. long __ovld atom_or(volatile __global long *p, long val);
  13249. unsigned long __ovld atom_or(volatile __global unsigned long *p, unsigned long val);
  13250. long __ovld atom_or(volatile __local long *p, long val);
  13251. unsigned long __ovld atom_or(volatile __local unsigned long *p, unsigned long val);
  13252. #endif
  13253. /**
  13254. * Read the 32-bit value (referred to as old)
  13255. * stored at location pointed by p. Compute
  13256. * (old ^ val) and store result at location
  13257. * pointed by p. The function returns old.
  13258. */
  13259. int __ovld atomic_xor(volatile __global int *p, int val);
  13260. unsigned int __ovld atomic_xor(volatile __global unsigned int *p, unsigned int val);
  13261. int __ovld atomic_xor(volatile __local int *p, int val);
  13262. unsigned int __ovld atomic_xor(volatile __local unsigned int *p, unsigned int val);
  13263. #if defined(cl_khr_global_int32_extended_atomics)
  13264. int __ovld atom_xor(volatile __global int *p, int val);
  13265. unsigned int __ovld atom_xor(volatile __global unsigned int *p, unsigned int val);
  13266. #endif
  13267. #if defined(cl_khr_local_int32_extended_atomics)
  13268. int __ovld atom_xor(volatile __local int *p, int val);
  13269. unsigned int __ovld atom_xor(volatile __local unsigned int *p, unsigned int val);
  13270. #endif
  13271. #if defined(cl_khr_int64_extended_atomics)
  13272. long __ovld atom_xor(volatile __global long *p, long val);
  13273. unsigned long __ovld atom_xor(volatile __global unsigned long *p, unsigned long val);
  13274. long __ovld atom_xor(volatile __local long *p, long val);
  13275. unsigned long __ovld atom_xor(volatile __local unsigned long *p, unsigned long val);
  13276. #endif
  13277. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13278. #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : disable
  13279. #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : disable
  13280. #endif
  13281. // OpenCL v2.0 s6.13.11 - Atomics Functions
  13282. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  13283. #ifndef ATOMIC_VAR_INIT
  13284. #define ATOMIC_VAR_INIT(x) (x)
  13285. #endif //ATOMIC_VAR_INIT
  13286. #define ATOMIC_FLAG_INIT 0
  13287. // enum values aligned with what clang uses in EmitAtomicExpr()
  13288. typedef enum memory_order
  13289. {
  13290. memory_order_relaxed = __ATOMIC_RELAXED,
  13291. memory_order_acquire = __ATOMIC_ACQUIRE,
  13292. memory_order_release = __ATOMIC_RELEASE,
  13293. memory_order_acq_rel = __ATOMIC_ACQ_REL,
  13294. memory_order_seq_cst = __ATOMIC_SEQ_CST
  13295. } memory_order;
  13296. // double atomics support requires extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics
  13297. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13298. #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable
  13299. #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : enable
  13300. #endif
  13301. // atomic_init()
  13302. void __ovld atomic_init(volatile atomic_int *object, int value);
  13303. void __ovld atomic_init(volatile atomic_uint *object, uint value);
  13304. void __ovld atomic_init(volatile atomic_float *object, float value);
  13305. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13306. void __ovld atomic_init(volatile atomic_long *object, long value);
  13307. void __ovld atomic_init(volatile atomic_ulong *object, ulong value);
  13308. #ifdef cl_khr_fp64
  13309. void __ovld atomic_init(volatile atomic_double *object, double value);
  13310. #endif //cl_khr_fp64
  13311. #endif
  13312. // atomic_work_item_fence()
  13313. void __ovld atomic_work_item_fence(cl_mem_fence_flags flags, memory_order order, memory_scope scope);
  13314. // atomic_fetch()
  13315. int __ovld atomic_fetch_add(volatile atomic_int *object, int operand);
  13316. int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order);
  13317. int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13318. uint __ovld atomic_fetch_add(volatile atomic_uint *object, uint operand);
  13319. uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13320. uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13321. int __ovld atomic_fetch_sub(volatile atomic_int *object, int operand);
  13322. int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order);
  13323. int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13324. uint __ovld atomic_fetch_sub(volatile atomic_uint *object, uint operand);
  13325. uint __ovld atomic_fetch_sub_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13326. uint __ovld atomic_fetch_sub_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13327. int __ovld atomic_fetch_or(volatile atomic_int *object, int operand);
  13328. int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order);
  13329. int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13330. uint __ovld atomic_fetch_or(volatile atomic_uint *object, uint operand);
  13331. uint __ovld atomic_fetch_or_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13332. uint __ovld atomic_fetch_or_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13333. int __ovld atomic_fetch_xor(volatile atomic_int *object, int operand);
  13334. int __ovld atomic_fetch_xor_explicit(volatile atomic_int *object, int operand, memory_order order);
  13335. int __ovld atomic_fetch_xor_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13336. uint __ovld atomic_fetch_xor(volatile atomic_uint *object, uint operand);
  13337. uint __ovld atomic_fetch_xor_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13338. uint __ovld atomic_fetch_xor_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13339. int __ovld atomic_fetch_and(volatile atomic_int *object, int operand);
  13340. int __ovld atomic_fetch_and_explicit(volatile atomic_int *object, int operand, memory_order order);
  13341. int __ovld atomic_fetch_and_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13342. uint __ovld atomic_fetch_and(volatile atomic_uint *object, uint operand);
  13343. uint __ovld atomic_fetch_and_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13344. uint __ovld atomic_fetch_and_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13345. int __ovld atomic_fetch_min(volatile atomic_int *object, int operand);
  13346. int __ovld atomic_fetch_min_explicit(volatile atomic_int *object, int operand, memory_order order);
  13347. int __ovld atomic_fetch_min_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13348. uint __ovld atomic_fetch_min(volatile atomic_uint *object, uint operand);
  13349. uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13350. uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13351. uint __ovld atomic_fetch_min(volatile atomic_uint *object, int operand);
  13352. uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, int operand, memory_order order);
  13353. uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, int operand, memory_order order, memory_scope scope);
  13354. int __ovld atomic_fetch_max(volatile atomic_int *object, int operand);
  13355. int __ovld atomic_fetch_max_explicit(volatile atomic_int *object, int operand, memory_order order);
  13356. int __ovld atomic_fetch_max_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope);
  13357. uint __ovld atomic_fetch_max(volatile atomic_uint *object, uint operand);
  13358. uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, uint operand, memory_order order);
  13359. uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope);
  13360. uint __ovld atomic_fetch_max(volatile atomic_uint *object, int operand);
  13361. uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, int operand, memory_order order);
  13362. uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, int operand, memory_order order, memory_scope scope);
  13363. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13364. long __ovld atomic_fetch_add(volatile atomic_long *object, long operand);
  13365. long __ovld atomic_fetch_add_explicit(volatile atomic_long *object, long operand, memory_order order);
  13366. long __ovld atomic_fetch_add_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13367. ulong __ovld atomic_fetch_add(volatile atomic_ulong *object, ulong operand);
  13368. ulong __ovld atomic_fetch_add_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13369. ulong __ovld atomic_fetch_add_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13370. long __ovld atomic_fetch_sub(volatile atomic_long *object, long operand);
  13371. long __ovld atomic_fetch_sub_explicit(volatile atomic_long *object, long operand, memory_order order);
  13372. long __ovld atomic_fetch_sub_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13373. ulong __ovld atomic_fetch_sub(volatile atomic_ulong *object, ulong operand);
  13374. ulong __ovld atomic_fetch_sub_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13375. ulong __ovld atomic_fetch_sub_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13376. long __ovld atomic_fetch_or(volatile atomic_long *object, long operand);
  13377. long __ovld atomic_fetch_or_explicit(volatile atomic_long *object, long operand, memory_order order);
  13378. long __ovld atomic_fetch_or_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13379. ulong __ovld atomic_fetch_or(volatile atomic_ulong *object, ulong operand);
  13380. ulong __ovld atomic_fetch_or_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13381. ulong __ovld atomic_fetch_or_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13382. long __ovld atomic_fetch_xor(volatile atomic_long *object, long operand);
  13383. long __ovld atomic_fetch_xor_explicit(volatile atomic_long *object, long operand, memory_order order);
  13384. long __ovld atomic_fetch_xor_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13385. ulong __ovld atomic_fetch_xor(volatile atomic_ulong *object, ulong operand);
  13386. ulong __ovld atomic_fetch_xor_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13387. ulong __ovld atomic_fetch_xor_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13388. long __ovld atomic_fetch_and(volatile atomic_long *object, long operand);
  13389. long __ovld atomic_fetch_and_explicit(volatile atomic_long *object, long operand, memory_order order);
  13390. long __ovld atomic_fetch_and_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13391. ulong __ovld atomic_fetch_and(volatile atomic_ulong *object, ulong operand);
  13392. ulong __ovld atomic_fetch_and_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13393. ulong __ovld atomic_fetch_and_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13394. long __ovld atomic_fetch_min(volatile atomic_long *object, long operand);
  13395. long __ovld atomic_fetch_min_explicit(volatile atomic_long *object, long operand, memory_order order);
  13396. long __ovld atomic_fetch_min_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13397. ulong __ovld atomic_fetch_min(volatile atomic_ulong *object, ulong operand);
  13398. ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13399. ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13400. ulong __ovld atomic_fetch_min(volatile atomic_ulong *object, long operand);
  13401. ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, long operand, memory_order order);
  13402. ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, long operand, memory_order order, memory_scope scope);
  13403. long __ovld atomic_fetch_max(volatile atomic_long *object, long operand);
  13404. long __ovld atomic_fetch_max_explicit(volatile atomic_long *object, long operand, memory_order order);
  13405. long __ovld atomic_fetch_max_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope);
  13406. ulong __ovld atomic_fetch_max(volatile atomic_ulong *object, ulong operand);
  13407. ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, ulong operand, memory_order order);
  13408. ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope);
  13409. ulong __ovld atomic_fetch_max(volatile atomic_ulong *object, long operand);
  13410. ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, long operand, memory_order order);
  13411. ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, long operand, memory_order order, memory_scope scope);
  13412. #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13413. // OpenCL v2.0 s6.13.11.7.5:
  13414. // add/sub: atomic type argument can be uintptr_t/intptr_t, value type argument can be ptrdiff_t.
  13415. // or/xor/and/min/max: atomic type argument can be intptr_t/uintptr_t, value type argument can be intptr_t/uintptr_t.
  13416. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13417. uintptr_t __ovld atomic_fetch_add(volatile atomic_uintptr_t *object, ptrdiff_t operand);
  13418. uintptr_t __ovld atomic_fetch_add_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order);
  13419. uintptr_t __ovld atomic_fetch_add_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope);
  13420. uintptr_t __ovld atomic_fetch_sub(volatile atomic_uintptr_t *object, ptrdiff_t operand);
  13421. uintptr_t __ovld atomic_fetch_sub_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order);
  13422. uintptr_t __ovld atomic_fetch_sub_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope);
  13423. uintptr_t __ovld atomic_fetch_or(volatile atomic_uintptr_t *object, intptr_t operand);
  13424. uintptr_t __ovld atomic_fetch_or_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order);
  13425. uintptr_t __ovld atomic_fetch_or_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope);
  13426. uintptr_t __ovld atomic_fetch_xor(volatile atomic_uintptr_t *object, intptr_t operand);
  13427. uintptr_t __ovld atomic_fetch_xor_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order);
  13428. uintptr_t __ovld atomic_fetch_xor_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope);
  13429. uintptr_t __ovld atomic_fetch_and(volatile atomic_uintptr_t *object, intptr_t operand);
  13430. uintptr_t __ovld atomic_fetch_and_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order);
  13431. uintptr_t __ovld atomic_fetch_and_explicit(volatile atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope);
  13432. uintptr_t __ovld atomic_fetch_min(volatile atomic_uintptr_t *object, intptr_t opermax);
  13433. uintptr_t __ovld atomic_fetch_min_explicit(volatile atomic_uintptr_t *object, intptr_t opermax, memory_order minder);
  13434. uintptr_t __ovld atomic_fetch_min_explicit(volatile atomic_uintptr_t *object, intptr_t opermax, memory_order minder, memory_scope scope);
  13435. uintptr_t __ovld atomic_fetch_max(volatile atomic_uintptr_t *object, intptr_t opermax);
  13436. uintptr_t __ovld atomic_fetch_max_explicit(volatile atomic_uintptr_t *object, intptr_t opermax, memory_order minder);
  13437. uintptr_t __ovld atomic_fetch_max_explicit(volatile atomic_uintptr_t *object, intptr_t opermax, memory_order minder, memory_scope scope);
  13438. intptr_t __ovld atomic_fetch_or(volatile atomic_intptr_t *object, uintptr_t operand);
  13439. intptr_t __ovld atomic_fetch_or_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order);
  13440. intptr_t __ovld atomic_fetch_or_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope);
  13441. intptr_t __ovld atomic_fetch_xor(volatile atomic_intptr_t *object, uintptr_t operand);
  13442. intptr_t __ovld atomic_fetch_xor_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order);
  13443. intptr_t __ovld atomic_fetch_xor_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope);
  13444. intptr_t __ovld atomic_fetch_and(volatile atomic_intptr_t *object, uintptr_t operand);
  13445. intptr_t __ovld atomic_fetch_and_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order);
  13446. intptr_t __ovld atomic_fetch_and_explicit(volatile atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope);
  13447. intptr_t __ovld atomic_fetch_min(volatile atomic_intptr_t *object, uintptr_t opermax);
  13448. intptr_t __ovld atomic_fetch_min_explicit(volatile atomic_intptr_t *object, uintptr_t opermax, memory_order minder);
  13449. intptr_t __ovld atomic_fetch_min_explicit(volatile atomic_intptr_t *object, uintptr_t opermax, memory_order minder, memory_scope scope);
  13450. intptr_t __ovld atomic_fetch_max(volatile atomic_intptr_t *object, uintptr_t opermax);
  13451. intptr_t __ovld atomic_fetch_max_explicit(volatile atomic_intptr_t *object, uintptr_t opermax, memory_order minder);
  13452. intptr_t __ovld atomic_fetch_max_explicit(volatile atomic_intptr_t *object, uintptr_t opermax, memory_order minder, memory_scope scope);
  13453. #endif
  13454. // atomic_store()
  13455. void __ovld atomic_store(volatile atomic_int *object, int desired);
  13456. void __ovld atomic_store_explicit(volatile atomic_int *object, int desired, memory_order order);
  13457. void __ovld atomic_store_explicit(volatile atomic_int *object, int desired, memory_order order, memory_scope scope);
  13458. void __ovld atomic_store(volatile atomic_uint *object, uint desired);
  13459. void __ovld atomic_store_explicit(volatile atomic_uint *object, uint desired, memory_order order);
  13460. void __ovld atomic_store_explicit(volatile atomic_uint *object, uint desired, memory_order order, memory_scope scope);
  13461. void __ovld atomic_store(volatile atomic_float *object, float desired);
  13462. void __ovld atomic_store_explicit(volatile atomic_float *object, float desired, memory_order order);
  13463. void __ovld atomic_store_explicit(volatile atomic_float *object, float desired, memory_order order, memory_scope scope);
  13464. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13465. #ifdef cl_khr_fp64
  13466. void __ovld atomic_store(volatile atomic_double *object, double desired);
  13467. void __ovld atomic_store_explicit(volatile atomic_double *object, double desired, memory_order order);
  13468. void __ovld atomic_store_explicit(volatile atomic_double *object, double desired, memory_order order, memory_scope scope);
  13469. #endif //cl_khr_fp64
  13470. void __ovld atomic_store(volatile atomic_long *object, long desired);
  13471. void __ovld atomic_store_explicit(volatile atomic_long *object, long desired, memory_order order);
  13472. void __ovld atomic_store_explicit(volatile atomic_long *object, long desired, memory_order order, memory_scope scope);
  13473. void __ovld atomic_store(volatile atomic_ulong *object, ulong desired);
  13474. void __ovld atomic_store_explicit(volatile atomic_ulong *object, ulong desired, memory_order order);
  13475. void __ovld atomic_store_explicit(volatile atomic_ulong *object, ulong desired, memory_order order, memory_scope scope);
  13476. #endif
  13477. // atomic_load()
  13478. int __ovld atomic_load(volatile atomic_int *object);
  13479. int __ovld atomic_load_explicit(volatile atomic_int *object, memory_order order);
  13480. int __ovld atomic_load_explicit(volatile atomic_int *object, memory_order order, memory_scope scope);
  13481. uint __ovld atomic_load(volatile atomic_uint *object);
  13482. uint __ovld atomic_load_explicit(volatile atomic_uint *object, memory_order order);
  13483. uint __ovld atomic_load_explicit(volatile atomic_uint *object, memory_order order, memory_scope scope);
  13484. float __ovld atomic_load(volatile atomic_float *object);
  13485. float __ovld atomic_load_explicit(volatile atomic_float *object, memory_order order);
  13486. float __ovld atomic_load_explicit(volatile atomic_float *object, memory_order order, memory_scope scope);
  13487. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13488. #ifdef cl_khr_fp64
  13489. double __ovld atomic_load(volatile atomic_double *object);
  13490. double __ovld atomic_load_explicit(volatile atomic_double *object, memory_order order);
  13491. double __ovld atomic_load_explicit(volatile atomic_double *object, memory_order order, memory_scope scope);
  13492. #endif //cl_khr_fp64
  13493. long __ovld atomic_load(volatile atomic_long *object);
  13494. long __ovld atomic_load_explicit(volatile atomic_long *object, memory_order order);
  13495. long __ovld atomic_load_explicit(volatile atomic_long *object, memory_order order, memory_scope scope);
  13496. ulong __ovld atomic_load(volatile atomic_ulong *object);
  13497. ulong __ovld atomic_load_explicit(volatile atomic_ulong *object, memory_order order);
  13498. ulong __ovld atomic_load_explicit(volatile atomic_ulong *object, memory_order order, memory_scope scope);
  13499. #endif
  13500. // atomic_exchange()
  13501. int __ovld atomic_exchange(volatile atomic_int *object, int desired);
  13502. int __ovld atomic_exchange_explicit(volatile atomic_int *object, int desired, memory_order order);
  13503. int __ovld atomic_exchange_explicit(volatile atomic_int *object, int desired, memory_order order, memory_scope scope);
  13504. uint __ovld atomic_exchange(volatile atomic_uint *object, uint desired);
  13505. uint __ovld atomic_exchange_explicit(volatile atomic_uint *object, uint desired, memory_order order);
  13506. uint __ovld atomic_exchange_explicit(volatile atomic_uint *object, uint desired, memory_order order, memory_scope scope);
  13507. float __ovld atomic_exchange(volatile atomic_float *object, float desired);
  13508. float __ovld atomic_exchange_explicit(volatile atomic_float *object, float desired, memory_order order);
  13509. float __ovld atomic_exchange_explicit(volatile atomic_float *object, float desired, memory_order order, memory_scope scope);
  13510. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13511. #ifdef cl_khr_fp64
  13512. double __ovld atomic_exchange(volatile atomic_double *object, double desired);
  13513. double __ovld atomic_exchange_explicit(volatile atomic_double *object, double desired, memory_order order);
  13514. double __ovld atomic_exchange_explicit(volatile atomic_double *object, double desired, memory_order order, memory_scope scope);
  13515. #endif //cl_khr_fp64
  13516. long __ovld atomic_exchange(volatile atomic_long *object, long desired);
  13517. long __ovld atomic_exchange_explicit(volatile atomic_long *object, long desired, memory_order order);
  13518. long __ovld atomic_exchange_explicit(volatile atomic_long *object, long desired, memory_order order, memory_scope scope);
  13519. ulong __ovld atomic_exchange(volatile atomic_ulong *object, ulong desired);
  13520. ulong __ovld atomic_exchange_explicit(volatile atomic_ulong *object, ulong desired, memory_order order);
  13521. ulong __ovld atomic_exchange_explicit(volatile atomic_ulong *object, ulong desired, memory_order order, memory_scope scope);
  13522. #endif
  13523. // atomic_compare_exchange_strong() and atomic_compare_exchange_weak()
  13524. bool __ovld atomic_compare_exchange_strong(volatile atomic_int *object, int *expected, int desired);
  13525. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_int *object, int *expected,
  13526. int desired, memory_order success, memory_order failure);
  13527. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_int *object, int *expected,
  13528. int desired, memory_order success, memory_order failure, memory_scope scope);
  13529. bool __ovld atomic_compare_exchange_strong(volatile atomic_uint *object, uint *expected, uint desired);
  13530. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_uint *object, uint *expected,
  13531. uint desired, memory_order success, memory_order failure);
  13532. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_uint *object, uint *expected,
  13533. uint desired, memory_order success, memory_order failure, memory_scope scope);
  13534. bool __ovld atomic_compare_exchange_weak(volatile atomic_int *object, int *expected, int desired);
  13535. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_int *object, int *expected,
  13536. int desired, memory_order success, memory_order failure);
  13537. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_int *object, int *expected,
  13538. int desired, memory_order success, memory_order failure, memory_scope scope);
  13539. bool __ovld atomic_compare_exchange_weak(volatile atomic_uint *object, uint *expected, uint desired);
  13540. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_uint *object, uint *expected,
  13541. uint desired, memory_order success, memory_order failure);
  13542. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_uint *object, uint *expected,
  13543. uint desired, memory_order success, memory_order failure, memory_scope scope);
  13544. bool __ovld atomic_compare_exchange_strong(volatile atomic_float *object, float *expected, float desired);
  13545. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_float *object, float *expected,
  13546. float desired, memory_order success, memory_order failure);
  13547. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_float *object, float *expected,
  13548. float desired, memory_order success, memory_order failure, memory_scope scope);
  13549. bool __ovld atomic_compare_exchange_weak(volatile atomic_float *object, float *expected, float desired);
  13550. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_float *object, float *expected,
  13551. float desired, memory_order success, memory_order failure);
  13552. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_float *object, float *expected,
  13553. float desired, memory_order success, memory_order failure, memory_scope scope);
  13554. #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
  13555. #ifdef cl_khr_fp64
  13556. bool __ovld atomic_compare_exchange_strong(volatile atomic_double *object, double *expected, double desired);
  13557. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_double *object, double *expected,
  13558. double desired, memory_order success, memory_order failure);
  13559. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_double *object, double *expected,
  13560. double desired, memory_order success, memory_order failure, memory_scope scope);
  13561. bool __ovld atomic_compare_exchange_weak(volatile atomic_double *object, double *expected, double desired);
  13562. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_double *object, double *expected,
  13563. double desired, memory_order success, memory_order failure);
  13564. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_double *object, double *expected,
  13565. double desired, memory_order success, memory_order failure, memory_scope scope);
  13566. #endif //cl_khr_fp64
  13567. bool __ovld atomic_compare_exchange_strong(volatile atomic_long *object, long *expected, long desired);
  13568. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_long *object, long *expected,
  13569. long desired, memory_order success, memory_order failure);
  13570. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_long *object, long *expected,
  13571. long desired, memory_order success, memory_order failure, memory_scope scope);
  13572. bool __ovld atomic_compare_exchange_weak(volatile atomic_long *object, long *expected, long desired);
  13573. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_long *object, long *expected,
  13574. long desired, memory_order success, memory_order failure);
  13575. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_long *object, long *expected,
  13576. long desired, memory_order success, memory_order failure, memory_scope scope);
  13577. bool __ovld atomic_compare_exchange_strong(volatile atomic_ulong *object, ulong *expected, ulong desired);
  13578. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_ulong *object, ulong *expected,
  13579. ulong desired, memory_order success, memory_order failure);
  13580. bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_ulong *object, ulong *expected,
  13581. ulong desired, memory_order success, memory_order failure, memory_scope scope);
  13582. bool __ovld atomic_compare_exchange_weak(volatile atomic_ulong *object, ulong *expected, ulong desired);
  13583. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_ulong *object, ulong *expected,
  13584. ulong desired, memory_order success, memory_order failure);
  13585. bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_ulong *object, ulong *expected,
  13586. ulong desired, memory_order success, memory_order failure, memory_scope scope);
  13587. #endif
  13588. // atomic_flag_test_and_set() and atomic_flag_clear()
  13589. bool __ovld atomic_flag_test_and_set(volatile atomic_flag *object);
  13590. bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order);
  13591. bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope);
  13592. void __ovld atomic_flag_clear(volatile atomic_flag *object);
  13593. void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order);
  13594. void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope);
  13595. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  13596. // OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions
  13597. /**
  13598. * The shuffle and shuffle2 built-in functions construct
  13599. * a permutation of elements from one or two input
  13600. * vectors respectively that are of the same type,
  13601. * returning a vector with the same element type as the
  13602. * input and length that is the same as the shuffle mask.
  13603. * The size of each element in the mask must match the
  13604. * size of each element in the result. For shuffle, only
  13605. * the ilogb(2m-1) least significant bits of each mask
  13606. * element are considered. For shuffle2, only the
  13607. * ilogb(2m-1)+1 least significant bits of each mask
  13608. * element are considered. Other bits in the mask shall
  13609. * be ignored.
  13610. * The elements of the input vectors are numbered from
  13611. * left to right across one or both of the vectors. For this
  13612. * purpose, the number of elements in a vector is given
  13613. * by vec_step(gentypem). The shuffle mask operand
  13614. * specifies, for each element of the result vector, which
  13615. * element of the one or two input vectors the result
  13616. * element gets.
  13617. * Examples:
  13618. * uint4 mask = (uint4)(3, 2,
  13619. * 1, 0);
  13620. * float4 a;
  13621. * float4 r = shuffle(a, mask);
  13622. * // r.s0123 = a.wzyx
  13623. * uint8 mask = (uint8)(0, 1, 2, 3,
  13624. * 4, 5, 6, 7);
  13625. * float4 a, b;
  13626. * float8 r = shuffle2(a, b, mask);
  13627. * // r.s0123 = a.xyzw
  13628. * // r.s4567 = b.xyzw
  13629. * uint4 mask;
  13630. * float8 a;
  13631. * float4 b;
  13632. * b = shuffle(a, mask);
  13633. * Examples that are not valid are:
  13634. * uint8 mask;
  13635. * short16 a;
  13636. * short8 b;
  13637. * b = shuffle(a, mask); <- not valid
  13638. */
  13639. char2 __ovld __cnfn shuffle(char2 x, uchar2 mask);
  13640. char2 __ovld __cnfn shuffle(char4 x, uchar2 mask);
  13641. char2 __ovld __cnfn shuffle(char8 x, uchar2 mask);
  13642. char2 __ovld __cnfn shuffle(char16 x, uchar2 mask);
  13643. uchar2 __ovld __cnfn shuffle(uchar2 x, uchar2 mask);
  13644. uchar2 __ovld __cnfn shuffle(uchar4 x, uchar2 mask);
  13645. uchar2 __ovld __cnfn shuffle(uchar8 x, uchar2 mask);
  13646. uchar2 __ovld __cnfn shuffle(uchar16 x, uchar2 mask);
  13647. short2 __ovld __cnfn shuffle(short2 x, ushort2 mask);
  13648. short2 __ovld __cnfn shuffle(short4 x, ushort2 mask);
  13649. short2 __ovld __cnfn shuffle(short8 x, ushort2 mask);
  13650. short2 __ovld __cnfn shuffle(short16 x, ushort2 mask);
  13651. ushort2 __ovld __cnfn shuffle(ushort2 x, ushort2 mask);
  13652. ushort2 __ovld __cnfn shuffle(ushort4 x, ushort2 mask);
  13653. ushort2 __ovld __cnfn shuffle(ushort8 x, ushort2 mask);
  13654. ushort2 __ovld __cnfn shuffle(ushort16 x, ushort2 mask);
  13655. int2 __ovld __cnfn shuffle(int2 x, uint2 mask);
  13656. int2 __ovld __cnfn shuffle(int4 x, uint2 mask);
  13657. int2 __ovld __cnfn shuffle(int8 x, uint2 mask);
  13658. int2 __ovld __cnfn shuffle(int16 x, uint2 mask);
  13659. uint2 __ovld __cnfn shuffle(uint2 x, uint2 mask);
  13660. uint2 __ovld __cnfn shuffle(uint4 x, uint2 mask);
  13661. uint2 __ovld __cnfn shuffle(uint8 x, uint2 mask);
  13662. uint2 __ovld __cnfn shuffle(uint16 x, uint2 mask);
  13663. long2 __ovld __cnfn shuffle(long2 x, ulong2 mask);
  13664. long2 __ovld __cnfn shuffle(long4 x, ulong2 mask);
  13665. long2 __ovld __cnfn shuffle(long8 x, ulong2 mask);
  13666. long2 __ovld __cnfn shuffle(long16 x, ulong2 mask);
  13667. ulong2 __ovld __cnfn shuffle(ulong2 x, ulong2 mask);
  13668. ulong2 __ovld __cnfn shuffle(ulong4 x, ulong2 mask);
  13669. ulong2 __ovld __cnfn shuffle(ulong8 x, ulong2 mask);
  13670. ulong2 __ovld __cnfn shuffle(ulong16 x, ulong2 mask);
  13671. float2 __ovld __cnfn shuffle(float2 x, uint2 mask);
  13672. float2 __ovld __cnfn shuffle(float4 x, uint2 mask);
  13673. float2 __ovld __cnfn shuffle(float8 x, uint2 mask);
  13674. float2 __ovld __cnfn shuffle(float16 x, uint2 mask);
  13675. char4 __ovld __cnfn shuffle(char2 x, uchar4 mask);
  13676. char4 __ovld __cnfn shuffle(char4 x, uchar4 mask);
  13677. char4 __ovld __cnfn shuffle(char8 x, uchar4 mask);
  13678. char4 __ovld __cnfn shuffle(char16 x, uchar4 mask);
  13679. uchar4 __ovld __cnfn shuffle(uchar2 x, uchar4 mask);
  13680. uchar4 __ovld __cnfn shuffle(uchar4 x, uchar4 mask);
  13681. uchar4 __ovld __cnfn shuffle(uchar8 x, uchar4 mask);
  13682. uchar4 __ovld __cnfn shuffle(uchar16 x, uchar4 mask);
  13683. short4 __ovld __cnfn shuffle(short2 x, ushort4 mask);
  13684. short4 __ovld __cnfn shuffle(short4 x, ushort4 mask);
  13685. short4 __ovld __cnfn shuffle(short8 x, ushort4 mask);
  13686. short4 __ovld __cnfn shuffle(short16 x, ushort4 mask);
  13687. ushort4 __ovld __cnfn shuffle(ushort2 x, ushort4 mask);
  13688. ushort4 __ovld __cnfn shuffle(ushort4 x, ushort4 mask);
  13689. ushort4 __ovld __cnfn shuffle(ushort8 x, ushort4 mask);
  13690. ushort4 __ovld __cnfn shuffle(ushort16 x, ushort4 mask);
  13691. int4 __ovld __cnfn shuffle(int2 x, uint4 mask);
  13692. int4 __ovld __cnfn shuffle(int4 x, uint4 mask);
  13693. int4 __ovld __cnfn shuffle(int8 x, uint4 mask);
  13694. int4 __ovld __cnfn shuffle(int16 x, uint4 mask);
  13695. uint4 __ovld __cnfn shuffle(uint2 x, uint4 mask);
  13696. uint4 __ovld __cnfn shuffle(uint4 x, uint4 mask);
  13697. uint4 __ovld __cnfn shuffle(uint8 x, uint4 mask);
  13698. uint4 __ovld __cnfn shuffle(uint16 x, uint4 mask);
  13699. long4 __ovld __cnfn shuffle(long2 x, ulong4 mask);
  13700. long4 __ovld __cnfn shuffle(long4 x, ulong4 mask);
  13701. long4 __ovld __cnfn shuffle(long8 x, ulong4 mask);
  13702. long4 __ovld __cnfn shuffle(long16 x, ulong4 mask);
  13703. ulong4 __ovld __cnfn shuffle(ulong2 x, ulong4 mask);
  13704. ulong4 __ovld __cnfn shuffle(ulong4 x, ulong4 mask);
  13705. ulong4 __ovld __cnfn shuffle(ulong8 x, ulong4 mask);
  13706. ulong4 __ovld __cnfn shuffle(ulong16 x, ulong4 mask);
  13707. float4 __ovld __cnfn shuffle(float2 x, uint4 mask);
  13708. float4 __ovld __cnfn shuffle(float4 x, uint4 mask);
  13709. float4 __ovld __cnfn shuffle(float8 x, uint4 mask);
  13710. float4 __ovld __cnfn shuffle(float16 x, uint4 mask);
  13711. char8 __ovld __cnfn shuffle(char2 x, uchar8 mask);
  13712. char8 __ovld __cnfn shuffle(char4 x, uchar8 mask);
  13713. char8 __ovld __cnfn shuffle(char8 x, uchar8 mask);
  13714. char8 __ovld __cnfn shuffle(char16 x, uchar8 mask);
  13715. uchar8 __ovld __cnfn shuffle(uchar2 x, uchar8 mask);
  13716. uchar8 __ovld __cnfn shuffle(uchar4 x, uchar8 mask);
  13717. uchar8 __ovld __cnfn shuffle(uchar8 x, uchar8 mask);
  13718. uchar8 __ovld __cnfn shuffle(uchar16 x, uchar8 mask);
  13719. short8 __ovld __cnfn shuffle(short2 x, ushort8 mask);
  13720. short8 __ovld __cnfn shuffle(short4 x, ushort8 mask);
  13721. short8 __ovld __cnfn shuffle(short8 x, ushort8 mask);
  13722. short8 __ovld __cnfn shuffle(short16 x, ushort8 mask);
  13723. ushort8 __ovld __cnfn shuffle(ushort2 x, ushort8 mask);
  13724. ushort8 __ovld __cnfn shuffle(ushort4 x, ushort8 mask);
  13725. ushort8 __ovld __cnfn shuffle(ushort8 x, ushort8 mask);
  13726. ushort8 __ovld __cnfn shuffle(ushort16 x, ushort8 mask);
  13727. int8 __ovld __cnfn shuffle(int2 x, uint8 mask);
  13728. int8 __ovld __cnfn shuffle(int4 x, uint8 mask);
  13729. int8 __ovld __cnfn shuffle(int8 x, uint8 mask);
  13730. int8 __ovld __cnfn shuffle(int16 x, uint8 mask);
  13731. uint8 __ovld __cnfn shuffle(uint2 x, uint8 mask);
  13732. uint8 __ovld __cnfn shuffle(uint4 x, uint8 mask);
  13733. uint8 __ovld __cnfn shuffle(uint8 x, uint8 mask);
  13734. uint8 __ovld __cnfn shuffle(uint16 x, uint8 mask);
  13735. long8 __ovld __cnfn shuffle(long2 x, ulong8 mask);
  13736. long8 __ovld __cnfn shuffle(long4 x, ulong8 mask);
  13737. long8 __ovld __cnfn shuffle(long8 x, ulong8 mask);
  13738. long8 __ovld __cnfn shuffle(long16 x, ulong8 mask);
  13739. ulong8 __ovld __cnfn shuffle(ulong2 x, ulong8 mask);
  13740. ulong8 __ovld __cnfn shuffle(ulong4 x, ulong8 mask);
  13741. ulong8 __ovld __cnfn shuffle(ulong8 x, ulong8 mask);
  13742. ulong8 __ovld __cnfn shuffle(ulong16 x, ulong8 mask);
  13743. float8 __ovld __cnfn shuffle(float2 x, uint8 mask);
  13744. float8 __ovld __cnfn shuffle(float4 x, uint8 mask);
  13745. float8 __ovld __cnfn shuffle(float8 x, uint8 mask);
  13746. float8 __ovld __cnfn shuffle(float16 x, uint8 mask);
  13747. char16 __ovld __cnfn shuffle(char2 x, uchar16 mask);
  13748. char16 __ovld __cnfn shuffle(char4 x, uchar16 mask);
  13749. char16 __ovld __cnfn shuffle(char8 x, uchar16 mask);
  13750. char16 __ovld __cnfn shuffle(char16 x, uchar16 mask);
  13751. uchar16 __ovld __cnfn shuffle(uchar2 x, uchar16 mask);
  13752. uchar16 __ovld __cnfn shuffle(uchar4 x, uchar16 mask);
  13753. uchar16 __ovld __cnfn shuffle(uchar8 x, uchar16 mask);
  13754. uchar16 __ovld __cnfn shuffle(uchar16 x, uchar16 mask);
  13755. short16 __ovld __cnfn shuffle(short2 x, ushort16 mask);
  13756. short16 __ovld __cnfn shuffle(short4 x, ushort16 mask);
  13757. short16 __ovld __cnfn shuffle(short8 x, ushort16 mask);
  13758. short16 __ovld __cnfn shuffle(short16 x, ushort16 mask);
  13759. ushort16 __ovld __cnfn shuffle(ushort2 x, ushort16 mask);
  13760. ushort16 __ovld __cnfn shuffle(ushort4 x, ushort16 mask);
  13761. ushort16 __ovld __cnfn shuffle(ushort8 x, ushort16 mask);
  13762. ushort16 __ovld __cnfn shuffle(ushort16 x, ushort16 mask);
  13763. int16 __ovld __cnfn shuffle(int2 x, uint16 mask);
  13764. int16 __ovld __cnfn shuffle(int4 x, uint16 mask);
  13765. int16 __ovld __cnfn shuffle(int8 x, uint16 mask);
  13766. int16 __ovld __cnfn shuffle(int16 x, uint16 mask);
  13767. uint16 __ovld __cnfn shuffle(uint2 x, uint16 mask);
  13768. uint16 __ovld __cnfn shuffle(uint4 x, uint16 mask);
  13769. uint16 __ovld __cnfn shuffle(uint8 x, uint16 mask);
  13770. uint16 __ovld __cnfn shuffle(uint16 x, uint16 mask);
  13771. long16 __ovld __cnfn shuffle(long2 x, ulong16 mask);
  13772. long16 __ovld __cnfn shuffle(long4 x, ulong16 mask);
  13773. long16 __ovld __cnfn shuffle(long8 x, ulong16 mask);
  13774. long16 __ovld __cnfn shuffle(long16 x, ulong16 mask);
  13775. ulong16 __ovld __cnfn shuffle(ulong2 x, ulong16 mask);
  13776. ulong16 __ovld __cnfn shuffle(ulong4 x, ulong16 mask);
  13777. ulong16 __ovld __cnfn shuffle(ulong8 x, ulong16 mask);
  13778. ulong16 __ovld __cnfn shuffle(ulong16 x, ulong16 mask);
  13779. float16 __ovld __cnfn shuffle(float2 x, uint16 mask);
  13780. float16 __ovld __cnfn shuffle(float4 x, uint16 mask);
  13781. float16 __ovld __cnfn shuffle(float8 x, uint16 mask);
  13782. float16 __ovld __cnfn shuffle(float16 x, uint16 mask);
  13783. #ifdef cl_khr_fp64
  13784. double2 __ovld __cnfn shuffle(double2 x, ulong2 mask);
  13785. double2 __ovld __cnfn shuffle(double4 x, ulong2 mask);
  13786. double2 __ovld __cnfn shuffle(double8 x, ulong2 mask);
  13787. double2 __ovld __cnfn shuffle(double16 x, ulong2 mask);
  13788. double4 __ovld __cnfn shuffle(double2 x, ulong4 mask);
  13789. double4 __ovld __cnfn shuffle(double4 x, ulong4 mask);
  13790. double4 __ovld __cnfn shuffle(double8 x, ulong4 mask);
  13791. double4 __ovld __cnfn shuffle(double16 x, ulong4 mask);
  13792. double8 __ovld __cnfn shuffle(double2 x, ulong8 mask);
  13793. double8 __ovld __cnfn shuffle(double4 x, ulong8 mask);
  13794. double8 __ovld __cnfn shuffle(double8 x, ulong8 mask);
  13795. double8 __ovld __cnfn shuffle(double16 x, ulong8 mask);
  13796. double16 __ovld __cnfn shuffle(double2 x, ulong16 mask);
  13797. double16 __ovld __cnfn shuffle(double4 x, ulong16 mask);
  13798. double16 __ovld __cnfn shuffle(double8 x, ulong16 mask);
  13799. double16 __ovld __cnfn shuffle(double16 x, ulong16 mask);
  13800. #endif //cl_khr_fp64
  13801. #ifdef cl_khr_fp16
  13802. half2 __ovld __cnfn shuffle(half2 x, ushort2 mask);
  13803. half2 __ovld __cnfn shuffle(half4 x, ushort2 mask);
  13804. half2 __ovld __cnfn shuffle(half8 x, ushort2 mask);
  13805. half2 __ovld __cnfn shuffle(half16 x, ushort2 mask);
  13806. half4 __ovld __cnfn shuffle(half2 x, ushort4 mask);
  13807. half4 __ovld __cnfn shuffle(half4 x, ushort4 mask);
  13808. half4 __ovld __cnfn shuffle(half8 x, ushort4 mask);
  13809. half4 __ovld __cnfn shuffle(half16 x, ushort4 mask);
  13810. half8 __ovld __cnfn shuffle(half2 x, ushort8 mask);
  13811. half8 __ovld __cnfn shuffle(half4 x, ushort8 mask);
  13812. half8 __ovld __cnfn shuffle(half8 x, ushort8 mask);
  13813. half8 __ovld __cnfn shuffle(half16 x, ushort8 mask);
  13814. half16 __ovld __cnfn shuffle(half2 x, ushort16 mask);
  13815. half16 __ovld __cnfn shuffle(half4 x, ushort16 mask);
  13816. half16 __ovld __cnfn shuffle(half8 x, ushort16 mask);
  13817. half16 __ovld __cnfn shuffle(half16 x, ushort16 mask);
  13818. #endif //cl_khr_fp16
  13819. char2 __ovld __cnfn shuffle2(char2 x, char2 y, uchar2 mask);
  13820. char2 __ovld __cnfn shuffle2(char4 x, char4 y, uchar2 mask);
  13821. char2 __ovld __cnfn shuffle2(char8 x, char8 y, uchar2 mask);
  13822. char2 __ovld __cnfn shuffle2(char16 x, char16 y, uchar2 mask);
  13823. uchar2 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar2 mask);
  13824. uchar2 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar2 mask);
  13825. uchar2 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar2 mask);
  13826. uchar2 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar2 mask);
  13827. short2 __ovld __cnfn shuffle2(short2 x, short2 y, ushort2 mask);
  13828. short2 __ovld __cnfn shuffle2(short4 x, short4 y, ushort2 mask);
  13829. short2 __ovld __cnfn shuffle2(short8 x, short8 y, ushort2 mask);
  13830. short2 __ovld __cnfn shuffle2(short16 x, short16 y, ushort2 mask);
  13831. ushort2 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort2 mask);
  13832. ushort2 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort2 mask);
  13833. ushort2 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort2 mask);
  13834. ushort2 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort2 mask);
  13835. int2 __ovld __cnfn shuffle2(int2 x, int2 y, uint2 mask);
  13836. int2 __ovld __cnfn shuffle2(int4 x, int4 y, uint2 mask);
  13837. int2 __ovld __cnfn shuffle2(int8 x, int8 y, uint2 mask);
  13838. int2 __ovld __cnfn shuffle2(int16 x, int16 y, uint2 mask);
  13839. uint2 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint2 mask);
  13840. uint2 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint2 mask);
  13841. uint2 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint2 mask);
  13842. uint2 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint2 mask);
  13843. long2 __ovld __cnfn shuffle2(long2 x, long2 y, ulong2 mask);
  13844. long2 __ovld __cnfn shuffle2(long4 x, long4 y, ulong2 mask);
  13845. long2 __ovld __cnfn shuffle2(long8 x, long8 y, ulong2 mask);
  13846. long2 __ovld __cnfn shuffle2(long16 x, long16 y, ulong2 mask);
  13847. ulong2 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong2 mask);
  13848. ulong2 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong2 mask);
  13849. ulong2 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong2 mask);
  13850. ulong2 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong2 mask);
  13851. float2 __ovld __cnfn shuffle2(float2 x, float2 y, uint2 mask);
  13852. float2 __ovld __cnfn shuffle2(float4 x, float4 y, uint2 mask);
  13853. float2 __ovld __cnfn shuffle2(float8 x, float8 y, uint2 mask);
  13854. float2 __ovld __cnfn shuffle2(float16 x, float16 y, uint2 mask);
  13855. char4 __ovld __cnfn shuffle2(char2 x, char2 y, uchar4 mask);
  13856. char4 __ovld __cnfn shuffle2(char4 x, char4 y, uchar4 mask);
  13857. char4 __ovld __cnfn shuffle2(char8 x, char8 y, uchar4 mask);
  13858. char4 __ovld __cnfn shuffle2(char16 x, char16 y, uchar4 mask);
  13859. uchar4 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar4 mask);
  13860. uchar4 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar4 mask);
  13861. uchar4 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar4 mask);
  13862. uchar4 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar4 mask);
  13863. short4 __ovld __cnfn shuffle2(short2 x, short2 y, ushort4 mask);
  13864. short4 __ovld __cnfn shuffle2(short4 x, short4 y, ushort4 mask);
  13865. short4 __ovld __cnfn shuffle2(short8 x, short8 y, ushort4 mask);
  13866. short4 __ovld __cnfn shuffle2(short16 x, short16 y, ushort4 mask);
  13867. ushort4 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort4 mask);
  13868. ushort4 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort4 mask);
  13869. ushort4 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort4 mask);
  13870. ushort4 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort4 mask);
  13871. int4 __ovld __cnfn shuffle2(int2 x, int2 y, uint4 mask);
  13872. int4 __ovld __cnfn shuffle2(int4 x, int4 y, uint4 mask);
  13873. int4 __ovld __cnfn shuffle2(int8 x, int8 y, uint4 mask);
  13874. int4 __ovld __cnfn shuffle2(int16 x, int16 y, uint4 mask);
  13875. uint4 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint4 mask);
  13876. uint4 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint4 mask);
  13877. uint4 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint4 mask);
  13878. uint4 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint4 mask);
  13879. long4 __ovld __cnfn shuffle2(long2 x, long2 y, ulong4 mask);
  13880. long4 __ovld __cnfn shuffle2(long4 x, long4 y, ulong4 mask);
  13881. long4 __ovld __cnfn shuffle2(long8 x, long8 y, ulong4 mask);
  13882. long4 __ovld __cnfn shuffle2(long16 x, long16 y, ulong4 mask);
  13883. ulong4 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong4 mask);
  13884. ulong4 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong4 mask);
  13885. ulong4 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong4 mask);
  13886. ulong4 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong4 mask);
  13887. float4 __ovld __cnfn shuffle2(float2 x, float2 y, uint4 mask);
  13888. float4 __ovld __cnfn shuffle2(float4 x, float4 y, uint4 mask);
  13889. float4 __ovld __cnfn shuffle2(float8 x, float8 y, uint4 mask);
  13890. float4 __ovld __cnfn shuffle2(float16 x, float16 y, uint4 mask);
  13891. char8 __ovld __cnfn shuffle2(char2 x, char2 y, uchar8 mask);
  13892. char8 __ovld __cnfn shuffle2(char4 x, char4 y, uchar8 mask);
  13893. char8 __ovld __cnfn shuffle2(char8 x, char8 y, uchar8 mask);
  13894. char8 __ovld __cnfn shuffle2(char16 x, char16 y, uchar8 mask);
  13895. uchar8 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar8 mask);
  13896. uchar8 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar8 mask);
  13897. uchar8 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar8 mask);
  13898. uchar8 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar8 mask);
  13899. short8 __ovld __cnfn shuffle2(short2 x, short2 y, ushort8 mask);
  13900. short8 __ovld __cnfn shuffle2(short4 x, short4 y, ushort8 mask);
  13901. short8 __ovld __cnfn shuffle2(short8 x, short8 y, ushort8 mask);
  13902. short8 __ovld __cnfn shuffle2(short16 x, short16 y, ushort8 mask);
  13903. ushort8 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort8 mask);
  13904. ushort8 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort8 mask);
  13905. ushort8 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort8 mask);
  13906. ushort8 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort8 mask);
  13907. int8 __ovld __cnfn shuffle2(int2 x, int2 y, uint8 mask);
  13908. int8 __ovld __cnfn shuffle2(int4 x, int4 y, uint8 mask);
  13909. int8 __ovld __cnfn shuffle2(int8 x, int8 y, uint8 mask);
  13910. int8 __ovld __cnfn shuffle2(int16 x, int16 y, uint8 mask);
  13911. uint8 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint8 mask);
  13912. uint8 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint8 mask);
  13913. uint8 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint8 mask);
  13914. uint8 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint8 mask);
  13915. long8 __ovld __cnfn shuffle2(long2 x, long2 y, ulong8 mask);
  13916. long8 __ovld __cnfn shuffle2(long4 x, long4 y, ulong8 mask);
  13917. long8 __ovld __cnfn shuffle2(long8 x, long8 y, ulong8 mask);
  13918. long8 __ovld __cnfn shuffle2(long16 x, long16 y, ulong8 mask);
  13919. ulong8 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong8 mask);
  13920. ulong8 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong8 mask);
  13921. ulong8 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong8 mask);
  13922. ulong8 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong8 mask);
  13923. float8 __ovld __cnfn shuffle2(float2 x, float2 y, uint8 mask);
  13924. float8 __ovld __cnfn shuffle2(float4 x, float4 y, uint8 mask);
  13925. float8 __ovld __cnfn shuffle2(float8 x, float8 y, uint8 mask);
  13926. float8 __ovld __cnfn shuffle2(float16 x, float16 y, uint8 mask);
  13927. char16 __ovld __cnfn shuffle2(char2 x, char2 y, uchar16 mask);
  13928. char16 __ovld __cnfn shuffle2(char4 x, char4 y, uchar16 mask);
  13929. char16 __ovld __cnfn shuffle2(char8 x, char8 y, uchar16 mask);
  13930. char16 __ovld __cnfn shuffle2(char16 x, char16 y, uchar16 mask);
  13931. uchar16 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar16 mask);
  13932. uchar16 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar16 mask);
  13933. uchar16 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar16 mask);
  13934. uchar16 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar16 mask);
  13935. short16 __ovld __cnfn shuffle2(short2 x, short2 y, ushort16 mask);
  13936. short16 __ovld __cnfn shuffle2(short4 x, short4 y, ushort16 mask);
  13937. short16 __ovld __cnfn shuffle2(short8 x, short8 y, ushort16 mask);
  13938. short16 __ovld __cnfn shuffle2(short16 x, short16 y, ushort16 mask);
  13939. ushort16 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort16 mask);
  13940. ushort16 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort16 mask);
  13941. ushort16 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort16 mask);
  13942. ushort16 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort16 mask);
  13943. int16 __ovld __cnfn shuffle2(int2 x, int2 y, uint16 mask);
  13944. int16 __ovld __cnfn shuffle2(int4 x, int4 y, uint16 mask);
  13945. int16 __ovld __cnfn shuffle2(int8 x, int8 y, uint16 mask);
  13946. int16 __ovld __cnfn shuffle2(int16 x, int16 y, uint16 mask);
  13947. uint16 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint16 mask);
  13948. uint16 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint16 mask);
  13949. uint16 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint16 mask);
  13950. uint16 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint16 mask);
  13951. long16 __ovld __cnfn shuffle2(long2 x, long2 y, ulong16 mask);
  13952. long16 __ovld __cnfn shuffle2(long4 x, long4 y, ulong16 mask);
  13953. long16 __ovld __cnfn shuffle2(long8 x, long8 y, ulong16 mask);
  13954. long16 __ovld __cnfn shuffle2(long16 x, long16 y, ulong16 mask);
  13955. ulong16 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong16 mask);
  13956. ulong16 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong16 mask);
  13957. ulong16 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong16 mask);
  13958. ulong16 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong16 mask);
  13959. float16 __ovld __cnfn shuffle2(float2 x, float2 y, uint16 mask);
  13960. float16 __ovld __cnfn shuffle2(float4 x, float4 y, uint16 mask);
  13961. float16 __ovld __cnfn shuffle2(float8 x, float8 y, uint16 mask);
  13962. float16 __ovld __cnfn shuffle2(float16 x, float16 y, uint16 mask);
  13963. #ifdef cl_khr_fp64
  13964. double2 __ovld __cnfn shuffle2(double2 x, double2 y, ulong2 mask);
  13965. double2 __ovld __cnfn shuffle2(double4 x, double4 y, ulong2 mask);
  13966. double2 __ovld __cnfn shuffle2(double8 x, double8 y, ulong2 mask);
  13967. double2 __ovld __cnfn shuffle2(double16 x, double16 y, ulong2 mask);
  13968. double4 __ovld __cnfn shuffle2(double2 x, double2 y, ulong4 mask);
  13969. double4 __ovld __cnfn shuffle2(double4 x, double4 y, ulong4 mask);
  13970. double4 __ovld __cnfn shuffle2(double8 x, double8 y, ulong4 mask);
  13971. double4 __ovld __cnfn shuffle2(double16 x, double16 y, ulong4 mask);
  13972. double8 __ovld __cnfn shuffle2(double2 x, double2 y, ulong8 mask);
  13973. double8 __ovld __cnfn shuffle2(double4 x, double4 y, ulong8 mask);
  13974. double8 __ovld __cnfn shuffle2(double8 x, double8 y, ulong8 mask);
  13975. double8 __ovld __cnfn shuffle2(double16 x, double16 y, ulong8 mask);
  13976. double16 __ovld __cnfn shuffle2(double2 x, double2 y, ulong16 mask);
  13977. double16 __ovld __cnfn shuffle2(double4 x, double4 y, ulong16 mask);
  13978. double16 __ovld __cnfn shuffle2(double8 x, double8 y, ulong16 mask);
  13979. double16 __ovld __cnfn shuffle2(double16 x, double16 y, ulong16 mask);
  13980. #endif //cl_khr_fp64
  13981. #ifdef cl_khr_fp16
  13982. half2 __ovld __cnfn shuffle2(half2 x, half2 y, ushort2 mask);
  13983. half2 __ovld __cnfn shuffle2(half4 x, half4 y, ushort2 mask);
  13984. half2 __ovld __cnfn shuffle2(half8 x, half8 y, ushort2 mask);
  13985. half2 __ovld __cnfn shuffle2(half16 x, half16 y, ushort2 mask);
  13986. half4 __ovld __cnfn shuffle2(half2 x, half2 y, ushort4 mask);
  13987. half4 __ovld __cnfn shuffle2(half4 x, half4 y, ushort4 mask);
  13988. half4 __ovld __cnfn shuffle2(half8 x, half8 y, ushort4 mask);
  13989. half4 __ovld __cnfn shuffle2(half16 x, half16 y, ushort4 mask);
  13990. half8 __ovld __cnfn shuffle2(half2 x, half2 y, ushort8 mask);
  13991. half8 __ovld __cnfn shuffle2(half4 x, half4 y, ushort8 mask);
  13992. half8 __ovld __cnfn shuffle2(half8 x, half8 y, ushort8 mask);
  13993. half8 __ovld __cnfn shuffle2(half16 x, half16 y, ushort8 mask);
  13994. half16 __ovld __cnfn shuffle2(half2 x, half2 y, ushort16 mask);
  13995. half16 __ovld __cnfn shuffle2(half4 x, half4 y, ushort16 mask);
  13996. half16 __ovld __cnfn shuffle2(half8 x, half8 y, ushort16 mask);
  13997. half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask);
  13998. #endif //cl_khr_fp16
  13999. #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2
  14000. // OpenCL v1.2 s6.12.13, v2.0 s6.13.13 - printf
  14001. int printf(__constant const char* st, ...);
  14002. #endif
  14003. // OpenCL v1.1 s6.11.3, v1.2 s6.12.14, v2.0 s6.13.14 - Image Read and Write Functions
  14004. // These values need to match the runtime equivalent
  14005. //
  14006. // Addressing Mode.
  14007. //
  14008. #define CLK_ADDRESS_NONE 0
  14009. #define CLK_ADDRESS_CLAMP_TO_EDGE 2
  14010. #define CLK_ADDRESS_CLAMP 4
  14011. #define CLK_ADDRESS_REPEAT 6
  14012. #define CLK_ADDRESS_MIRRORED_REPEAT 8
  14013. //
  14014. // Coordination Normalization
  14015. //
  14016. #define CLK_NORMALIZED_COORDS_FALSE 0
  14017. #define CLK_NORMALIZED_COORDS_TRUE 1
  14018. //
  14019. // Filtering Mode.
  14020. //
  14021. #define CLK_FILTER_NEAREST 0x10
  14022. #define CLK_FILTER_LINEAR 0x20
  14023. #ifdef cl_khr_gl_msaa_sharing
  14024. #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable
  14025. #endif //cl_khr_gl_msaa_sharing
  14026. /**
  14027. * Use the coordinate (coord.xy) to do an element lookup in
  14028. * the 2D image object specified by image.
  14029. *
  14030. * Use the coordinate (coord.x, coord.y, coord.z) to do
  14031. * an element lookup in the 3D image object specified
  14032. * by image. coord.w is ignored.
  14033. *
  14034. * Use the coordinate (coord.z) to index into the
  14035. * 2D image array object specified by image_array
  14036. * and (coord.x, coord.y) to do an element lookup in
  14037. * the 2D image object specified by image.
  14038. *
  14039. * Use the coordinate (x) to do an element lookup in
  14040. * the 1D image object specified by image.
  14041. *
  14042. * Use the coordinate (coord.y) to index into the
  14043. * 1D image array object specified by image_array
  14044. * and (coord.x) to do an element lookup in
  14045. * the 1D image object specified by image.
  14046. *
  14047. * Use the coordinate (cood.xy) and sample to do an
  14048. * element lookup in the 2D multi-sample image specified
  14049. * by image.
  14050. *
  14051. * Use coord.xy and sample to do an element
  14052. * lookup in the 2D multi-sample image layer
  14053. * identified by index coord.z in the 2D multi-sample
  14054. * image array specified by image.
  14055. *
  14056. * For mipmap images, use the mip-level specified by
  14057. * the Level-of-Detail (lod) or use gradients for LOD
  14058. * computation.
  14059. *
  14060. * read_imagef returns floating-point values in the
  14061. * range [0.0 ... 1.0] for image objects created with
  14062. * image_channel_data_type set to one of the predefined
  14063. * packed formats or CL_UNORM_INT8, or
  14064. * CL_UNORM_INT16.
  14065. *
  14066. * read_imagef returns floating-point values in the
  14067. * range [-1.0 ... 1.0] for image objects created with
  14068. * image_channel_data_type set to CL_SNORM_INT8,
  14069. * or CL_SNORM_INT16.
  14070. *
  14071. * read_imagef returns floating-point values for image
  14072. * objects created with image_channel_data_type set to
  14073. * CL_HALF_FLOAT or CL_FLOAT.
  14074. *
  14075. * read_imagei and read_imageui return
  14076. * unnormalized signed integer and unsigned integer
  14077. * values respectively. Each channel will be stored in a
  14078. * 32-bit integer.
  14079. *
  14080. * read_imagei can only be used with image objects
  14081. * created with image_channel_data_type set to one of
  14082. * the following values:
  14083. * CL_SIGNED_INT8,
  14084. * CL_SIGNED_INT16 and
  14085. * CL_SIGNED_INT32.
  14086. * If the image_channel_data_type is not one of the
  14087. * above values, the values returned by read_imagei
  14088. * are undefined.
  14089. *
  14090. * read_imageui can only be used with image objects
  14091. * created with image_channel_data_type set to one of
  14092. * the following values:
  14093. * CL_UNSIGNED_INT8,
  14094. * CL_UNSIGNED_INT16 and
  14095. * CL_UNSIGNED_INT32.
  14096. * If the image_channel_data_type is not one of the
  14097. * above values, the values returned by read_imageui
  14098. * are undefined.
  14099. *
  14100. * The read_image{i|ui} calls support a nearest filter
  14101. * only. The filter_mode specified in sampler
  14102. * must be set to CLK_FILTER_NEAREST; otherwise
  14103. * the values returned are undefined.
  14104. * The read_image{f|i|ui} calls that take
  14105. * integer coordinates must use a sampler with
  14106. * normalized coordinates set to
  14107. * CLK_NORMALIZED_COORDS_FALSE and
  14108. * addressing mode set to
  14109. * CLK_ADDRESS_CLAMP_TO_EDGE,
  14110. * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE;
  14111. * otherwise the values returned are undefined.
  14112. *
  14113. * Values returned by read_imagef for image objects
  14114. * with image_channel_data_type values not specified
  14115. * in the description above are undefined.
  14116. */
  14117. float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, int2 coord);
  14118. float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord);
  14119. int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, int2 coord);
  14120. int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord);
  14121. uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, int2 coord);
  14122. uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord);
  14123. float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, int4 coord);
  14124. float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord);
  14125. int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, int4 coord);
  14126. int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord);
  14127. uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord);
  14128. uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord);
  14129. float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
  14130. float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
  14131. int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
  14132. int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
  14133. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
  14134. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
  14135. float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord);
  14136. float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord);
  14137. int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, int coord);
  14138. int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord);
  14139. uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord);
  14140. uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord);
  14141. float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);
  14142. float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
  14143. int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);
  14144. int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
  14145. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);
  14146. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
  14147. #ifdef cl_khr_depth_images
  14148. float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord);
  14149. float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, int2 coord);
  14150. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord);
  14151. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, int4 coord);
  14152. #endif //cl_khr_depth_images
  14153. #if defined(cl_khr_gl_msaa_sharing)
  14154. float4 __purefn __ovld read_imagef(read_only image2d_msaa_t image, int2 coord, int sample);
  14155. int4 __purefn __ovld read_imagei(read_only image2d_msaa_t image, int2 coord, int sample);
  14156. uint4 __purefn __ovld read_imageui(read_only image2d_msaa_t image, int2 coord, int sample);
  14157. float __purefn __ovld read_imagef(read_only image2d_msaa_depth_t image, int2 coord, int sample);
  14158. float4 __purefn __ovld read_imagef(read_only image2d_array_msaa_t image, int4 coord, int sample);
  14159. int4 __purefn __ovld read_imagei(read_only image2d_array_msaa_t image, int4 coord, int sample);
  14160. uint4 __purefn __ovld read_imageui(read_only image2d_array_msaa_t image, int4 coord, int sample);
  14161. float __purefn __ovld read_imagef(read_only image2d_array_msaa_depth_t image, int4 coord, int sample);
  14162. #endif //cl_khr_gl_msaa_sharing
  14163. // OpenCL Extension v2.0 s9.18 - Mipmaps
  14164. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14165. #ifdef cl_khr_mipmap_image
  14166. float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14167. int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14168. uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14169. float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14170. int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14171. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14172. float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14173. int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14174. uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14175. float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord, float lod);
  14176. float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14177. int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14178. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14179. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod);
  14180. float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14181. int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14182. uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14183. float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14184. int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14185. uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14186. float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14187. int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14188. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14189. float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14190. int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14191. uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14192. float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14193. float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14194. int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14195. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14196. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14197. float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14198. int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14199. uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14200. float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14201. int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14202. uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord, float lod);
  14203. float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14204. int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14205. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14206. float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14207. int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14208. uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord, float lod);
  14209. float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord, float lod);
  14210. float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14211. int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14212. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14213. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod);
  14214. float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14215. int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14216. uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float lod);
  14217. #endif //cl_khr_mipmap_image
  14218. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14219. /**
  14220. * Sampler-less Image Access
  14221. */
  14222. float4 __purefn __ovld read_imagef(read_only image1d_t image, int coord);
  14223. int4 __purefn __ovld read_imagei(read_only image1d_t image, int coord);
  14224. uint4 __purefn __ovld read_imageui(read_only image1d_t image, int coord);
  14225. float4 __purefn __ovld read_imagef(read_only image1d_buffer_t image, int coord);
  14226. int4 __purefn __ovld read_imagei(read_only image1d_buffer_t image, int coord);
  14227. uint4 __purefn __ovld read_imageui(read_only image1d_buffer_t image, int coord);
  14228. float4 __purefn __ovld read_imagef(read_only image1d_array_t image, int2 coord);
  14229. int4 __purefn __ovld read_imagei(read_only image1d_array_t image, int2 coord);
  14230. uint4 __purefn __ovld read_imageui(read_only image1d_array_t image, int2 coord);
  14231. float4 __purefn __ovld read_imagef(read_only image2d_t image, int2 coord);
  14232. int4 __purefn __ovld read_imagei(read_only image2d_t image, int2 coord);
  14233. uint4 __purefn __ovld read_imageui(read_only image2d_t image, int2 coord);
  14234. float4 __purefn __ovld read_imagef(read_only image2d_array_t image, int4 coord);
  14235. int4 __purefn __ovld read_imagei(read_only image2d_array_t image, int4 coord);
  14236. uint4 __purefn __ovld read_imageui(read_only image2d_array_t image, int4 coord);
  14237. #ifdef cl_khr_depth_images
  14238. float __purefn __ovld read_imagef(read_only image2d_depth_t image, int2 coord);
  14239. float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, int4 coord);
  14240. #endif //cl_khr_depth_images
  14241. float4 __purefn __ovld read_imagef(read_only image3d_t image, int4 coord);
  14242. int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord);
  14243. uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord);
  14244. // Image read functions returning half4 type
  14245. #ifdef cl_khr_fp16
  14246. half4 __purefn __ovld read_imageh(read_only image1d_t image, sampler_t sampler, int coord);
  14247. half4 __purefn __ovld read_imageh(read_only image1d_t image, sampler_t sampler, float coord);
  14248. half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord);
  14249. half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord);
  14250. half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, int2 coord);
  14251. half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord);
  14252. half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord);
  14253. half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord);
  14254. half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, int4 coord);
  14255. half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, float4 coord);
  14256. half4 __purefn __ovld read_imageh(read_only image1d_t image, int coord);
  14257. half4 __purefn __ovld read_imageh(read_only image2d_t image, int2 coord);
  14258. half4 __purefn __ovld read_imageh(read_only image3d_t image, int4 coord);
  14259. half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord);
  14260. half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord);
  14261. half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord);
  14262. #endif //cl_khr_fp16
  14263. // Image read functions for read_write images
  14264. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14265. float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord);
  14266. int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord);
  14267. uint4 __purefn __ovld read_imageui(read_write image1d_t image, int coord);
  14268. float4 __purefn __ovld read_imagef(read_write image1d_buffer_t image, int coord);
  14269. int4 __purefn __ovld read_imagei(read_write image1d_buffer_t image, int coord);
  14270. uint4 __purefn __ovld read_imageui(read_write image1d_buffer_t image, int coord);
  14271. float4 __purefn __ovld read_imagef(read_write image1d_array_t image, int2 coord);
  14272. int4 __purefn __ovld read_imagei(read_write image1d_array_t image, int2 coord);
  14273. uint4 __purefn __ovld read_imageui(read_write image1d_array_t image, int2 coord);
  14274. float4 __purefn __ovld read_imagef(read_write image2d_t image, int2 coord);
  14275. int4 __purefn __ovld read_imagei(read_write image2d_t image, int2 coord);
  14276. uint4 __purefn __ovld read_imageui(read_write image2d_t image, int2 coord);
  14277. float4 __purefn __ovld read_imagef(read_write image2d_array_t image, int4 coord);
  14278. int4 __purefn __ovld read_imagei(read_write image2d_array_t image, int4 coord);
  14279. uint4 __purefn __ovld read_imageui(read_write image2d_array_t image, int4 coord);
  14280. float4 __purefn __ovld read_imagef(read_write image3d_t image, int4 coord);
  14281. int4 __purefn __ovld read_imagei(read_write image3d_t image, int4 coord);
  14282. uint4 __purefn __ovld read_imageui(read_write image3d_t image, int4 coord);
  14283. #ifdef cl_khr_depth_images
  14284. float __purefn __ovld read_imagef(read_write image2d_depth_t image, int2 coord);
  14285. float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, int4 coord);
  14286. #endif //cl_khr_depth_images
  14287. #if cl_khr_gl_msaa_sharing
  14288. float4 __purefn __ovld read_imagef(read_write image2d_msaa_t image, int2 coord, int sample);
  14289. int4 __purefn __ovld read_imagei(read_write image2d_msaa_t image, int2 coord, int sample);
  14290. uint4 __purefn __ovld read_imageui(read_write image2d_msaa_t image, int2 coord, int sample);
  14291. float4 __purefn __ovld read_imagef(read_write image2d_array_msaa_t image, int4 coord, int sample);
  14292. int4 __purefn __ovld read_imagei(read_write image2d_array_msaa_t image, int4 coord, int sample);
  14293. uint4 __purefn __ovld read_imageui(read_write image2d_array_msaa_t image, int4 coord, int sample);
  14294. float __purefn __ovld read_imagef(read_write image2d_msaa_depth_t image, int2 coord, int sample);
  14295. float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample);
  14296. #endif //cl_khr_gl_msaa_sharing
  14297. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14298. #ifdef cl_khr_mipmap_image
  14299. float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14300. int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14301. uint4 __purefn __ovld read_imageui(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14302. float4 __purefn __ovld read_imagef(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14303. int4 __purefn __ovld read_imagei(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14304. uint4 __purefn __ovld read_imageui(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14305. float4 __purefn __ovld read_imagef(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14306. int4 __purefn __ovld read_imagei(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14307. uint4 __purefn __ovld read_imageui(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14308. float __purefn __ovld read_imagef(read_write image2d_depth_t image, sampler_t sampler, float2 coord, float lod);
  14309. float4 __purefn __ovld read_imagef(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14310. int4 __purefn __ovld read_imagei(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14311. uint4 __purefn __ovld read_imageui(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14312. float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod);
  14313. float4 __purefn __ovld read_imagef(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14314. int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14315. uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14316. float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14317. int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14318. uint4 __purefn __ovld read_imageui(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY);
  14319. float4 __purefn __ovld read_imagef(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14320. int4 __purefn __ovld read_imagei(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14321. uint4 __purefn __ovld read_imageui(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY);
  14322. float4 __purefn __ovld read_imagef(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14323. int4 __purefn __ovld read_imagei(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14324. uint4 __purefn __ovld read_imageui(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14325. float __purefn __ovld read_imagef(read_write image2d_depth_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY);
  14326. float4 __purefn __ovld read_imagef(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14327. int4 __purefn __ovld read_imagei(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14328. uint4 __purefn __ovld read_imageui(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14329. float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY);
  14330. float4 __purefn __ovld read_imagef(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14331. int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14332. uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
  14333. float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14334. int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14335. uint4 __purefn __ovld read_imageui(read_write image1d_t image, sampler_t sampler, float coord, float lod);
  14336. float4 __purefn __ovld read_imagef(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14337. int4 __purefn __ovld read_imagei(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14338. uint4 __purefn __ovld read_imageui(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod);
  14339. float4 __purefn __ovld read_imagef(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14340. int4 __purefn __ovld read_imagei(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14341. uint4 __purefn __ovld read_imageui(read_write image2d_t image, sampler_t sampler, float2 coord, float lod);
  14342. float __purefn __ovld read_imagef(read_write image2d_depth_t image, sampler_t sampler, float2 coord, float lod);
  14343. float4 __purefn __ovld read_imagef(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14344. int4 __purefn __ovld read_imagei(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14345. uint4 __purefn __ovld read_imageui(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod);
  14346. float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod);
  14347. float4 __purefn __ovld read_imagef(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14348. int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14349. uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float lod);
  14350. #endif //cl_khr_mipmap_image
  14351. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14352. // Image read functions returning half4 type
  14353. #ifdef cl_khr_fp16
  14354. half4 __purefn __ovld read_imageh(read_write image1d_t image, int coord);
  14355. half4 __purefn __ovld read_imageh(read_write image2d_t image, int2 coord);
  14356. half4 __purefn __ovld read_imageh(read_write image3d_t image, int4 coord);
  14357. half4 __purefn __ovld read_imageh(read_write image1d_array_t image, int2 coord);
  14358. half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord);
  14359. half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord);
  14360. #endif //cl_khr_fp16
  14361. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14362. /**
  14363. * Write color value to location specified by coordinate
  14364. * (coord.x, coord.y) in the 2D image object specified by image.
  14365. * (coord.x, coord.y) are considered to be unnormalized coordinates
  14366. * and must be in the range 0 ... image width - 1, and 0
  14367. * ... image height - 1.
  14368. * Write color value to location specified by coordinate
  14369. * (coord.x, coord.y) in the 2D image object specified by index
  14370. * (coord.z) of the 2D image array object image_array.
  14371. * (coord.x, coord.y) are considered to be unnormalized
  14372. * coordinates and must be in the range 0 ... image width
  14373. * - 1.
  14374. *
  14375. * Write color value to location specified by coordinate
  14376. * (coord) in the 1D image (buffer) object specified by image.
  14377. * coord is considered to be unnormalized coordinates
  14378. * and must be in the range 0 ... image width - 1.
  14379. *
  14380. * Write color value to location specified by coordinate
  14381. * (coord.x) in the 1D image object specified by index
  14382. * (coord.y) of the 1D image array object image_array.
  14383. * x is considered to be unnormalized coordinates
  14384. * and must be in the range 0 ... image width - 1.
  14385. *
  14386. * Write color value to location specified by coordinate
  14387. * (coord.x, coord.y, coord.z) in the 3D image object specified by image.
  14388. * coord.x & coord.y are considered to be unnormalized coordinates
  14389. * and must be in the range 0 ... image width - 1, and 0
  14390. * ... image height - 1.
  14391. *
  14392. * For mipmap images, use mip-level specified by lod.
  14393. *
  14394. * Appropriate data format conversion to the specified
  14395. * image format is done before writing the color value.
  14396. *
  14397. * write_imagef can only be used with image objects
  14398. * created with image_channel_data_type set to one of
  14399. * the pre-defined packed formats or set to
  14400. * CL_SNORM_INT8, CL_UNORM_INT8,
  14401. * CL_SNORM_INT16, CL_UNORM_INT16,
  14402. * CL_HALF_FLOAT or CL_FLOAT. Appropriate data
  14403. * format conversion will be done to convert channel
  14404. * data from a floating-point value to actual data format
  14405. * in which the channels are stored.
  14406. *
  14407. * write_imagei can only be used with image objects
  14408. * created with image_channel_data_type set to one of
  14409. * the following values:
  14410. * CL_SIGNED_INT8,
  14411. * CL_SIGNED_INT16 and
  14412. * CL_SIGNED_INT32.
  14413. *
  14414. * write_imageui can only be used with image objects
  14415. * created with image_channel_data_type set to one of
  14416. * the following values:
  14417. * CL_UNSIGNED_INT8,
  14418. * CL_UNSIGNED_INT16 and
  14419. * CL_UNSIGNED_INT32.
  14420. *
  14421. * The behavior of write_imagef, write_imagei and
  14422. * write_imageui for image objects created with
  14423. * image_channel_data_type values not specified in
  14424. * the description above or with (x, y) coordinate
  14425. * values that are not in the range (0 ... image width -1,
  14426. * 0 ... image height - 1), respectively, is undefined.
  14427. */
  14428. void __ovld write_imagef(write_only image2d_t image, int2 coord, float4 color);
  14429. void __ovld write_imagei(write_only image2d_t image, int2 coord, int4 color);
  14430. void __ovld write_imageui(write_only image2d_t image, int2 coord, uint4 color);
  14431. void __ovld write_imagef(write_only image2d_array_t image_array, int4 coord, float4 color);
  14432. void __ovld write_imagei(write_only image2d_array_t image_array, int4 coord, int4 color);
  14433. void __ovld write_imageui(write_only image2d_array_t image_array, int4 coord, uint4 color);
  14434. void __ovld write_imagef(write_only image1d_t image, int coord, float4 color);
  14435. void __ovld write_imagei(write_only image1d_t image, int coord, int4 color);
  14436. void __ovld write_imageui(write_only image1d_t image, int coord, uint4 color);
  14437. void __ovld write_imagef(write_only image1d_buffer_t image, int coord, float4 color);
  14438. void __ovld write_imagei(write_only image1d_buffer_t image, int coord, int4 color);
  14439. void __ovld write_imageui(write_only image1d_buffer_t image, int coord, uint4 color);
  14440. void __ovld write_imagef(write_only image1d_array_t image_array, int2 coord, float4 color);
  14441. void __ovld write_imagei(write_only image1d_array_t image_array, int2 coord, int4 color);
  14442. void __ovld write_imageui(write_only image1d_array_t image_array, int2 coord, uint4 color);
  14443. #ifdef cl_khr_3d_image_writes
  14444. void __ovld write_imagef(write_only image3d_t image, int4 coord, float4 color);
  14445. void __ovld write_imagei(write_only image3d_t image, int4 coord, int4 color);
  14446. void __ovld write_imageui(write_only image3d_t image, int4 coord, uint4 color);
  14447. #endif
  14448. #ifdef cl_khr_depth_images
  14449. void __ovld write_imagef(write_only image2d_depth_t image, int2 coord, float color);
  14450. void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, float color);
  14451. #endif //cl_khr_depth_images
  14452. // OpenCL Extension v2.0 s9.18 - Mipmaps
  14453. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14454. #ifdef cl_khr_mipmap_image
  14455. void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color);
  14456. void __ovld write_imagei(write_only image1d_t image, int coord, int lod, int4 color);
  14457. void __ovld write_imageui(write_only image1d_t image, int coord, int lod, uint4 color);
  14458. void __ovld write_imagef(write_only image1d_array_t image_array, int2 coord, int lod, float4 color);
  14459. void __ovld write_imagei(write_only image1d_array_t image_array, int2 coord, int lod, int4 color);
  14460. void __ovld write_imageui(write_only image1d_array_t image_array, int2 coord, int lod, uint4 color);
  14461. void __ovld write_imagef(write_only image2d_t image, int2 coord, int lod, float4 color);
  14462. void __ovld write_imagei(write_only image2d_t image, int2 coord, int lod, int4 color);
  14463. void __ovld write_imageui(write_only image2d_t image, int2 coord, int lod, uint4 color);
  14464. void __ovld write_imagef(write_only image2d_array_t image_array, int4 coord, int lod, float4 color);
  14465. void __ovld write_imagei(write_only image2d_array_t image_array, int4 coord, int lod, int4 color);
  14466. void __ovld write_imageui(write_only image2d_array_t image_array, int4 coord, int lod, uint4 color);
  14467. void __ovld write_imagef(write_only image2d_depth_t image, int2 coord, int lod, float color);
  14468. void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, int lod, float color);
  14469. #ifdef cl_khr_3d_image_writes
  14470. void __ovld write_imagef(write_only image3d_t image, int4 coord, int lod, float4 color);
  14471. void __ovld write_imagei(write_only image3d_t image, int4 coord, int lod, int4 color);
  14472. void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color);
  14473. #endif
  14474. #endif //cl_khr_mipmap_image
  14475. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14476. // Image write functions for half4 type
  14477. #ifdef cl_khr_fp16
  14478. void __ovld write_imageh(write_only image1d_t image, int coord, half4 color);
  14479. void __ovld write_imageh(write_only image2d_t image, int2 coord, half4 color);
  14480. #ifdef cl_khr_3d_image_writes
  14481. void __ovld write_imageh(write_only image3d_t image, int4 coord, half4 color);
  14482. #endif
  14483. void __ovld write_imageh(write_only image1d_array_t image, int2 coord, half4 color);
  14484. void __ovld write_imageh(write_only image2d_array_t image, int4 coord, half4 color);
  14485. void __ovld write_imageh(write_only image1d_buffer_t image, int coord, half4 color);
  14486. #endif //cl_khr_fp16
  14487. // Image write functions for read_write images
  14488. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14489. void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color);
  14490. void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color);
  14491. void __ovld write_imageui(read_write image2d_t image, int2 coord, uint4 color);
  14492. void __ovld write_imagef(read_write image2d_array_t image_array, int4 coord, float4 color);
  14493. void __ovld write_imagei(read_write image2d_array_t image_array, int4 coord, int4 color);
  14494. void __ovld write_imageui(read_write image2d_array_t image_array, int4 coord, uint4 color);
  14495. void __ovld write_imagef(read_write image1d_t image, int coord, float4 color);
  14496. void __ovld write_imagei(read_write image1d_t image, int coord, int4 color);
  14497. void __ovld write_imageui(read_write image1d_t image, int coord, uint4 color);
  14498. void __ovld write_imagef(read_write image1d_buffer_t image, int coord, float4 color);
  14499. void __ovld write_imagei(read_write image1d_buffer_t image, int coord, int4 color);
  14500. void __ovld write_imageui(read_write image1d_buffer_t image, int coord, uint4 color);
  14501. void __ovld write_imagef(read_write image1d_array_t image_array, int2 coord, float4 color);
  14502. void __ovld write_imagei(read_write image1d_array_t image_array, int2 coord, int4 color);
  14503. void __ovld write_imageui(read_write image1d_array_t image_array, int2 coord, uint4 color);
  14504. #ifdef cl_khr_3d_image_writes
  14505. void __ovld write_imagef(read_write image3d_t image, int4 coord, float4 color);
  14506. void __ovld write_imagei(read_write image3d_t image, int4 coord, int4 color);
  14507. void __ovld write_imageui(read_write image3d_t image, int4 coord, uint4 color);
  14508. #endif
  14509. #ifdef cl_khr_depth_images
  14510. void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, float color);
  14511. void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color);
  14512. #endif //cl_khr_depth_images
  14513. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14514. #ifdef cl_khr_mipmap_image
  14515. void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color);
  14516. void __ovld write_imagei(read_write image1d_t image, int coord, int lod, int4 color);
  14517. void __ovld write_imageui(read_write image1d_t image, int coord, int lod, uint4 color);
  14518. void __ovld write_imagef(read_write image1d_array_t image_array, int2 coord, int lod, float4 color);
  14519. void __ovld write_imagei(read_write image1d_array_t image_array, int2 coord, int lod, int4 color);
  14520. void __ovld write_imageui(read_write image1d_array_t image_array, int2 coord, int lod, uint4 color);
  14521. void __ovld write_imagef(read_write image2d_t image, int2 coord, int lod, float4 color);
  14522. void __ovld write_imagei(read_write image2d_t image, int2 coord, int lod, int4 color);
  14523. void __ovld write_imageui(read_write image2d_t image, int2 coord, int lod, uint4 color);
  14524. void __ovld write_imagef(read_write image2d_array_t image_array, int4 coord, int lod, float4 color);
  14525. void __ovld write_imagei(read_write image2d_array_t image_array, int4 coord, int lod, int4 color);
  14526. void __ovld write_imageui(read_write image2d_array_t image_array, int4 coord, int lod, uint4 color);
  14527. void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, int lod, float color);
  14528. void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, int lod, float color);
  14529. #ifdef cl_khr_3d_image_writes
  14530. void __ovld write_imagef(read_write image3d_t image, int4 coord, int lod, float4 color);
  14531. void __ovld write_imagei(read_write image3d_t image, int4 coord, int lod, int4 color);
  14532. void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color);
  14533. #endif
  14534. #endif //cl_khr_mipmap_image
  14535. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14536. // Image write functions for half4 type
  14537. #ifdef cl_khr_fp16
  14538. void __ovld write_imageh(read_write image1d_t image, int coord, half4 color);
  14539. void __ovld write_imageh(read_write image2d_t image, int2 coord, half4 color);
  14540. #ifdef cl_khr_3d_image_writes
  14541. void __ovld write_imageh(read_write image3d_t image, int4 coord, half4 color);
  14542. #endif
  14543. void __ovld write_imageh(read_write image1d_array_t image, int2 coord, half4 color);
  14544. void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color);
  14545. void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color);
  14546. #endif //cl_khr_fp16
  14547. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14548. // Note: In OpenCL v1.0/1.1/1.2, image argument of image query builtin functions does not have
  14549. // access qualifier, which by default assume read_only access qualifier. Image query builtin
  14550. // functions with write_only image argument should also be declared.
  14551. /**
  14552. * Return the image width in pixels.
  14553. *
  14554. */
  14555. int __ovld __cnfn get_image_width(read_only image1d_t image);
  14556. int __ovld __cnfn get_image_width(read_only image1d_buffer_t image);
  14557. int __ovld __cnfn get_image_width(read_only image2d_t image);
  14558. #ifdef cl_khr_3d_image_writes
  14559. int __ovld __cnfn get_image_width(read_only image3d_t image);
  14560. #endif
  14561. int __ovld __cnfn get_image_width(read_only image1d_array_t image);
  14562. int __ovld __cnfn get_image_width(read_only image2d_array_t image);
  14563. #ifdef cl_khr_depth_images
  14564. int __ovld __cnfn get_image_width(read_only image2d_depth_t image);
  14565. int __ovld __cnfn get_image_width(read_only image2d_array_depth_t image);
  14566. #endif //cl_khr_depth_images
  14567. #if defined(cl_khr_gl_msaa_sharing)
  14568. int __ovld __cnfn get_image_width(read_only image2d_msaa_t image);
  14569. int __ovld __cnfn get_image_width(read_only image2d_msaa_depth_t image);
  14570. int __ovld __cnfn get_image_width(read_only image2d_array_msaa_t image);
  14571. int __ovld __cnfn get_image_width(read_only image2d_array_msaa_depth_t image);
  14572. #endif //cl_khr_gl_msaa_sharing
  14573. int __ovld __cnfn get_image_width(write_only image1d_t image);
  14574. int __ovld __cnfn get_image_width(write_only image1d_buffer_t image);
  14575. int __ovld __cnfn get_image_width(write_only image2d_t image);
  14576. #ifdef cl_khr_3d_image_writes
  14577. int __ovld __cnfn get_image_width(write_only image3d_t image);
  14578. #endif
  14579. int __ovld __cnfn get_image_width(write_only image1d_array_t image);
  14580. int __ovld __cnfn get_image_width(write_only image2d_array_t image);
  14581. #ifdef cl_khr_depth_images
  14582. int __ovld __cnfn get_image_width(write_only image2d_depth_t image);
  14583. int __ovld __cnfn get_image_width(write_only image2d_array_depth_t image);
  14584. #endif //cl_khr_depth_images
  14585. #if defined(cl_khr_gl_msaa_sharing)
  14586. int __ovld __cnfn get_image_width(write_only image2d_msaa_t image);
  14587. int __ovld __cnfn get_image_width(write_only image2d_msaa_depth_t image);
  14588. int __ovld __cnfn get_image_width(write_only image2d_array_msaa_t image);
  14589. int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image);
  14590. #endif //cl_khr_gl_msaa_sharing
  14591. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14592. int __ovld __cnfn get_image_width(read_write image1d_t image);
  14593. int __ovld __cnfn get_image_width(read_write image1d_buffer_t image);
  14594. int __ovld __cnfn get_image_width(read_write image2d_t image);
  14595. int __ovld __cnfn get_image_width(read_write image3d_t image);
  14596. int __ovld __cnfn get_image_width(read_write image1d_array_t image);
  14597. int __ovld __cnfn get_image_width(read_write image2d_array_t image);
  14598. #ifdef cl_khr_depth_images
  14599. int __ovld __cnfn get_image_width(read_write image2d_depth_t image);
  14600. int __ovld __cnfn get_image_width(read_write image2d_array_depth_t image);
  14601. #endif //cl_khr_depth_images
  14602. #if defined(cl_khr_gl_msaa_sharing)
  14603. int __ovld __cnfn get_image_width(read_write image2d_msaa_t image);
  14604. int __ovld __cnfn get_image_width(read_write image2d_msaa_depth_t image);
  14605. int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image);
  14606. int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image);
  14607. #endif //cl_khr_gl_msaa_sharing
  14608. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14609. /**
  14610. * Return the image height in pixels.
  14611. */
  14612. int __ovld __cnfn get_image_height(read_only image2d_t image);
  14613. int __ovld __cnfn get_image_height(read_only image3d_t image);
  14614. int __ovld __cnfn get_image_height(read_only image2d_array_t image);
  14615. #ifdef cl_khr_depth_images
  14616. int __ovld __cnfn get_image_height(read_only image2d_depth_t image);
  14617. int __ovld __cnfn get_image_height(read_only image2d_array_depth_t image);
  14618. #endif //cl_khr_depth_images
  14619. #if defined(cl_khr_gl_msaa_sharing)
  14620. int __ovld __cnfn get_image_height(read_only image2d_msaa_t image);
  14621. int __ovld __cnfn get_image_height(read_only image2d_msaa_depth_t image);
  14622. int __ovld __cnfn get_image_height(read_only image2d_array_msaa_t image);
  14623. int __ovld __cnfn get_image_height(read_only image2d_array_msaa_depth_t image);
  14624. #endif //cl_khr_gl_msaa_sharing
  14625. int __ovld __cnfn get_image_height(write_only image2d_t image);
  14626. #ifdef cl_khr_3d_image_writes
  14627. int __ovld __cnfn get_image_height(write_only image3d_t image);
  14628. #endif
  14629. int __ovld __cnfn get_image_height(write_only image2d_array_t image);
  14630. #ifdef cl_khr_depth_images
  14631. int __ovld __cnfn get_image_height(write_only image2d_depth_t image);
  14632. int __ovld __cnfn get_image_height(write_only image2d_array_depth_t image);
  14633. #endif //cl_khr_depth_images
  14634. #if defined(cl_khr_gl_msaa_sharing)
  14635. int __ovld __cnfn get_image_height(write_only image2d_msaa_t image);
  14636. int __ovld __cnfn get_image_height(write_only image2d_msaa_depth_t image);
  14637. int __ovld __cnfn get_image_height(write_only image2d_array_msaa_t image);
  14638. int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image);
  14639. #endif //cl_khr_gl_msaa_sharing
  14640. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14641. int __ovld __cnfn get_image_height(read_write image2d_t image);
  14642. int __ovld __cnfn get_image_height(read_write image3d_t image);
  14643. int __ovld __cnfn get_image_height(read_write image2d_array_t image);
  14644. #ifdef cl_khr_depth_images
  14645. int __ovld __cnfn get_image_height(read_write image2d_depth_t image);
  14646. int __ovld __cnfn get_image_height(read_write image2d_array_depth_t image);
  14647. #endif //cl_khr_depth_images
  14648. #if defined(cl_khr_gl_msaa_sharing)
  14649. int __ovld __cnfn get_image_height(read_write image2d_msaa_t image);
  14650. int __ovld __cnfn get_image_height(read_write image2d_msaa_depth_t image);
  14651. int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image);
  14652. int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image);
  14653. #endif //cl_khr_gl_msaa_sharing
  14654. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14655. /**
  14656. * Return the image depth in pixels.
  14657. */
  14658. int __ovld __cnfn get_image_depth(read_only image3d_t image);
  14659. #ifdef cl_khr_3d_image_writes
  14660. int __ovld __cnfn get_image_depth(write_only image3d_t image);
  14661. #endif
  14662. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14663. int __ovld __cnfn get_image_depth(read_write image3d_t image);
  14664. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14665. // OpenCL Extension v2.0 s9.18 - Mipmaps
  14666. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14667. #ifdef cl_khr_mipmap_image
  14668. /**
  14669. * Return the image miplevels.
  14670. */
  14671. int __ovld get_image_num_mip_levels(read_only image1d_t image);
  14672. int __ovld get_image_num_mip_levels(read_only image2d_t image);
  14673. int __ovld get_image_num_mip_levels(read_only image3d_t image);
  14674. int __ovld get_image_num_mip_levels(write_only image1d_t image);
  14675. int __ovld get_image_num_mip_levels(write_only image2d_t image);
  14676. #ifdef cl_khr_3d_image_writes
  14677. int __ovld get_image_num_mip_levels(write_only image3d_t image);
  14678. #endif
  14679. int __ovld get_image_num_mip_levels(read_write image1d_t image);
  14680. int __ovld get_image_num_mip_levels(read_write image2d_t image);
  14681. int __ovld get_image_num_mip_levels(read_write image3d_t image);
  14682. int __ovld get_image_num_mip_levels(read_only image1d_array_t image);
  14683. int __ovld get_image_num_mip_levels(read_only image2d_array_t image);
  14684. int __ovld get_image_num_mip_levels(read_only image2d_array_depth_t image);
  14685. int __ovld get_image_num_mip_levels(read_only image2d_depth_t image);
  14686. int __ovld get_image_num_mip_levels(write_only image1d_array_t image);
  14687. int __ovld get_image_num_mip_levels(write_only image2d_array_t image);
  14688. int __ovld get_image_num_mip_levels(write_only image2d_array_depth_t image);
  14689. int __ovld get_image_num_mip_levels(write_only image2d_depth_t image);
  14690. int __ovld get_image_num_mip_levels(read_write image1d_array_t image);
  14691. int __ovld get_image_num_mip_levels(read_write image2d_array_t image);
  14692. int __ovld get_image_num_mip_levels(read_write image2d_array_depth_t image);
  14693. int __ovld get_image_num_mip_levels(read_write image2d_depth_t image);
  14694. #endif //cl_khr_mipmap_image
  14695. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14696. /**
  14697. * Return the channel data type. Valid values are:
  14698. * CLK_SNORM_INT8
  14699. * CLK_SNORM_INT16
  14700. * CLK_UNORM_INT8
  14701. * CLK_UNORM_INT16
  14702. * CLK_UNORM_SHORT_565
  14703. * CLK_UNORM_SHORT_555
  14704. * CLK_UNORM_SHORT_101010
  14705. * CLK_SIGNED_INT8
  14706. * CLK_SIGNED_INT16
  14707. * CLK_SIGNED_INT32
  14708. * CLK_UNSIGNED_INT8
  14709. * CLK_UNSIGNED_INT16
  14710. * CLK_UNSIGNED_INT32
  14711. * CLK_HALF_FLOAT
  14712. * CLK_FLOAT
  14713. */
  14714. //
  14715. // Channel Datatype.
  14716. //
  14717. #define CLK_SNORM_INT8 0x10D0
  14718. #define CLK_SNORM_INT16 0x10D1
  14719. #define CLK_UNORM_INT8 0x10D2
  14720. #define CLK_UNORM_INT16 0x10D3
  14721. #define CLK_UNORM_SHORT_565 0x10D4
  14722. #define CLK_UNORM_SHORT_555 0x10D5
  14723. #define CLK_UNORM_INT_101010 0x10D6
  14724. #define CLK_SIGNED_INT8 0x10D7
  14725. #define CLK_SIGNED_INT16 0x10D8
  14726. #define CLK_SIGNED_INT32 0x10D9
  14727. #define CLK_UNSIGNED_INT8 0x10DA
  14728. #define CLK_UNSIGNED_INT16 0x10DB
  14729. #define CLK_UNSIGNED_INT32 0x10DC
  14730. #define CLK_HALF_FLOAT 0x10DD
  14731. #define CLK_FLOAT 0x10DE
  14732. #define CLK_UNORM_INT24 0x10DF
  14733. int __ovld __cnfn get_image_channel_data_type(read_only image1d_t image);
  14734. int __ovld __cnfn get_image_channel_data_type(read_only image1d_buffer_t image);
  14735. int __ovld __cnfn get_image_channel_data_type(read_only image2d_t image);
  14736. int __ovld __cnfn get_image_channel_data_type(read_only image3d_t image);
  14737. int __ovld __cnfn get_image_channel_data_type(read_only image1d_array_t image);
  14738. int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_t image);
  14739. #ifdef cl_khr_depth_images
  14740. int __ovld __cnfn get_image_channel_data_type(read_only image2d_depth_t image);
  14741. int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_depth_t image);
  14742. #endif //cl_khr_depth_images
  14743. #if defined(cl_khr_gl_msaa_sharing)
  14744. int __ovld __cnfn get_image_channel_data_type(read_only image2d_msaa_t image);
  14745. int __ovld __cnfn get_image_channel_data_type(read_only image2d_msaa_depth_t image);
  14746. int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_msaa_t image);
  14747. int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_msaa_depth_t image);
  14748. #endif //cl_khr_gl_msaa_sharing
  14749. int __ovld __cnfn get_image_channel_data_type(write_only image1d_t image);
  14750. int __ovld __cnfn get_image_channel_data_type(write_only image1d_buffer_t image);
  14751. int __ovld __cnfn get_image_channel_data_type(write_only image2d_t image);
  14752. #ifdef cl_khr_3d_image_writes
  14753. int __ovld __cnfn get_image_channel_data_type(write_only image3d_t image);
  14754. #endif
  14755. int __ovld __cnfn get_image_channel_data_type(write_only image1d_array_t image);
  14756. int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_t image);
  14757. #ifdef cl_khr_depth_images
  14758. int __ovld __cnfn get_image_channel_data_type(write_only image2d_depth_t image);
  14759. int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_depth_t image);
  14760. #endif //cl_khr_depth_images
  14761. #if defined(cl_khr_gl_msaa_sharing)
  14762. int __ovld __cnfn get_image_channel_data_type(write_only image2d_msaa_t image);
  14763. int __ovld __cnfn get_image_channel_data_type(write_only image2d_msaa_depth_t image);
  14764. int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_t image);
  14765. int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image);
  14766. #endif //cl_khr_gl_msaa_sharing
  14767. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14768. int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image);
  14769. int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image);
  14770. int __ovld __cnfn get_image_channel_data_type(read_write image2d_t image);
  14771. int __ovld __cnfn get_image_channel_data_type(read_write image3d_t image);
  14772. int __ovld __cnfn get_image_channel_data_type(read_write image1d_array_t image);
  14773. int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_t image);
  14774. #ifdef cl_khr_depth_images
  14775. int __ovld __cnfn get_image_channel_data_type(read_write image2d_depth_t image);
  14776. int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_depth_t image);
  14777. #endif //cl_khr_depth_images
  14778. #if defined(cl_khr_gl_msaa_sharing)
  14779. int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_t image);
  14780. int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_depth_t image);
  14781. int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image);
  14782. int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image);
  14783. #endif //cl_khr_gl_msaa_sharing
  14784. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14785. /**
  14786. * Return the image channel order. Valid values are:
  14787. * CLK_A
  14788. * CLK_R
  14789. * CLK_Rx
  14790. * CLK_RG
  14791. * CLK_RGx
  14792. * CLK_RA
  14793. * CLK_RGB
  14794. * CLK_RGBx
  14795. * CLK_RGBA
  14796. * CLK_ARGB
  14797. * CLK_BGRA
  14798. * CLK_INTENSITY
  14799. * CLK_LUMINANCE
  14800. */
  14801. // Channel order, numbering must be aligned with cl_channel_order in cl.h
  14802. //
  14803. #define CLK_R 0x10B0
  14804. #define CLK_A 0x10B1
  14805. #define CLK_RG 0x10B2
  14806. #define CLK_RA 0x10B3
  14807. #define CLK_RGB 0x10B4
  14808. #define CLK_RGBA 0x10B5
  14809. #define CLK_BGRA 0x10B6
  14810. #define CLK_ARGB 0x10B7
  14811. #define CLK_INTENSITY 0x10B8
  14812. #define CLK_LUMINANCE 0x10B9
  14813. #define CLK_Rx 0x10BA
  14814. #define CLK_RGx 0x10BB
  14815. #define CLK_RGBx 0x10BC
  14816. #define CLK_DEPTH 0x10BD
  14817. #define CLK_DEPTH_STENCIL 0x10BE
  14818. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14819. #define CLK_sRGB 0x10BF
  14820. #define CLK_sRGBA 0x10C1
  14821. #define CLK_sRGBx 0x10C0
  14822. #define CLK_sBGRA 0x10C2
  14823. #define CLK_ABGR 0x10C3
  14824. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14825. int __ovld __cnfn get_image_channel_order(read_only image1d_t image);
  14826. int __ovld __cnfn get_image_channel_order(read_only image1d_buffer_t image);
  14827. int __ovld __cnfn get_image_channel_order(read_only image2d_t image);
  14828. int __ovld __cnfn get_image_channel_order(read_only image3d_t image);
  14829. int __ovld __cnfn get_image_channel_order(read_only image1d_array_t image);
  14830. int __ovld __cnfn get_image_channel_order(read_only image2d_array_t image);
  14831. #ifdef cl_khr_depth_images
  14832. int __ovld __cnfn get_image_channel_order(read_only image2d_depth_t image);
  14833. int __ovld __cnfn get_image_channel_order(read_only image2d_array_depth_t image);
  14834. #endif //cl_khr_depth_images
  14835. #if defined(cl_khr_gl_msaa_sharing)
  14836. int __ovld __cnfn get_image_channel_order(read_only image2d_msaa_t image);
  14837. int __ovld __cnfn get_image_channel_order(read_only image2d_msaa_depth_t image);
  14838. int __ovld __cnfn get_image_channel_order(read_only image2d_array_msaa_t image);
  14839. int __ovld __cnfn get_image_channel_order(read_only image2d_array_msaa_depth_t image);
  14840. #endif //cl_khr_gl_msaa_sharing
  14841. int __ovld __cnfn get_image_channel_order(write_only image1d_t image);
  14842. int __ovld __cnfn get_image_channel_order(write_only image1d_buffer_t image);
  14843. int __ovld __cnfn get_image_channel_order(write_only image2d_t image);
  14844. #ifdef cl_khr_3d_image_writes
  14845. int __ovld __cnfn get_image_channel_order(write_only image3d_t image);
  14846. #endif
  14847. int __ovld __cnfn get_image_channel_order(write_only image1d_array_t image);
  14848. int __ovld __cnfn get_image_channel_order(write_only image2d_array_t image);
  14849. #ifdef cl_khr_depth_images
  14850. int __ovld __cnfn get_image_channel_order(write_only image2d_depth_t image);
  14851. int __ovld __cnfn get_image_channel_order(write_only image2d_array_depth_t image);
  14852. #endif //cl_khr_depth_images
  14853. #if defined(cl_khr_gl_msaa_sharing)
  14854. int __ovld __cnfn get_image_channel_order(write_only image2d_msaa_t image);
  14855. int __ovld __cnfn get_image_channel_order(write_only image2d_msaa_depth_t image);
  14856. int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_t image);
  14857. int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image);
  14858. #endif //cl_khr_gl_msaa_sharing
  14859. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14860. int __ovld __cnfn get_image_channel_order(read_write image1d_t image);
  14861. int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image);
  14862. int __ovld __cnfn get_image_channel_order(read_write image2d_t image);
  14863. int __ovld __cnfn get_image_channel_order(read_write image3d_t image);
  14864. int __ovld __cnfn get_image_channel_order(read_write image1d_array_t image);
  14865. int __ovld __cnfn get_image_channel_order(read_write image2d_array_t image);
  14866. #ifdef cl_khr_depth_images
  14867. int __ovld __cnfn get_image_channel_order(read_write image2d_depth_t image);
  14868. int __ovld __cnfn get_image_channel_order(read_write image2d_array_depth_t image);
  14869. #endif //cl_khr_depth_images
  14870. #if defined(cl_khr_gl_msaa_sharing)
  14871. int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_t image);
  14872. int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_depth_t image);
  14873. int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image);
  14874. int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image);
  14875. #endif //cl_khr_gl_msaa_sharing
  14876. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14877. /**
  14878. * Return the 2D image width and height as an int2
  14879. * type. The width is returned in the x component, and
  14880. * the height in the y component.
  14881. */
  14882. int2 __ovld __cnfn get_image_dim(read_only image2d_t image);
  14883. int2 __ovld __cnfn get_image_dim(read_only image2d_array_t image);
  14884. #ifdef cl_khr_depth_images
  14885. int2 __ovld __cnfn get_image_dim(read_only image2d_array_depth_t image);
  14886. int2 __ovld __cnfn get_image_dim(read_only image2d_depth_t image);
  14887. #endif //cl_khr_depth_images
  14888. #if defined(cl_khr_gl_msaa_sharing)
  14889. int2 __ovld __cnfn get_image_dim(read_only image2d_msaa_t image);
  14890. int2 __ovld __cnfn get_image_dim(read_only image2d_msaa_depth_t image);
  14891. int2 __ovld __cnfn get_image_dim(read_only image2d_array_msaa_t image);
  14892. int2 __ovld __cnfn get_image_dim(read_only image2d_array_msaa_depth_t image);
  14893. #endif //cl_khr_gl_msaa_sharing
  14894. int2 __ovld __cnfn get_image_dim(write_only image2d_t image);
  14895. int2 __ovld __cnfn get_image_dim(write_only image2d_array_t image);
  14896. #ifdef cl_khr_depth_images
  14897. int2 __ovld __cnfn get_image_dim(write_only image2d_array_depth_t image);
  14898. int2 __ovld __cnfn get_image_dim(write_only image2d_depth_t image);
  14899. #endif //cl_khr_depth_images
  14900. #if defined(cl_khr_gl_msaa_sharing)
  14901. int2 __ovld __cnfn get_image_dim(write_only image2d_msaa_t image);
  14902. int2 __ovld __cnfn get_image_dim(write_only image2d_msaa_depth_t image);
  14903. int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_t image);
  14904. int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image);
  14905. #endif //cl_khr_gl_msaa_sharing
  14906. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14907. int2 __ovld __cnfn get_image_dim(read_write image2d_t image);
  14908. int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image);
  14909. #ifdef cl_khr_depth_images
  14910. int2 __ovld __cnfn get_image_dim(read_write image2d_array_depth_t image);
  14911. int2 __ovld __cnfn get_image_dim(read_write image2d_depth_t image);
  14912. #endif //cl_khr_depth_images
  14913. #if defined(cl_khr_gl_msaa_sharing)
  14914. int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_t image);
  14915. int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_depth_t image);
  14916. int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image);
  14917. int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image);
  14918. #endif //cl_khr_gl_msaa_sharing
  14919. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14920. /**
  14921. * Return the 3D image width, height, and depth as an
  14922. * int4 type. The width is returned in the x
  14923. * component, height in the y component, depth in the z
  14924. * component and the w component is 0.
  14925. */
  14926. int4 __ovld __cnfn get_image_dim(read_only image3d_t image);
  14927. #ifdef cl_khr_3d_image_writes
  14928. int4 __ovld __cnfn get_image_dim(write_only image3d_t image);
  14929. #endif
  14930. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14931. int4 __ovld __cnfn get_image_dim(read_write image3d_t image);
  14932. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14933. /**
  14934. * Return the image array size.
  14935. */
  14936. size_t __ovld __cnfn get_image_array_size(read_only image1d_array_t image_array);
  14937. size_t __ovld __cnfn get_image_array_size(read_only image2d_array_t image_array);
  14938. #ifdef cl_khr_depth_images
  14939. size_t __ovld __cnfn get_image_array_size(read_only image2d_array_depth_t image_array);
  14940. #endif //cl_khr_depth_images
  14941. #if defined(cl_khr_gl_msaa_sharing)
  14942. size_t __ovld __cnfn get_image_array_size(read_only image2d_array_msaa_t image_array);
  14943. size_t __ovld __cnfn get_image_array_size(read_only image2d_array_msaa_depth_t image_array);
  14944. #endif //cl_khr_gl_msaa_sharing
  14945. size_t __ovld __cnfn get_image_array_size(write_only image1d_array_t image_array);
  14946. size_t __ovld __cnfn get_image_array_size(write_only image2d_array_t image_array);
  14947. #ifdef cl_khr_depth_images
  14948. size_t __ovld __cnfn get_image_array_size(write_only image2d_array_depth_t image_array);
  14949. #endif //cl_khr_depth_images
  14950. #if defined(cl_khr_gl_msaa_sharing)
  14951. size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_t image_array);
  14952. size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array);
  14953. #endif //cl_khr_gl_msaa_sharing
  14954. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14955. size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array);
  14956. size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array);
  14957. #ifdef cl_khr_depth_images
  14958. size_t __ovld __cnfn get_image_array_size(read_write image2d_array_depth_t image_array);
  14959. #endif //cl_khr_depth_images
  14960. #if defined(cl_khr_gl_msaa_sharing)
  14961. size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array);
  14962. size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array);
  14963. #endif //cl_khr_gl_msaa_sharing
  14964. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14965. /**
  14966. * Return the number of samples associated with image
  14967. */
  14968. #if defined(cl_khr_gl_msaa_sharing)
  14969. int __ovld get_image_num_samples(read_only image2d_msaa_t image);
  14970. int __ovld get_image_num_samples(read_only image2d_msaa_depth_t image);
  14971. int __ovld get_image_num_samples(read_only image2d_array_msaa_depth_t image);
  14972. int __ovld get_image_num_samples(read_only image2d_array_msaa_t image);
  14973. int __ovld get_image_num_samples(read_only image2d_array_msaa_depth_t image);
  14974. int __ovld get_image_num_samples(write_only image2d_msaa_t image);
  14975. int __ovld get_image_num_samples(write_only image2d_msaa_depth_t image);
  14976. int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image);
  14977. int __ovld get_image_num_samples(write_only image2d_array_msaa_t image);
  14978. int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image);
  14979. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14980. int __ovld get_image_num_samples(read_write image2d_msaa_t image);
  14981. int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image);
  14982. int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image);
  14983. int __ovld get_image_num_samples(read_write image2d_array_msaa_t image);
  14984. int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image);
  14985. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14986. #endif
  14987. // OpenCL v2.0 s6.13.15 - Work-group Functions
  14988. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  14989. int __ovld __conv work_group_all(int predicate);
  14990. int __ovld __conv work_group_any(int predicate);
  14991. #ifdef cl_khr_fp16
  14992. half __ovld __conv work_group_broadcast(half a, size_t local_id);
  14993. half __ovld __conv work_group_broadcast(half a, size_t x, size_t y);
  14994. half __ovld __conv work_group_broadcast(half a, size_t x, size_t y, size_t z);
  14995. #endif
  14996. int __ovld __conv work_group_broadcast(int a, size_t local_id);
  14997. int __ovld __conv work_group_broadcast(int a, size_t x, size_t y);
  14998. int __ovld __conv work_group_broadcast(int a, size_t x, size_t y, size_t z);
  14999. uint __ovld __conv work_group_broadcast(uint a, size_t local_id);
  15000. uint __ovld __conv work_group_broadcast(uint a, size_t x, size_t y);
  15001. uint __ovld __conv work_group_broadcast(uint a, size_t x, size_t y, size_t z);
  15002. long __ovld __conv work_group_broadcast(long a, size_t local_id);
  15003. long __ovld __conv work_group_broadcast(long a, size_t x, size_t y);
  15004. long __ovld __conv work_group_broadcast(long a, size_t x, size_t y, size_t z);
  15005. ulong __ovld __conv work_group_broadcast(ulong a, size_t local_id);
  15006. ulong __ovld __conv work_group_broadcast(ulong a, size_t x, size_t y);
  15007. ulong __ovld __conv work_group_broadcast(ulong a, size_t x, size_t y, size_t z);
  15008. float __ovld __conv work_group_broadcast(float a, size_t local_id);
  15009. float __ovld __conv work_group_broadcast(float a, size_t x, size_t y);
  15010. float __ovld __conv work_group_broadcast(float a, size_t x, size_t y, size_t z);
  15011. #ifdef cl_khr_fp64
  15012. double __ovld __conv work_group_broadcast(double a, size_t local_id);
  15013. double __ovld __conv work_group_broadcast(double a, size_t x, size_t y);
  15014. double __ovld __conv work_group_broadcast(double a, size_t x, size_t y, size_t z);
  15015. #endif //cl_khr_fp64
  15016. #ifdef cl_khr_fp16
  15017. half __ovld __conv work_group_reduce_add(half x);
  15018. half __ovld __conv work_group_reduce_min(half x);
  15019. half __ovld __conv work_group_reduce_max(half x);
  15020. half __ovld __conv work_group_scan_exclusive_add(half x);
  15021. half __ovld __conv work_group_scan_exclusive_min(half x);
  15022. half __ovld __conv work_group_scan_exclusive_max(half x);
  15023. half __ovld __conv work_group_scan_inclusive_add(half x);
  15024. half __ovld __conv work_group_scan_inclusive_min(half x);
  15025. half __ovld __conv work_group_scan_inclusive_max(half x);
  15026. #endif
  15027. int __ovld __conv work_group_reduce_add(int x);
  15028. int __ovld __conv work_group_reduce_min(int x);
  15029. int __ovld __conv work_group_reduce_max(int x);
  15030. int __ovld __conv work_group_scan_exclusive_add(int x);
  15031. int __ovld __conv work_group_scan_exclusive_min(int x);
  15032. int __ovld __conv work_group_scan_exclusive_max(int x);
  15033. int __ovld __conv work_group_scan_inclusive_add(int x);
  15034. int __ovld __conv work_group_scan_inclusive_min(int x);
  15035. int __ovld __conv work_group_scan_inclusive_max(int x);
  15036. uint __ovld __conv work_group_reduce_add(uint x);
  15037. uint __ovld __conv work_group_reduce_min(uint x);
  15038. uint __ovld __conv work_group_reduce_max(uint x);
  15039. uint __ovld __conv work_group_scan_exclusive_add(uint x);
  15040. uint __ovld __conv work_group_scan_exclusive_min(uint x);
  15041. uint __ovld __conv work_group_scan_exclusive_max(uint x);
  15042. uint __ovld __conv work_group_scan_inclusive_add(uint x);
  15043. uint __ovld __conv work_group_scan_inclusive_min(uint x);
  15044. uint __ovld __conv work_group_scan_inclusive_max(uint x);
  15045. long __ovld __conv work_group_reduce_add(long x);
  15046. long __ovld __conv work_group_reduce_min(long x);
  15047. long __ovld __conv work_group_reduce_max(long x);
  15048. long __ovld __conv work_group_scan_exclusive_add(long x);
  15049. long __ovld __conv work_group_scan_exclusive_min(long x);
  15050. long __ovld __conv work_group_scan_exclusive_max(long x);
  15051. long __ovld __conv work_group_scan_inclusive_add(long x);
  15052. long __ovld __conv work_group_scan_inclusive_min(long x);
  15053. long __ovld __conv work_group_scan_inclusive_max(long x);
  15054. ulong __ovld __conv work_group_reduce_add(ulong x);
  15055. ulong __ovld __conv work_group_reduce_min(ulong x);
  15056. ulong __ovld __conv work_group_reduce_max(ulong x);
  15057. ulong __ovld __conv work_group_scan_exclusive_add(ulong x);
  15058. ulong __ovld __conv work_group_scan_exclusive_min(ulong x);
  15059. ulong __ovld __conv work_group_scan_exclusive_max(ulong x);
  15060. ulong __ovld __conv work_group_scan_inclusive_add(ulong x);
  15061. ulong __ovld __conv work_group_scan_inclusive_min(ulong x);
  15062. ulong __ovld __conv work_group_scan_inclusive_max(ulong x);
  15063. float __ovld __conv work_group_reduce_add(float x);
  15064. float __ovld __conv work_group_reduce_min(float x);
  15065. float __ovld __conv work_group_reduce_max(float x);
  15066. float __ovld __conv work_group_scan_exclusive_add(float x);
  15067. float __ovld __conv work_group_scan_exclusive_min(float x);
  15068. float __ovld __conv work_group_scan_exclusive_max(float x);
  15069. float __ovld __conv work_group_scan_inclusive_add(float x);
  15070. float __ovld __conv work_group_scan_inclusive_min(float x);
  15071. float __ovld __conv work_group_scan_inclusive_max(float x);
  15072. #ifdef cl_khr_fp64
  15073. double __ovld __conv work_group_reduce_add(double x);
  15074. double __ovld __conv work_group_reduce_min(double x);
  15075. double __ovld __conv work_group_reduce_max(double x);
  15076. double __ovld __conv work_group_scan_exclusive_add(double x);
  15077. double __ovld __conv work_group_scan_exclusive_min(double x);
  15078. double __ovld __conv work_group_scan_exclusive_max(double x);
  15079. double __ovld __conv work_group_scan_inclusive_add(double x);
  15080. double __ovld __conv work_group_scan_inclusive_min(double x);
  15081. double __ovld __conv work_group_scan_inclusive_max(double x);
  15082. #endif //cl_khr_fp64
  15083. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15084. // OpenCL v2.0 s6.13.16 - Pipe Functions
  15085. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15086. #define PIPE_RESERVE_ID_VALID_BIT (1U << 30)
  15087. #define CLK_NULL_RESERVE_ID (__builtin_astype(((void*)(__SIZE_MAX__)), reserve_id_t))
  15088. bool __ovld is_valid_reserve_id(reserve_id_t reserve_id);
  15089. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15090. // OpenCL v2.0 s6.13.17 - Enqueue Kernels
  15091. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15092. #define CL_COMPLETE 0x0
  15093. #define CL_RUNNING 0x1
  15094. #define CL_SUBMITTED 0x2
  15095. #define CL_QUEUED 0x3
  15096. #define CLK_SUCCESS 0
  15097. #define CLK_ENQUEUE_FAILURE -101
  15098. #define CLK_INVALID_QUEUE -102
  15099. #define CLK_INVALID_NDRANGE -160
  15100. #define CLK_INVALID_EVENT_WAIT_LIST -57
  15101. #define CLK_DEVICE_QUEUE_FULL -161
  15102. #define CLK_INVALID_ARG_SIZE -51
  15103. #define CLK_EVENT_ALLOCATION_FAILURE -100
  15104. #define CLK_OUT_OF_RESOURCES -5
  15105. #define CLK_NULL_QUEUE 0
  15106. #define CLK_NULL_EVENT (__builtin_astype(((void*)(__SIZE_MAX__)), clk_event_t))
  15107. // execution model related definitions
  15108. #define CLK_ENQUEUE_FLAGS_NO_WAIT 0x0
  15109. #define CLK_ENQUEUE_FLAGS_WAIT_KERNEL 0x1
  15110. #define CLK_ENQUEUE_FLAGS_WAIT_WORK_GROUP 0x2
  15111. typedef int kernel_enqueue_flags_t;
  15112. typedef int clk_profiling_info;
  15113. // Profiling info name (see capture_event_profiling_info)
  15114. #define CLK_PROFILING_COMMAND_EXEC_TIME 0x1
  15115. #define MAX_WORK_DIM 3
  15116. typedef struct {
  15117. unsigned int workDimension;
  15118. size_t globalWorkOffset[MAX_WORK_DIM];
  15119. size_t globalWorkSize[MAX_WORK_DIM];
  15120. size_t localWorkSize[MAX_WORK_DIM];
  15121. } ndrange_t;
  15122. ndrange_t __ovld ndrange_1D(size_t);
  15123. ndrange_t __ovld ndrange_1D(size_t, size_t);
  15124. ndrange_t __ovld ndrange_1D(size_t, size_t, size_t);
  15125. ndrange_t __ovld ndrange_2D(const size_t[2]);
  15126. ndrange_t __ovld ndrange_2D(const size_t[2], const size_t[2]);
  15127. ndrange_t __ovld ndrange_2D(const size_t[2], const size_t[2], const size_t[2]);
  15128. ndrange_t __ovld ndrange_3D(const size_t[3]);
  15129. ndrange_t __ovld ndrange_3D(const size_t[3], const size_t[3]);
  15130. ndrange_t __ovld ndrange_3D(const size_t[3], const size_t[3], const size_t[3]);
  15131. int __ovld enqueue_marker(queue_t, uint, const __private clk_event_t*, __private clk_event_t*);
  15132. void __ovld retain_event(clk_event_t);
  15133. void __ovld release_event(clk_event_t);
  15134. clk_event_t __ovld create_user_event(void);
  15135. void __ovld set_user_event_status(clk_event_t e, int state);
  15136. bool __ovld is_valid_event (clk_event_t event);
  15137. void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value);
  15138. queue_t __ovld get_default_queue(void);
  15139. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15140. // OpenCL Extension v2.0 s9.17 - Sub-groups
  15141. #if defined(cl_intel_subgroups) || defined(cl_khr_subgroups)
  15142. // Shared Sub Group Functions
  15143. uint __ovld get_sub_group_size(void);
  15144. uint __ovld get_max_sub_group_size(void);
  15145. uint __ovld get_num_sub_groups(void);
  15146. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15147. uint __ovld get_enqueued_num_sub_groups(void);
  15148. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15149. uint __ovld get_sub_group_id(void);
  15150. uint __ovld get_sub_group_local_id(void);
  15151. void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags);
  15152. #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15153. void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope);
  15154. #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
  15155. int __ovld __conv sub_group_all(int predicate);
  15156. int __ovld __conv sub_group_any(int predicate);
  15157. int __ovld __conv sub_group_broadcast(int x, uint sub_group_local_id);
  15158. uint __ovld __conv sub_group_broadcast(uint x, uint sub_group_local_id);
  15159. long __ovld __conv sub_group_broadcast(long x, uint sub_group_local_id);
  15160. ulong __ovld __conv sub_group_broadcast(ulong x, uint sub_group_local_id);
  15161. float __ovld __conv sub_group_broadcast(float x, uint sub_group_local_id);
  15162. int __ovld __conv sub_group_reduce_add(int x);
  15163. uint __ovld __conv sub_group_reduce_add(uint x);
  15164. long __ovld __conv sub_group_reduce_add(long x);
  15165. ulong __ovld __conv sub_group_reduce_add(ulong x);
  15166. float __ovld __conv sub_group_reduce_add(float x);
  15167. int __ovld __conv sub_group_reduce_min(int x);
  15168. uint __ovld __conv sub_group_reduce_min(uint x);
  15169. long __ovld __conv sub_group_reduce_min(long x);
  15170. ulong __ovld __conv sub_group_reduce_min(ulong x);
  15171. float __ovld __conv sub_group_reduce_min(float x);
  15172. int __ovld __conv sub_group_reduce_max(int x);
  15173. uint __ovld __conv sub_group_reduce_max(uint x);
  15174. long __ovld __conv sub_group_reduce_max(long x);
  15175. ulong __ovld __conv sub_group_reduce_max(ulong x);
  15176. float __ovld __conv sub_group_reduce_max(float x);
  15177. int __ovld __conv sub_group_scan_exclusive_add(int x);
  15178. uint __ovld __conv sub_group_scan_exclusive_add(uint x);
  15179. long __ovld __conv sub_group_scan_exclusive_add(long x);
  15180. ulong __ovld __conv sub_group_scan_exclusive_add(ulong x);
  15181. float __ovld __conv sub_group_scan_exclusive_add(float x);
  15182. int __ovld __conv sub_group_scan_exclusive_min(int x);
  15183. uint __ovld __conv sub_group_scan_exclusive_min(uint x);
  15184. long __ovld __conv sub_group_scan_exclusive_min(long x);
  15185. ulong __ovld __conv sub_group_scan_exclusive_min(ulong x);
  15186. float __ovld __conv sub_group_scan_exclusive_min(float x);
  15187. int __ovld __conv sub_group_scan_exclusive_max(int x);
  15188. uint __ovld __conv sub_group_scan_exclusive_max(uint x);
  15189. long __ovld __conv sub_group_scan_exclusive_max(long x);
  15190. ulong __ovld __conv sub_group_scan_exclusive_max(ulong x);
  15191. float __ovld __conv sub_group_scan_exclusive_max(float x);
  15192. int __ovld __conv sub_group_scan_inclusive_add(int x);
  15193. uint __ovld __conv sub_group_scan_inclusive_add(uint x);
  15194. long __ovld __conv sub_group_scan_inclusive_add(long x);
  15195. ulong __ovld __conv sub_group_scan_inclusive_add(ulong x);
  15196. float __ovld __conv sub_group_scan_inclusive_add(float x);
  15197. int __ovld __conv sub_group_scan_inclusive_min(int x);
  15198. uint __ovld __conv sub_group_scan_inclusive_min(uint x);
  15199. long __ovld __conv sub_group_scan_inclusive_min(long x);
  15200. ulong __ovld __conv sub_group_scan_inclusive_min(ulong x);
  15201. float __ovld __conv sub_group_scan_inclusive_min(float x);
  15202. int __ovld __conv sub_group_scan_inclusive_max(int x);
  15203. uint __ovld __conv sub_group_scan_inclusive_max(uint x);
  15204. long __ovld __conv sub_group_scan_inclusive_max(long x);
  15205. ulong __ovld __conv sub_group_scan_inclusive_max(ulong x);
  15206. float __ovld __conv sub_group_scan_inclusive_max(float x);
  15207. #ifdef cl_khr_fp16
  15208. half __ovld __conv sub_group_broadcast(half x, uint sub_group_local_id);
  15209. half __ovld __conv sub_group_reduce_add(half x);
  15210. half __ovld __conv sub_group_reduce_min(half x);
  15211. half __ovld __conv sub_group_reduce_max(half x);
  15212. half __ovld __conv sub_group_scan_exclusive_add(half x);
  15213. half __ovld __conv sub_group_scan_exclusive_min(half x);
  15214. half __ovld __conv sub_group_scan_exclusive_max(half x);
  15215. half __ovld __conv sub_group_scan_inclusive_add(half x);
  15216. half __ovld __conv sub_group_scan_inclusive_min(half x);
  15217. half __ovld __conv sub_group_scan_inclusive_max(half x);
  15218. #endif //cl_khr_fp16
  15219. #ifdef cl_khr_fp64
  15220. double __ovld __conv sub_group_broadcast(double x, uint sub_group_local_id);
  15221. double __ovld __conv sub_group_reduce_add(double x);
  15222. double __ovld __conv sub_group_reduce_min(double x);
  15223. double __ovld __conv sub_group_reduce_max(double x);
  15224. double __ovld __conv sub_group_scan_exclusive_add(double x);
  15225. double __ovld __conv sub_group_scan_exclusive_min(double x);
  15226. double __ovld __conv sub_group_scan_exclusive_max(double x);
  15227. double __ovld __conv sub_group_scan_inclusive_add(double x);
  15228. double __ovld __conv sub_group_scan_inclusive_min(double x);
  15229. double __ovld __conv sub_group_scan_inclusive_max(double x);
  15230. #endif //cl_khr_fp64
  15231. #endif //cl_khr_subgroups cl_intel_subgroups
  15232. #if defined(cl_intel_subgroups)
  15233. // Intel-Specific Sub Group Functions
  15234. float __ovld __conv intel_sub_group_shuffle( float x, uint c );
  15235. float2 __ovld __conv intel_sub_group_shuffle( float2 x, uint c );
  15236. float3 __ovld __conv intel_sub_group_shuffle( float3 x, uint c );
  15237. float4 __ovld __conv intel_sub_group_shuffle( float4 x, uint c );
  15238. float8 __ovld __conv intel_sub_group_shuffle( float8 x, uint c );
  15239. float16 __ovld __conv intel_sub_group_shuffle( float16 x, uint c );
  15240. int __ovld __conv intel_sub_group_shuffle( int x, uint c );
  15241. int2 __ovld __conv intel_sub_group_shuffle( int2 x, uint c );
  15242. int3 __ovld __conv intel_sub_group_shuffle( int3 x, uint c );
  15243. int4 __ovld __conv intel_sub_group_shuffle( int4 x, uint c );
  15244. int8 __ovld __conv intel_sub_group_shuffle( int8 x, uint c );
  15245. int16 __ovld __conv intel_sub_group_shuffle( int16 x, uint c );
  15246. uint __ovld __conv intel_sub_group_shuffle( uint x, uint c );
  15247. uint2 __ovld __conv intel_sub_group_shuffle( uint2 x, uint c );
  15248. uint3 __ovld __conv intel_sub_group_shuffle( uint3 x, uint c );
  15249. uint4 __ovld __conv intel_sub_group_shuffle( uint4 x, uint c );
  15250. uint8 __ovld __conv intel_sub_group_shuffle( uint8 x, uint c );
  15251. uint16 __ovld __conv intel_sub_group_shuffle( uint16 x, uint c );
  15252. long __ovld __conv intel_sub_group_shuffle( long x, uint c );
  15253. ulong __ovld __conv intel_sub_group_shuffle( ulong x, uint c );
  15254. float __ovld __conv intel_sub_group_shuffle_down( float cur, float next, uint c );
  15255. float2 __ovld __conv intel_sub_group_shuffle_down( float2 cur, float2 next, uint c );
  15256. float3 __ovld __conv intel_sub_group_shuffle_down( float3 cur, float3 next, uint c );
  15257. float4 __ovld __conv intel_sub_group_shuffle_down( float4 cur, float4 next, uint c );
  15258. float8 __ovld __conv intel_sub_group_shuffle_down( float8 cur, float8 next, uint c );
  15259. float16 __ovld __conv intel_sub_group_shuffle_down( float16 cur, float16 next, uint c );
  15260. int __ovld __conv intel_sub_group_shuffle_down( int cur, int next, uint c );
  15261. int2 __ovld __conv intel_sub_group_shuffle_down( int2 cur, int2 next, uint c );
  15262. int3 __ovld __conv intel_sub_group_shuffle_down( int3 cur, int3 next, uint c );
  15263. int4 __ovld __conv intel_sub_group_shuffle_down( int4 cur, int4 next, uint c );
  15264. int8 __ovld __conv intel_sub_group_shuffle_down( int8 cur, int8 next, uint c );
  15265. int16 __ovld __conv intel_sub_group_shuffle_down( int16 cur, int16 next, uint c );
  15266. uint __ovld __conv intel_sub_group_shuffle_down( uint cur, uint next, uint c );
  15267. uint2 __ovld __conv intel_sub_group_shuffle_down( uint2 cur, uint2 next, uint c );
  15268. uint3 __ovld __conv intel_sub_group_shuffle_down( uint3 cur, uint3 next, uint c );
  15269. uint4 __ovld __conv intel_sub_group_shuffle_down( uint4 cur, uint4 next, uint c );
  15270. uint8 __ovld __conv intel_sub_group_shuffle_down( uint8 cur, uint8 next, uint c );
  15271. uint16 __ovld __conv intel_sub_group_shuffle_down( uint16 cur, uint16 next, uint c );
  15272. long __ovld __conv intel_sub_group_shuffle_down( long prev, long cur, uint c );
  15273. ulong __ovld __conv intel_sub_group_shuffle_down( ulong prev, ulong cur, uint c );
  15274. float __ovld __conv intel_sub_group_shuffle_up( float prev, float cur, uint c );
  15275. float2 __ovld __conv intel_sub_group_shuffle_up( float2 prev, float2 cur, uint c );
  15276. float3 __ovld __conv intel_sub_group_shuffle_up( float3 prev, float3 cur, uint c );
  15277. float4 __ovld __conv intel_sub_group_shuffle_up( float4 prev, float4 cur, uint c );
  15278. float8 __ovld __conv intel_sub_group_shuffle_up( float8 prev, float8 cur, uint c );
  15279. float16 __ovld __conv intel_sub_group_shuffle_up( float16 prev, float16 cur, uint c );
  15280. int __ovld __conv intel_sub_group_shuffle_up( int prev, int cur, uint c );
  15281. int2 __ovld __conv intel_sub_group_shuffle_up( int2 prev, int2 cur, uint c );
  15282. int3 __ovld __conv intel_sub_group_shuffle_up( int3 prev, int3 cur, uint c );
  15283. int4 __ovld __conv intel_sub_group_shuffle_up( int4 prev, int4 cur, uint c );
  15284. int8 __ovld __conv intel_sub_group_shuffle_up( int8 prev, int8 cur, uint c );
  15285. int16 __ovld __conv intel_sub_group_shuffle_up( int16 prev, int16 cur, uint c );
  15286. uint __ovld __conv intel_sub_group_shuffle_up( uint prev, uint cur, uint c );
  15287. uint2 __ovld __conv intel_sub_group_shuffle_up( uint2 prev, uint2 cur, uint c );
  15288. uint3 __ovld __conv intel_sub_group_shuffle_up( uint3 prev, uint3 cur, uint c );
  15289. uint4 __ovld __conv intel_sub_group_shuffle_up( uint4 prev, uint4 cur, uint c );
  15290. uint8 __ovld __conv intel_sub_group_shuffle_up( uint8 prev, uint8 cur, uint c );
  15291. uint16 __ovld __conv intel_sub_group_shuffle_up( uint16 prev, uint16 cur, uint c );
  15292. long __ovld __conv intel_sub_group_shuffle_up( long prev, long cur, uint c );
  15293. ulong __ovld __conv intel_sub_group_shuffle_up( ulong prev, ulong cur, uint c );
  15294. float __ovld __conv intel_sub_group_shuffle_xor( float x, uint c );
  15295. float2 __ovld __conv intel_sub_group_shuffle_xor( float2 x, uint c );
  15296. float3 __ovld __conv intel_sub_group_shuffle_xor( float3 x, uint c );
  15297. float4 __ovld __conv intel_sub_group_shuffle_xor( float4 x, uint c );
  15298. float8 __ovld __conv intel_sub_group_shuffle_xor( float8 x, uint c );
  15299. float16 __ovld __conv intel_sub_group_shuffle_xor( float16 x, uint c );
  15300. int __ovld __conv intel_sub_group_shuffle_xor( int x, uint c );
  15301. int2 __ovld __conv intel_sub_group_shuffle_xor( int2 x, uint c );
  15302. int3 __ovld __conv intel_sub_group_shuffle_xor( int3 x, uint c );
  15303. int4 __ovld __conv intel_sub_group_shuffle_xor( int4 x, uint c );
  15304. int8 __ovld __conv intel_sub_group_shuffle_xor( int8 x, uint c );
  15305. int16 __ovld __conv intel_sub_group_shuffle_xor( int16 x, uint c );
  15306. uint __ovld __conv intel_sub_group_shuffle_xor( uint x, uint c );
  15307. uint2 __ovld __conv intel_sub_group_shuffle_xor( uint2 x, uint c );
  15308. uint3 __ovld __conv intel_sub_group_shuffle_xor( uint3 x, uint c );
  15309. uint4 __ovld __conv intel_sub_group_shuffle_xor( uint4 x, uint c );
  15310. uint8 __ovld __conv intel_sub_group_shuffle_xor( uint8 x, uint c );
  15311. uint16 __ovld __conv intel_sub_group_shuffle_xor( uint16 x, uint c );
  15312. long __ovld __conv intel_sub_group_shuffle_xor( long x, uint c );
  15313. ulong __ovld __conv intel_sub_group_shuffle_xor( ulong x, uint c );
  15314. uint __ovld __conv intel_sub_group_block_read( read_only image2d_t image, int2 coord );
  15315. uint2 __ovld __conv intel_sub_group_block_read2( read_only image2d_t image, int2 coord );
  15316. uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord );
  15317. uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord );
  15318. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15319. uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord);
  15320. uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord);
  15321. uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord);
  15322. uint8 __ovld __conv intel_sub_group_block_read8(read_write image2d_t image, int2 coord);
  15323. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15324. uint __ovld __conv intel_sub_group_block_read( const __global uint* p );
  15325. uint2 __ovld __conv intel_sub_group_block_read2( const __global uint* p );
  15326. uint4 __ovld __conv intel_sub_group_block_read4( const __global uint* p );
  15327. uint8 __ovld __conv intel_sub_group_block_read8( const __global uint* p );
  15328. void __ovld __conv intel_sub_group_block_write(write_only image2d_t image, int2 coord, uint data);
  15329. void __ovld __conv intel_sub_group_block_write2(write_only image2d_t image, int2 coord, uint2 data);
  15330. void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data);
  15331. void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data);
  15332. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15333. void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data);
  15334. void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data);
  15335. void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data);
  15336. void __ovld __conv intel_sub_group_block_write8(read_write image2d_t image, int2 coord, uint8 data);
  15337. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15338. void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data );
  15339. void __ovld __conv intel_sub_group_block_write2( __global uint* p, uint2 data );
  15340. void __ovld __conv intel_sub_group_block_write4( __global uint* p, uint4 data );
  15341. void __ovld __conv intel_sub_group_block_write8( __global uint* p, uint8 data );
  15342. #ifdef cl_khr_fp16
  15343. half __ovld __conv intel_sub_group_shuffle( half x, uint c );
  15344. half __ovld __conv intel_sub_group_shuffle_down( half prev, half cur, uint c );
  15345. half __ovld __conv intel_sub_group_shuffle_up( half prev, half cur, uint c );
  15346. half __ovld __conv intel_sub_group_shuffle_xor( half x, uint c );
  15347. #endif
  15348. #if defined(cl_khr_fp64)
  15349. double __ovld __conv intel_sub_group_shuffle( double x, uint c );
  15350. double __ovld __conv intel_sub_group_shuffle_down( double prev, double cur, uint c );
  15351. double __ovld __conv intel_sub_group_shuffle_up( double prev, double cur, uint c );
  15352. double __ovld __conv intel_sub_group_shuffle_xor( double x, uint c );
  15353. #endif
  15354. #endif //cl_intel_subgroups
  15355. #if defined(cl_intel_subgroups_short)
  15356. short __ovld __conv intel_sub_group_broadcast( short x, uint sub_group_local_id );
  15357. short2 __ovld __conv intel_sub_group_broadcast( short2 x, uint sub_group_local_id );
  15358. short3 __ovld __conv intel_sub_group_broadcast( short3 x, uint sub_group_local_id );
  15359. short4 __ovld __conv intel_sub_group_broadcast( short4 x, uint sub_group_local_id );
  15360. short8 __ovld __conv intel_sub_group_broadcast( short8 x, uint sub_group_local_id );
  15361. ushort __ovld __conv intel_sub_group_broadcast( ushort x, uint sub_group_local_id );
  15362. ushort2 __ovld __conv intel_sub_group_broadcast( ushort2 x, uint sub_group_local_id );
  15363. ushort3 __ovld __conv intel_sub_group_broadcast( ushort3 x, uint sub_group_local_id );
  15364. ushort4 __ovld __conv intel_sub_group_broadcast( ushort4 x, uint sub_group_local_id );
  15365. ushort8 __ovld __conv intel_sub_group_broadcast( ushort8 x, uint sub_group_local_id );
  15366. short __ovld __conv intel_sub_group_shuffle( short x, uint c );
  15367. short2 __ovld __conv intel_sub_group_shuffle( short2 x, uint c );
  15368. short3 __ovld __conv intel_sub_group_shuffle( short3 x, uint c );
  15369. short4 __ovld __conv intel_sub_group_shuffle( short4 x, uint c );
  15370. short8 __ovld __conv intel_sub_group_shuffle( short8 x, uint c );
  15371. short16 __ovld __conv intel_sub_group_shuffle( short16 x, uint c);
  15372. ushort __ovld __conv intel_sub_group_shuffle( ushort x, uint c );
  15373. ushort2 __ovld __conv intel_sub_group_shuffle( ushort2 x, uint c );
  15374. ushort3 __ovld __conv intel_sub_group_shuffle( ushort3 x, uint c );
  15375. ushort4 __ovld __conv intel_sub_group_shuffle( ushort4 x, uint c );
  15376. ushort8 __ovld __conv intel_sub_group_shuffle( ushort8 x, uint c );
  15377. ushort16 __ovld __conv intel_sub_group_shuffle( ushort16 x, uint c );
  15378. short __ovld __conv intel_sub_group_shuffle_down( short cur, short next, uint c );
  15379. short2 __ovld __conv intel_sub_group_shuffle_down( short2 cur, short2 next, uint c );
  15380. short3 __ovld __conv intel_sub_group_shuffle_down( short3 cur, short3 next, uint c );
  15381. short4 __ovld __conv intel_sub_group_shuffle_down( short4 cur, short4 next, uint c );
  15382. short8 __ovld __conv intel_sub_group_shuffle_down( short8 cur, short8 next, uint c );
  15383. short16 __ovld __conv intel_sub_group_shuffle_down( short16 cur, short16 next, uint c );
  15384. ushort __ovld __conv intel_sub_group_shuffle_down( ushort cur, ushort next, uint c );
  15385. ushort2 __ovld __conv intel_sub_group_shuffle_down( ushort2 cur, ushort2 next, uint c );
  15386. ushort3 __ovld __conv intel_sub_group_shuffle_down( ushort3 cur, ushort3 next, uint c );
  15387. ushort4 __ovld __conv intel_sub_group_shuffle_down( ushort4 cur, ushort4 next, uint c );
  15388. ushort8 __ovld __conv intel_sub_group_shuffle_down( ushort8 cur, ushort8 next, uint c );
  15389. ushort16 __ovld __conv intel_sub_group_shuffle_down( ushort16 cur, ushort16 next, uint c );
  15390. short __ovld __conv intel_sub_group_shuffle_up( short cur, short next, uint c );
  15391. short2 __ovld __conv intel_sub_group_shuffle_up( short2 cur, short2 next, uint c );
  15392. short3 __ovld __conv intel_sub_group_shuffle_up( short3 cur, short3 next, uint c );
  15393. short4 __ovld __conv intel_sub_group_shuffle_up( short4 cur, short4 next, uint c );
  15394. short8 __ovld __conv intel_sub_group_shuffle_up( short8 cur, short8 next, uint c );
  15395. short16 __ovld __conv intel_sub_group_shuffle_up( short16 cur, short16 next, uint c );
  15396. ushort __ovld __conv intel_sub_group_shuffle_up( ushort cur, ushort next, uint c );
  15397. ushort2 __ovld __conv intel_sub_group_shuffle_up( ushort2 cur, ushort2 next, uint c );
  15398. ushort3 __ovld __conv intel_sub_group_shuffle_up( ushort3 cur, ushort3 next, uint c );
  15399. ushort4 __ovld __conv intel_sub_group_shuffle_up( ushort4 cur, ushort4 next, uint c );
  15400. ushort8 __ovld __conv intel_sub_group_shuffle_up( ushort8 cur, ushort8 next, uint c );
  15401. ushort16 __ovld __conv intel_sub_group_shuffle_up( ushort16 cur, ushort16 next, uint c );
  15402. short __ovld __conv intel_sub_group_shuffle_xor( short x, uint c );
  15403. short2 __ovld __conv intel_sub_group_shuffle_xor( short2 x, uint c );
  15404. short3 __ovld __conv intel_sub_group_shuffle_xor( short3 x, uint c );
  15405. short4 __ovld __conv intel_sub_group_shuffle_xor( short4 x, uint c );
  15406. short8 __ovld __conv intel_sub_group_shuffle_xor( short8 x, uint c );
  15407. short16 __ovld __conv intel_sub_group_shuffle_xor( short16 x, uint c );
  15408. ushort __ovld __conv intel_sub_group_shuffle_xor( ushort x, uint c );
  15409. ushort2 __ovld __conv intel_sub_group_shuffle_xor( ushort2 x, uint c );
  15410. ushort3 __ovld __conv intel_sub_group_shuffle_xor( ushort3 x, uint c );
  15411. ushort4 __ovld __conv intel_sub_group_shuffle_xor( ushort4 x, uint c );
  15412. ushort8 __ovld __conv intel_sub_group_shuffle_xor( ushort8 x, uint c );
  15413. ushort16 __ovld __conv intel_sub_group_shuffle_xor( ushort16 x, uint c );
  15414. short __ovld __conv intel_sub_group_reduce_add( short x );
  15415. ushort __ovld __conv intel_sub_group_reduce_add( ushort x );
  15416. short __ovld __conv intel_sub_group_reduce_min( short x );
  15417. ushort __ovld __conv intel_sub_group_reduce_min( ushort x );
  15418. short __ovld __conv intel_sub_group_reduce_max( short x );
  15419. ushort __ovld __conv intel_sub_group_reduce_max( ushort x );
  15420. short __ovld __conv intel_sub_group_scan_exclusive_add( short x );
  15421. ushort __ovld __conv intel_sub_group_scan_exclusive_add( ushort x );
  15422. short __ovld __conv intel_sub_group_scan_exclusive_min( short x );
  15423. ushort __ovld __conv intel_sub_group_scan_exclusive_min( ushort x );
  15424. short __ovld __conv intel_sub_group_scan_exclusive_max( short x );
  15425. ushort __ovld __conv intel_sub_group_scan_exclusive_max( ushort x );
  15426. short __ovld __conv intel_sub_group_scan_inclusive_add( short x );
  15427. ushort __ovld __conv intel_sub_group_scan_inclusive_add( ushort x );
  15428. short __ovld __conv intel_sub_group_scan_inclusive_min( short x );
  15429. ushort __ovld __conv intel_sub_group_scan_inclusive_min( ushort x );
  15430. short __ovld __conv intel_sub_group_scan_inclusive_max( short x );
  15431. ushort __ovld __conv intel_sub_group_scan_inclusive_max( ushort x );
  15432. uint __ovld __conv intel_sub_group_block_read_ui( read_only image2d_t image, int2 byte_coord );
  15433. uint2 __ovld __conv intel_sub_group_block_read_ui2( read_only image2d_t image, int2 byte_coord );
  15434. uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord );
  15435. uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord );
  15436. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15437. uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord );
  15438. uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord );
  15439. uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord );
  15440. uint8 __ovld __conv intel_sub_group_block_read_ui8( read_write image2d_t image, int2 byte_coord );
  15441. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15442. uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p );
  15443. uint2 __ovld __conv intel_sub_group_block_read_ui2( const __global uint* p );
  15444. uint4 __ovld __conv intel_sub_group_block_read_ui4( const __global uint* p );
  15445. uint8 __ovld __conv intel_sub_group_block_read_ui8( const __global uint* p );
  15446. void __ovld __conv intel_sub_group_block_write_ui( read_only image2d_t image, int2 byte_coord, uint data );
  15447. void __ovld __conv intel_sub_group_block_write_ui2( read_only image2d_t image, int2 byte_coord, uint2 data );
  15448. void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data );
  15449. void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data );
  15450. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15451. void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data );
  15452. void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data );
  15453. void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data );
  15454. void __ovld __conv intel_sub_group_block_write_ui8( read_write image2d_t image, int2 byte_coord, uint8 data );
  15455. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15456. void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data );
  15457. void __ovld __conv intel_sub_group_block_write_ui2( __global uint* p, uint2 data );
  15458. void __ovld __conv intel_sub_group_block_write_ui4( __global uint* p, uint4 data );
  15459. void __ovld __conv intel_sub_group_block_write_ui8( __global uint* p, uint8 data );
  15460. ushort __ovld __conv intel_sub_group_block_read_us( read_only image2d_t image, int2 coord );
  15461. ushort2 __ovld __conv intel_sub_group_block_read_us2( read_only image2d_t image, int2 coord );
  15462. ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord );
  15463. ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord );
  15464. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15465. ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord);
  15466. ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord);
  15467. ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord);
  15468. ushort8 __ovld __conv intel_sub_group_block_read_us8(read_write image2d_t image, int2 coord);
  15469. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15470. ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p );
  15471. ushort2 __ovld __conv intel_sub_group_block_read_us2( const __global ushort* p );
  15472. ushort4 __ovld __conv intel_sub_group_block_read_us4( const __global ushort* p );
  15473. ushort8 __ovld __conv intel_sub_group_block_read_us8( const __global ushort* p );
  15474. void __ovld __conv intel_sub_group_block_write_us(write_only image2d_t image, int2 coord, ushort data);
  15475. void __ovld __conv intel_sub_group_block_write_us2(write_only image2d_t image, int2 coord, ushort2 data);
  15476. void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data);
  15477. void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data);
  15478. #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15479. void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data);
  15480. void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data);
  15481. void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data);
  15482. void __ovld __conv intel_sub_group_block_write_us8(read_write image2d_t image, int2 coord, ushort8 data);
  15483. #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
  15484. void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data );
  15485. void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data );
  15486. void __ovld __conv intel_sub_group_block_write_us4( __global ushort* p, ushort4 data );
  15487. void __ovld __conv intel_sub_group_block_write_us8( __global ushort* p, ushort8 data );
  15488. #endif // cl_intel_subgroups_short
  15489. #ifdef cl_amd_media_ops
  15490. uint __ovld amd_bitalign(uint a, uint b, uint c);
  15491. uint2 __ovld amd_bitalign(uint2 a, uint2 b, uint2 c);
  15492. uint3 __ovld amd_bitalign(uint3 a, uint3 b, uint3 c);
  15493. uint4 __ovld amd_bitalign(uint4 a, uint4 b, uint4 c);
  15494. uint8 __ovld amd_bitalign(uint8 a, uint8 b, uint8 c);
  15495. uint16 __ovld amd_bitalign(uint16 a, uint16 b, uint16 c);
  15496. uint __ovld amd_bytealign(uint a, uint b, uint c);
  15497. uint2 __ovld amd_bytealign(uint2 a, uint2 b, uint2 c);
  15498. uint3 __ovld amd_bytealign(uint3 a, uint3 b, uint3 c);
  15499. uint4 __ovld amd_bytealign(uint4 a, uint4 b, uint4 c);
  15500. uint8 __ovld amd_bytealign(uint8 a, uint8 b, uint8 c);
  15501. uint16 __ovld amd_bytealign(uint16 a, uint16 b, uint16 c);
  15502. uint __ovld amd_lerp(uint a, uint b, uint c);
  15503. uint2 __ovld amd_lerp(uint2 a, uint2 b, uint2 c);
  15504. uint3 __ovld amd_lerp(uint3 a, uint3 b, uint3 c);
  15505. uint4 __ovld amd_lerp(uint4 a, uint4 b, uint4 c);
  15506. uint8 __ovld amd_lerp(uint8 a, uint8 b, uint8 c);
  15507. uint16 __ovld amd_lerp(uint16 a, uint16 b, uint16 c);
  15508. uint __ovld amd_pack(float4 v);
  15509. uint __ovld amd_sad4(uint4 x, uint4 y, uint z);
  15510. uint __ovld amd_sadhi(uint a, uint b, uint c);
  15511. uint2 __ovld amd_sadhi(uint2 a, uint2 b, uint2 c);
  15512. uint3 __ovld amd_sadhi(uint3 a, uint3 b, uint3 c);
  15513. uint4 __ovld amd_sadhi(uint4 a, uint4 b, uint4 c);
  15514. uint8 __ovld amd_sadhi(uint8 a, uint8 b, uint8 c);
  15515. uint16 __ovld amd_sadhi(uint16 a, uint16 b, uint16 c);
  15516. uint __ovld amd_sad(uint a, uint b, uint c);
  15517. uint2 __ovld amd_sad(uint2 a, uint2 b, uint2 c);
  15518. uint3 __ovld amd_sad(uint3 a, uint3 b, uint3 c);
  15519. uint4 __ovld amd_sad(uint4 a, uint4 b, uint4 c);
  15520. uint8 __ovld amd_sad(uint8 a, uint8 b, uint8 c);
  15521. uint16 __ovld amd_sad(uint16 a, uint16 b, uint16 c);
  15522. float __ovld amd_unpack0(uint a);
  15523. float2 __ovld amd_unpack0(uint2 a);
  15524. float3 __ovld amd_unpack0(uint3 a);
  15525. float4 __ovld amd_unpack0(uint4 a);
  15526. float8 __ovld amd_unpack0(uint8 a);
  15527. float16 __ovld amd_unpack0(uint16 a);
  15528. float __ovld amd_unpack1(uint a);
  15529. float2 __ovld amd_unpack1(uint2 a);
  15530. float3 __ovld amd_unpack1(uint3 a);
  15531. float4 __ovld amd_unpack1(uint4 a);
  15532. float8 __ovld amd_unpack1(uint8 a);
  15533. float16 __ovld amd_unpack1(uint16 a);
  15534. float __ovld amd_unpack2(uint a);
  15535. float2 __ovld amd_unpack2(uint2 a);
  15536. float3 __ovld amd_unpack2(uint3 a);
  15537. float4 __ovld amd_unpack2(uint4 a);
  15538. float8 __ovld amd_unpack2(uint8 a);
  15539. float16 __ovld amd_unpack2(uint16 a);
  15540. float __ovld amd_unpack3(uint a);
  15541. float2 __ovld amd_unpack3(uint2 a);
  15542. float3 __ovld amd_unpack3(uint3 a);
  15543. float4 __ovld amd_unpack3(uint4 a);
  15544. float8 __ovld amd_unpack3(uint8 a);
  15545. float16 __ovld amd_unpack3(uint16 a);
  15546. #endif // cl_amd_media_ops
  15547. #ifdef cl_amd_media_ops2
  15548. int __ovld amd_bfe(int src0, uint src1, uint src2);
  15549. int2 __ovld amd_bfe(int2 src0, uint2 src1, uint2 src2);
  15550. int3 __ovld amd_bfe(int3 src0, uint3 src1, uint3 src2);
  15551. int4 __ovld amd_bfe(int4 src0, uint4 src1, uint4 src2);
  15552. int8 __ovld amd_bfe(int8 src0, uint8 src1, uint8 src2);
  15553. int16 __ovld amd_bfe(int16 src0, uint16 src1, uint16 src2);
  15554. uint __ovld amd_bfe(uint src0, uint src1, uint src2);
  15555. uint2 __ovld amd_bfe(uint2 src0, uint2 src1, uint2 src2);
  15556. uint3 __ovld amd_bfe(uint3 src0, uint3 src1, uint3 src2);
  15557. uint4 __ovld amd_bfe(uint4 src0, uint4 src1, uint4 src2);
  15558. uint8 __ovld amd_bfe(uint8 src0, uint8 src1, uint8 src2);
  15559. uint16 __ovld amd_bfe(uint16 src0, uint16 src1, uint16 src2);
  15560. uint __ovld amd_bfm(uint src0, uint src1);
  15561. uint2 __ovld amd_bfm(uint2 src0, uint2 src1);
  15562. uint3 __ovld amd_bfm(uint3 src0, uint3 src1);
  15563. uint4 __ovld amd_bfm(uint4 src0, uint4 src1);
  15564. uint8 __ovld amd_bfm(uint8 src0, uint8 src1);
  15565. uint16 __ovld amd_bfm(uint16 src0, uint16 src1);
  15566. float __ovld amd_max3(float src0, float src1, float src2);
  15567. float2 __ovld amd_max3(float2 src0, float2 src1, float2 src2);
  15568. float3 __ovld amd_max3(float3 src0, float3 src1, float3 src2);
  15569. float4 __ovld amd_max3(float4 src0, float4 src1, float4 src2);
  15570. float8 __ovld amd_max3(float8 src0, float8 src1, float8 src2);
  15571. float16 __ovld amd_max3(float16 src0, float16 src1, float16 src2);
  15572. int __ovld amd_max3(int src0, int src1, int src2);
  15573. int2 __ovld amd_max3(int2 src0, int2 src1, int2 src2);
  15574. int3 __ovld amd_max3(int3 src0, int3 src1, int3 src2);
  15575. int4 __ovld amd_max3(int4 src0, int4 src1, int4 src2);
  15576. int8 __ovld amd_max3(int8 src0, int8 src1, int8 src2);
  15577. int16 __ovld amd_max3(int16 src0, int16 src1, int16 src2);
  15578. uint __ovld amd_max3(uint src0, uint src1, uint src2);
  15579. uint2 __ovld amd_max3(uint2 src0, uint2 src1, uint2 src2);
  15580. uint3 __ovld amd_max3(uint3 src0, uint3 src1, uint3 src2);
  15581. uint4 __ovld amd_max3(uint4 src0, uint4 src1, uint4 src2);
  15582. uint8 __ovld amd_max3(uint8 src0, uint8 src1, uint8 src2);
  15583. uint16 __ovld amd_max3(uint16 src0, uint16 src1, uint16 src2);
  15584. float __ovld amd_median3(float src0, float src1, float src2);
  15585. float2 __ovld amd_median3(float2 src0, float2 src1, float2 src2);
  15586. float3 __ovld amd_median3(float3 src0, float3 src1, float3 src2);
  15587. float4 __ovld amd_median3(float4 src0, float4 src1, float4 src2);
  15588. float8 __ovld amd_median3(float8 src0, float8 src1, float8 src2);
  15589. float16 __ovld amd_median3(float16 src0, float16 src1, float16 src2);
  15590. int __ovld amd_median3(int src0, int src1, int src2);
  15591. int2 __ovld amd_median3(int2 src0, int2 src1, int2 src2);
  15592. int3 __ovld amd_median3(int3 src0, int3 src1, int3 src2);
  15593. int4 __ovld amd_median3(int4 src0, int4 src1, int4 src2);
  15594. int8 __ovld amd_median3(int8 src0, int8 src1, int8 src2);
  15595. int16 __ovld amd_median3(int16 src0, int16 src1, int16 src2);
  15596. uint __ovld amd_median3(uint src0, uint src1, uint src2);
  15597. uint2 __ovld amd_median3(uint2 src0, uint2 src1, uint2 src2);
  15598. uint3 __ovld amd_median3(uint3 src0, uint3 src1, uint3 src2);
  15599. uint4 __ovld amd_median3(uint4 src0, uint4 src1, uint4 src2);
  15600. uint8 __ovld amd_median3(uint8 src0, uint8 src1, uint8 src2);
  15601. uint16 __ovld amd_median3(uint16 src0, uint16 src1, uint16 src2);
  15602. float __ovld amd_min3(float src0, float src1, float src);
  15603. float2 __ovld amd_min3(float2 src0, float2 src1, float2 src);
  15604. float3 __ovld amd_min3(float3 src0, float3 src1, float3 src);
  15605. float4 __ovld amd_min3(float4 src0, float4 src1, float4 src);
  15606. float8 __ovld amd_min3(float8 src0, float8 src1, float8 src);
  15607. float16 __ovld amd_min3(float16 src0, float16 src1, float16 src);
  15608. int __ovld amd_min3(int src0, int src1, int src2);
  15609. int2 __ovld amd_min3(int2 src0, int2 src1, int2 src2);
  15610. int3 __ovld amd_min3(int3 src0, int3 src1, int3 src2);
  15611. int4 __ovld amd_min3(int4 src0, int4 src1, int4 src2);
  15612. int8 __ovld amd_min3(int8 src0, int8 src1, int8 src2);
  15613. int16 __ovld amd_min3(int16 src0, int16 src1, int16 src2);
  15614. uint __ovld amd_min3(uint src0, uint src1, uint src2);
  15615. uint2 __ovld amd_min3(uint2 src0, uint2 src1, uint2 src2);
  15616. uint3 __ovld amd_min3(uint3 src0, uint3 src1, uint3 src2);
  15617. uint4 __ovld amd_min3(uint4 src0, uint4 src1, uint4 src2);
  15618. uint8 __ovld amd_min3(uint8 src0, uint8 src1, uint8 src2);
  15619. uint16 __ovld amd_min3(uint16 src0, uint16 src1, uint16 src2);
  15620. ulong __ovld amd_mqsad(ulong src0, uint src1, ulong src2);
  15621. ulong2 __ovld amd_mqsad(ulong2 src0, uint2 src1, ulong2 src2);
  15622. ulong3 __ovld amd_mqsad(ulong3 src0, uint3 src1, ulong3 src2);
  15623. ulong4 __ovld amd_mqsad(ulong4 src0, uint4 src1, ulong4 src2);
  15624. ulong8 __ovld amd_mqsad(ulong8 src0, uint8 src1, ulong8 src2);
  15625. ulong16 __ovld amd_mqsad(ulong16 src0, uint16 src1, ulong16 src2);
  15626. ulong __ovld amd_qsad(ulong src0, uint src1, ulong src2);
  15627. ulong2 __ovld amd_qsad(ulong2 src0, uint2 src1, ulong2 src2);
  15628. ulong3 __ovld amd_qsad(ulong3 src0, uint3 src1, ulong3 src2);
  15629. ulong4 __ovld amd_qsad(ulong4 src0, uint4 src1, ulong4 src2);
  15630. ulong8 __ovld amd_qsad(ulong8 src0, uint8 src1, ulong8 src2);
  15631. ulong16 __ovld amd_qsad(ulong16 src0, uint16 src1, ulong16 src2);
  15632. uint __ovld amd_msad(uint src0, uint src1, uint src2);
  15633. uint2 __ovld amd_msad(uint2 src0, uint2 src1, uint2 src2);
  15634. uint3 __ovld amd_msad(uint3 src0, uint3 src1, uint3 src2);
  15635. uint4 __ovld amd_msad(uint4 src0, uint4 src1, uint4 src2);
  15636. uint8 __ovld amd_msad(uint8 src0, uint8 src1, uint8 src2);
  15637. uint16 __ovld amd_msad(uint16 src0, uint16 src1, uint16 src2);
  15638. uint __ovld amd_sadd(uint src0, uint src1, uint src2);
  15639. uint2 __ovld amd_sadd(uint2 src0, uint2 src1, uint2 src2);
  15640. uint3 __ovld amd_sadd(uint3 src0, uint3 src1, uint3 src2);
  15641. uint4 __ovld amd_sadd(uint4 src0, uint4 src1, uint4 src2);
  15642. uint8 __ovld amd_sadd(uint8 src0, uint8 src1, uint8 src2);
  15643. uint16 __ovld amd_sadd(uint16 src0, uint16 src1, uint16 src2);
  15644. uint __ovld amd_sadw(uint src0, uint src1, uint src2);
  15645. uint2 __ovld amd_sadw(uint2 src0, uint2 src1, uint2 src2);
  15646. uint3 __ovld amd_sadw(uint3 src0, uint3 src1, uint3 src2);
  15647. uint4 __ovld amd_sadw(uint4 src0, uint4 src1, uint4 src2);
  15648. uint8 __ovld amd_sadw(uint8 src0, uint8 src1, uint8 src2);
  15649. uint16 __ovld amd_sadw(uint16 src0, uint16 src1, uint16 src2);
  15650. #endif // cl_amd_media_ops2
  15651. // Disable any extensions we may have enabled previously.
  15652. #pragma OPENCL EXTENSION all : disable
  15653. #undef __cnfn
  15654. #undef __ovld
  15655. #endif //_OPENCL_H_