File tree Expand file tree Collapse file tree 3 files changed +151
-0
lines changed
lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumkbn Expand file tree Collapse file tree 3 files changed +151
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * @license Apache-2.0
3+ *
4+ * Copyright (c) 2024 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 ( 'AGFzbQEAAAAADwhkeWxpbmsuMAEEAAAAAAEVA2AAAGAEf3x/fwF8YAV/fH9/fwF8Ag8BA2VudgZtZW1vcnkCAAADBAMAAQIHVQMRX193YXNtX2NhbGxfY3RvcnMAABlzdGRsaWJfc3RyaWRlZF9kYXB4c3Vta2JuAAEhc3RkbGliX3N0cmlkZWRfZGFweHN1bWtibl9uZGFycmF5AAIKqQEDAwABCxwAIAAgASACIANBASAAayADbEEAIANBAEwbEAILhQECA3wBfyAAQQBMBEBEAAAAAAAAAAAPCyADBEADQCAAIAhGRQRAIAUgASACIARBA3RqKwMAoCIFIAYgBiAFoCIHoaAgBiAFIAehoCAGmSAFmWYboCEFIAhBAWohCCADIARqIQQgByEGDAELCyAGIAWgDwsgASACIARBA3RqKwMAoCAAuKIL' ) ;
29+
30+
31+ // EXPORTS //
32+
33+ module . exports = wasm ;
Original file line number Diff line number Diff line change 1+ ;; @license Apache-2.0
2+ ;;
3+ ;; Copyright (c) 2024 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 f64 i32 i32 ) (result f64 )))
20+ (type (;2;) (func (param i32 f64 i32 i32 i32 ) (result f64 )))
21+ (import " env" " memory" (memory (;0;) 0 ))
22+ (func (;0;) (type 0 )
23+ nop )
24+ (func (;1;) (type 1 ) (param i32 f64 i32 i32 ) (result f64 )
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 f64 i32 i32 i32 ) (result f64 )
41+ (local f64 f64 f64 i32 )
42+ local.get 0
43+ i32.const 0
44+ i32.le_s
45+ if ;; label = @1
46+ f64.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 3
62+ i32.shl
63+ i32.add
64+ f64.load
65+ f64.add
66+ local.tee 5
67+ local.get 6
68+ local.get 6
69+ local.get 5
70+ f64.add
71+ local.tee 7
72+ f64.sub
73+ f64.add
74+ local.get 6
75+ local.get 5
76+ local.get 7
77+ f64.sub
78+ f64.add
79+ local.get 6
80+ f64.abs
81+ local.get 5
82+ f64.abs
83+ f64.ge
84+ select
85+ f64.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+ f64.add
103+ return
104+ end
105+ local.get 1
106+ local.get 2
107+ local.get 4
108+ i32.const 3
109+ i32.shl
110+ i32.add
111+ f64.load
112+ f64.add
113+ local.get 0
114+ f64.convert_i32_u
115+ f64.mul )
116+ (export " __wasm_call_ctors" (func 0 ))
117+ (export " stdlib_strided_dapxsumkbn" (func 1 ))
118+ (export " stdlib_strided_dapxsumkbn_ndarray" (func 2 )))
You can’t perform that action at this time.
0 commit comments