Files
prometeu-studio/docs/vm-arch/INTRINSICS.csv
T
bquarkz 603ed01227 feat(compiler): port runtime catalogs and enforce target ABI (AGD77)
Import both runtime catalogs and provenance, port all intrinsic metadata and exact constants, and validate target signatures and carriers through the common pipeline. Package matching compiler/SDK resources and add active parity plus production runtime conformance checks.

Validation: 420 compiler/PBS tests passed, with 12 existing skips; provider export, runtime execution and installed catalog checks passed. The pre-existing Gfx.clear typed-metadata failure remains active and assigned to AGD78 under the explicitly accepted scope revision recorded in LSN-0080.
2026-10-15 13:07:49 +01:00

10 KiB

1final_id_hexfinal_id_deccanonical_namecanonical_versionownernamearg_slotsret_slotsarg_layoutret_layoutdeterministicmay_allocateparameter_namescost_cyclesmutates_guest_statecost_modelattempt_cost_cyclesmax_attempts
20x10004096vec2.dot1vec2dot41Float|Float|Float|FloatFloattruefalseax|ay|bx|by10falsefixed00
30x10014097vec2.length1vec2length21Float|FloatFloattruefalsex|y40falsefixed00
40x11004352color.from_raw1colorfrom_raw11Int64builtin:colortruefalseraw1falsefixed00
50x11014353color.rgb1colorrgb31Int64|Int64|Int64builtin:colortruefalser|g|b1falsefixed00
60x11024354color.rgba1colorrgba41Int64|Int64|Int64|Int64builtin:colortruefalser|g|b|a1falsefixed00
70x11034355color.html_rgba1colorhtml_rgba11Stringbuiltin:colortruefalsevalue1falsefixed00
80x11044356color.gray_scale1colorgray_scale11Int64builtin:colortruefalsevalue1falsefixed00
90x11054357color.hex1colorhex11builtin:colorInt64truefalsecolor1falsefixed00
100x11064358color.alpha1coloralpha11builtin:colorInt64truefalsecolor1falsefixed00
110x11204384color.black1colorblack01builtin:colortruefalse1falsefixed00
120x11214385color.white1colorwhite01builtin:colortruefalse1falsefixed00
130x11224386color.red1colorred01builtin:colortruefalse1falsefixed00
140x11234387color.green1colorgreen01builtin:colortruefalse1falsefixed00
150x11244388color.blue1colorblue01builtin:colortruefalse1falsefixed00
160x11254389color.yellow1coloryellow01builtin:colortruefalse1falsefixed00
170x11264390color.orange1colororange01builtin:colortruefalse1falsefixed00
180x11274391color.indigo1colorindigo01builtin:colortruefalse1falsefixed00
190x11284392color.gray1colorgray01builtin:colortruefalse1falsefixed00
200x11294393color.cyan1colorcyan01builtin:colortruefalse1falsefixed00
210x112A4394color.magenta1colormagenta01builtin:colortruefalse1falsefixed00
220x112B4395color.transparent1colortransparent01builtin:colortruefalse1falsefixed00
230x21008448input.pad.up.pressed1input.pad.uppressed01Booltruefalse1falsefixed00
240x21018449input.pad.up.released1input.pad.upreleased01Booltruefalse1falsefixed00
250x21028450input.pad.up.down1input.pad.updown01Booltruefalse1falsefixed00
260x21038451input.pad.up.hold1input.pad.uphold01Int64truefalse1falsefixed00
270x21048452input.pad.down.pressed1input.pad.downpressed01Booltruefalse1falsefixed00
280x21058453input.pad.down.released1input.pad.downreleased01Booltruefalse1falsefixed00
290x21068454input.pad.down.down1input.pad.downdown01Booltruefalse1falsefixed00
300x21078455input.pad.down.hold1input.pad.downhold01Int64truefalse1falsefixed00
310x21088456input.pad.left.pressed1input.pad.leftpressed01Booltruefalse1falsefixed00
320x21098457input.pad.left.released1input.pad.leftreleased01Booltruefalse1falsefixed00
330x210A8458input.pad.left.down1input.pad.leftdown01Booltruefalse1falsefixed00
340x210B8459input.pad.left.hold1input.pad.lefthold01Int64truefalse1falsefixed00
350x210C8460input.pad.right.pressed1input.pad.rightpressed01Booltruefalse1falsefixed00
360x210D8461input.pad.right.released1input.pad.rightreleased01Booltruefalse1falsefixed00
370x210E8462input.pad.right.down1input.pad.rightdown01Booltruefalse1falsefixed00
380x210F8463input.pad.right.hold1input.pad.righthold01Int64truefalse1falsefixed00
390x21108464input.pad.a.pressed1input.pad.apressed01Booltruefalse1falsefixed00
400x21118465input.pad.a.released1input.pad.areleased01Booltruefalse1falsefixed00
410x21128466input.pad.a.down1input.pad.adown01Booltruefalse1falsefixed00
420x21138467input.pad.a.hold1input.pad.ahold01Int64truefalse1falsefixed00
430x21148468input.pad.b.pressed1input.pad.bpressed01Booltruefalse1falsefixed00
440x21158469input.pad.b.released1input.pad.breleased01Booltruefalse1falsefixed00
450x21168470input.pad.b.down1input.pad.bdown01Booltruefalse1falsefixed00
460x21178471input.pad.b.hold1input.pad.bhold01Int64truefalse1falsefixed00
470x21188472input.pad.x.pressed1input.pad.xpressed01Booltruefalse1falsefixed00
480x21198473input.pad.x.released1input.pad.xreleased01Booltruefalse1falsefixed00
490x211A8474input.pad.x.down1input.pad.xdown01Booltruefalse1falsefixed00
500x211B8475input.pad.x.hold1input.pad.xhold01Int64truefalse1falsefixed00
510x211C8476input.pad.y.pressed1input.pad.ypressed01Booltruefalse1falsefixed00
520x211D8477input.pad.y.released1input.pad.yreleased01Booltruefalse1falsefixed00
530x211E8478input.pad.y.down1input.pad.ydown01Booltruefalse1falsefixed00
540x211F8479input.pad.y.hold1input.pad.yhold01Int64truefalse1falsefixed00
550x21208480input.pad.l.pressed1input.pad.lpressed01Booltruefalse1falsefixed00
560x21218481input.pad.l.released1input.pad.lreleased01Booltruefalse1falsefixed00
570x21228482input.pad.l.down1input.pad.ldown01Booltruefalse1falsefixed00
580x21238483input.pad.l.hold1input.pad.lhold01Int64truefalse1falsefixed00
590x21248484input.pad.r.pressed1input.pad.rpressed01Booltruefalse1falsefixed00
600x21258485input.pad.r.released1input.pad.rreleased01Booltruefalse1falsefixed00
610x21268486input.pad.r.down1input.pad.rdown01Booltruefalse1falsefixed00
620x21278487input.pad.r.hold1input.pad.rhold01Int64truefalse1falsefixed00
630x21288488input.pad.start.pressed1input.pad.startpressed01Booltruefalse1falsefixed00
640x21298489input.pad.start.released1input.pad.startreleased01Booltruefalse1falsefixed00
650x212A8490input.pad.start.down1input.pad.startdown01Booltruefalse1falsefixed00
660x212B8491input.pad.start.hold1input.pad.starthold01Int64truefalse1falsefixed00
670x212C8492input.pad.select.pressed1input.pad.selectpressed01Booltruefalse1falsefixed00
680x212D8493input.pad.select.released1input.pad.selectreleased01Booltruefalse1falsefixed00
690x212E8494input.pad.select.down1input.pad.selectdown01Booltruefalse1falsefixed00
700x212F8495input.pad.select.hold1input.pad.selecthold01Int64truefalse1falsefixed00
710x21308496input.touch.button.pressed1input.touch.buttonpressed01Booltruefalse1falsefixed00
720x21318497input.touch.button.released1input.touch.buttonreleased01Booltruefalse1falsefixed00
730x21328498input.touch.button.down1input.touch.buttondown01Booltruefalse1falsefixed00
740x21338499input.touch.button.hold1input.touch.buttonhold01Int64truefalse1falsefixed00
750x21348500input.touch.x1input.touchx01Int64truefalse1falsefixed00
760x21358501input.touch.y1input.touchy01Int64truefalse1falsefixed00
770x300012288math.i32.min1math.i32min21Int32|Int32Int32truefalsea|b2falsefixed00
780x300112289math.i32.max1math.i32max21Int32|Int32Int32truefalsea|b2falsefixed00
790x300212290math.i32.clamp1math.i32clamp31Int32|Int32|Int32Int32truefalsevalue|min|max4falsefixed00
800x300312291math.i32.abs1math.i32abs11Int32Int32truefalsevalue2falsefixed00
810x300412292math.i64.min1math.i64min21Int64|Int64Int64truefalsea|b2falsefixed00
820x300512293math.i64.max1math.i64max21Int64|Int64Int64truefalsea|b2falsefixed00
830x300612294math.i64.clamp1math.i64clamp31Int64|Int64|Int64Int64truefalsevalue|min|max4falsefixed00
840x300712295math.i64.abs1math.i64abs11Int64Int64truefalsevalue2falsefixed00
850x300812296mathf.min1mathfmin21Float|FloatFloattruefalsea|b2falsefixed00
860x300912297mathf.max1mathfmax21Float|FloatFloattruefalsea|b2falsefixed00
870x300A12298mathf.clamp1mathfclamp31Float|Float|FloatFloattruefalsevalue|min|max4falsefixed00
880x300B12299mathf.abs1mathfabs11FloatFloattruefalsevalue2falsefixed00
890x300C12300mathf.floor1mathffloor11FloatFloattruefalsevalue4falsefixed00
900x300D12301mathf.ceil1mathfceil11FloatFloattruefalsevalue4falsefixed00
910x300E12302mathf.trunc1mathftrunc11FloatFloattruefalsevalue4falsefixed00
920x300F12303mathf.round1mathfround11FloatFloattruefalsevalue4falsefixed00
930x301012304mathf.sqrt1mathfsqrt11FloatFloattruefalsevalue16falsefixed00
940x301112305mathf.sin1mathfsin11FloatFloattruefalseangle32falsefixed00
950x301212306mathf.cos1mathfcos11FloatFloattruefalseangle32falsefixed00
960x301312307mathf.atan21mathfatan221Float|FloatFloattruefalsey|x48falsefixed00
970x301412308math.i32.to_i641math.i32to_i6411Int32Int64truefalsevalue2falsefixed00
980x301512309math.i64.to_i321math.i64to_i3211Int64Int32truefalsevalue2falsefixed00
990x301612310math.i32.to_float1math.i32to_float11Int32Floattruefalsevalue2falsefixed00
1000x301712311math.i64.to_float1math.i64to_float11Int64Floattruefalsevalue2falsefixed00
1010x301812312mathf.to_i321mathfto_i3211FloatInt32truefalsevalue2falsefixed00
1020x301912313mathf.to_i641mathfto_i6411FloatInt64truefalsevalue2falsefixed00
1030x400016384random.new1randomnew11Int64builtin:Randomtruetrueseed32truefixed00
1040x400116385random.next1randomnext11builtin:RandomInt64truefalserng8truefixed00
1050x400216386random.nextf1randomnextf11builtin:RandomFloattruefalserng12truefixed00
1060x400316387random.range1randomrange31builtin:Random|Int64|Int64Int64truefalserng|min|max4truerandom_rejection_v1864