Skip to content

Commit 50bed9b

Browse files
committed
chore: add compiled wasm files
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5da5918 commit 50bed9b

File tree

4 files changed

+173
-1
lines changed

4 files changed

+173
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/sapxsumkbn/manifest.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"options": {
3-
"task": "build"
3+
"task": "build",
4+
"wasm": false
45
},
56
"fields": [
67
{
@@ -27,6 +28,7 @@
2728
"confs": [
2829
{
2930
"task": "build",
31+
"wasm": false,
3032
"src": [
3133
"./src/main.c"
3234
],
@@ -49,6 +51,7 @@
4951
},
5052
{
5153
"task": "benchmark",
54+
"wasm": false,
5255
"src": [
5356
"./src/main.c"
5457
],
@@ -65,6 +68,24 @@
6568
},
6669
{
6770
"task": "examples",
71+
"wasm": false,
72+
"src": [
73+
"./src/main.c"
74+
],
75+
"include": [
76+
"./include"
77+
],
78+
"libraries": [],
79+
"libpath": [],
80+
"dependencies": [
81+
"@stdlib/strided/base/stride2offset",
82+
"@stdlib/blas/base/shared",
83+
"@stdlib/math/base/special/absf"
84+
]
85+
},
86+
{
87+
"task": "build",
88+
"wasm": true,
6889
"src": [
6990
"./src/main.c"
7091
],
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
'use strict';
20+
21+
// MODULES //
22+
23+
var base64ToUint8Array = require( '@stdlib/string/base/base64-to-uint8array' );
24+
25+
26+
// MAIN //
27+
28+
var wasm = base64ToUint8Array( 'AGFzbQEAAAAADwhkeWxpbmsuMAEEAAAAAAEVA2AAAGAEf31/fwF9YAV/fX9/fwF9Ag8BA2VudgZtZW1vcnkCAAADBAMAAQIHVQMRX193YXNtX2NhbGxfY3RvcnMAABlzdGRsaWJfc3RyaWRlZF9zYXB4c3Vta2JuAAEhc3RkbGliX3N0cmlkZWRfc2FweHN1bWtibl9uZGFycmF5AAIKpQEDAwABCxwAIAAgASACIANBASAAayADbEEAIANBAEwbEAILgQECA30BfyAAQQBMBEBDAAAAAA8LIAMEQANAIAAgCEZFBEAgBSABIAIgBEECdGoqAgCSIgUgBiAGIAWSIgeTkiAGIAUgB5OSIAaLIAWLYBuSIQUgCEEBaiEIIAMgBGohBCAHIQYMAQsLIAYgBZIPCyABIAIgBEECdGoqAgCSIACzlAs=' );
29+
30+
31+
// EXPORTS //
32+
33+
module.exports = wasm;
Binary file not shown.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
;; @license Apache-2.0
2+
;;
3+
;; Copyright (c) 2025 The Stdlib Authors.
4+
;;
5+
;; Licensed under the Apache License, Version 2.0 (the "License");
6+
;; you may not use this file except in compliance with the License.
7+
;; You may obtain a copy of the License at
8+
;;
9+
;; http://www.apache.org/licenses/LICENSE-2.0
10+
;;
11+
;; Unless required by applicable law or agreed to in writing, software
12+
;; distributed under the License is distributed on an "AS IS" BASIS,
13+
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
;; See the License for the specific language governing permissions and
15+
;; limitations under the License.
16+
17+
(module
18+
(type (;0;) (func))
19+
(type (;1;) (func (param i32 f32 i32 i32) (result f32)))
20+
(type (;2;) (func (param i32 f32 i32 i32 i32) (result f32)))
21+
(import "env" "memory" (memory (;0;) 0))
22+
(func (;0;) (type 0)
23+
nop)
24+
(func (;1;) (type 1) (param i32 f32 i32 i32) (result f32)
25+
local.get 0
26+
local.get 1
27+
local.get 2
28+
local.get 3
29+
i32.const 1
30+
local.get 0
31+
i32.sub
32+
local.get 3
33+
i32.mul
34+
i32.const 0
35+
local.get 3
36+
i32.const 0
37+
i32.le_s
38+
select
39+
call 2)
40+
(func (;2;) (type 2) (param i32 f32 i32 i32 i32) (result f32)
41+
(local f32 f32 f32 i32)
42+
local.get 0
43+
i32.const 0
44+
i32.le_s
45+
if ;; label = @1
46+
f32.const 0x0p+0 (;=0;)
47+
return
48+
end
49+
local.get 3
50+
if ;; label = @1
51+
loop ;; label = @2
52+
local.get 0
53+
local.get 8
54+
i32.eq
55+
i32.eqz
56+
if ;; label = @3
57+
local.get 5
58+
local.get 1
59+
local.get 2
60+
local.get 4
61+
i32.const 2
62+
i32.shl
63+
i32.add
64+
f32.load
65+
f32.add
66+
local.tee 5
67+
local.get 6
68+
local.get 6
69+
local.get 5
70+
f32.add
71+
local.tee 7
72+
f32.sub
73+
f32.add
74+
local.get 6
75+
local.get 5
76+
local.get 7
77+
f32.sub
78+
f32.add
79+
local.get 6
80+
f32.abs
81+
local.get 5
82+
f32.abs
83+
f32.ge
84+
select
85+
f32.add
86+
local.set 5
87+
local.get 8
88+
i32.const 1
89+
i32.add
90+
local.set 8
91+
local.get 3
92+
local.get 4
93+
i32.add
94+
local.set 4
95+
local.get 7
96+
local.set 6
97+
br 1 (;@2;)
98+
end
99+
end
100+
local.get 6
101+
local.get 5
102+
f32.add
103+
return
104+
end
105+
local.get 1
106+
local.get 2
107+
local.get 4
108+
i32.const 2
109+
i32.shl
110+
i32.add
111+
f32.load
112+
f32.add
113+
local.get 0
114+
f32.convert_i32_u
115+
f32.mul)
116+
(export "__wasm_call_ctors" (func 0))
117+
(export "stdlib_strided_sapxsumkbn" (func 1))
118+
(export "stdlib_strided_sapxsumkbn_ndarray" (func 2)))

0 commit comments

Comments
 (0)