MCPcopy
hub / github.com/sql-js/sql.js / ___muldi3

Function ___muldi3

js/sql-debug.js:397658–397670  ·  view source on GitHub ↗
($a$0, $a$1, $b$0, $b$1)

Source from the content-addressed store, hash-verified

397656 return (tempRet0 = (($8 >>> 16) + (Math_imul($11, $6) | 0) | 0) + ((($8 & 65535) + $12 | 0) >>> 16) | 0, 0 | ($8 + $12 << 16 | $3 & 65535)) | 0;
397657}
397658function ___muldi3($a$0, $a$1, $b$0, $b$1) {
397659 $a$0 = $a$0 | 0;
397660 $a$1 = $a$1 | 0;
397661 $b$0 = $b$0 | 0;
397662 $b$1 = $b$1 | 0;
397663 var $x_sroa_0_0_extract_trunc = 0, $y_sroa_0_0_extract_trunc = 0, $1$0 = 0, $1$1 = 0, $2 = 0;
397664 $x_sroa_0_0_extract_trunc = $a$0;
397665 $y_sroa_0_0_extract_trunc = $b$0;
397666 $1$0 = ___muldsi3($x_sroa_0_0_extract_trunc, $y_sroa_0_0_extract_trunc) | 0;
397667 $1$1 = tempRet0;
397668 $2 = Math_imul($a$1, $y_sroa_0_0_extract_trunc) | 0;
397669 return (tempRet0 = ((Math_imul($b$1, $x_sroa_0_0_extract_trunc) | 0) + $2 | 0) + $1$1 | $1$1 & 0, 0 | $1$0 & -1) | 0;
397670}
397671function ___remdi3($a$0, $a$1, $b$0, $b$1) {
397672 $a$0 = $a$0 | 0;
397673 $a$1 = $a$1 | 0;

Callers 15

_squareFuncFunction · 0.85
_replicateFuncFunction · 0.85
_upper_quartileFinalizeFunction · 0.85
_unixCurrentTimeFunction · 0.85
_unixCurrentTimeInt64Function · 0.85
_sqlite3GetInt32Function · 0.85
_pcache1FetchStage2Function · 0.85
_trimFuncFunction · 0.85
_sqlite3AtoFFunction · 0.85
_sqlite3Atoi64Function · 0.85
_isDateFunction · 0.85
_localtimeOffsetFunction · 0.85

Calls 1

___muldsi3Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…