@@ -183,10 +183,10 @@ def run(self, args):
183
183
184
184
def get_output_files (self ):
185
185
ret = [self .filename ]
186
- if 'WASM=1' in self .extra_args :
187
- ret .append (self .filename [:- 3 ] + '.wasm' )
188
- else :
186
+ if 'WASM=0' in self .extra_args :
189
187
ret .append (self .filename + '.mem' )
188
+ else :
189
+ ret .append (self .filename [:- 3 ] + '.wasm' )
190
190
return ret
191
191
192
192
CHEERP_BIN = '/opt/cheerp/bin/'
@@ -334,18 +334,17 @@ def handle_static_lib(self, f):
334
334
]
335
335
if SPIDERMONKEY_ENGINE and Building .which (SPIDERMONKEY_ENGINE [0 ]):
336
336
benchmarkers += [
337
- EmscriptenBenchmarker ('sm-asmjs' , SPIDERMONKEY_ENGINE , ['-s' , 'PRECISE_F32=2' ]),
338
- #EmscriptenBenchmarker('sm-simd', SPIDERMONKEY_ENGINE, ['-s', 'SIMD=1']),
339
- EmscriptenBenchmarker ('sm-asm2wasm' , SPIDERMONKEY_ENGINE + ['--no-wasm-baseline' ], ['-s' , 'WASM=1' ]),
340
- EmscriptenBenchmarker ('sm-asm2wasm-lto' , SPIDERMONKEY_ENGINE + ['--no-wasm-baseline' ], ['-s' , 'WASM=1' , '--llvm-lto' , '1' ]),
341
- #EmscriptenBenchmarker('sm-wasmbackend', SPIDERMONKEY_ENGINE + ['--no-wasm-baseline'], ['-s', 'WASM=1'], env={
337
+ EmscriptenBenchmarker ('sm-asmjs' , SPIDERMONKEY_ENGINE , ['-s' , 'PRECISE_F32=2' , '-s' , 'WASM=0' ]),
338
+ EmscriptenBenchmarker ('sm-asm2wasm' , SPIDERMONKEY_ENGINE + ['--no-wasm-baseline' ], []),
339
+ #EmscriptenBenchmarker('sm-asm2wasm-lto', SPIDERMONKEY_ENGINE + ['--no-wasm-baseline'], ['--llvm-lto', '1']),
340
+ #EmscriptenBenchmarker('sm-wasmbackend', SPIDERMONKEY_ENGINE + ['--no-wasm-baseline'], [env={
342
341
# 'LLVM': '/home/alon/Dev/llvm/build/bin',
343
342
# 'EMCC_WASM_BACKEND': '1',
344
343
#}),
345
344
]
346
345
if V8_ENGINE and Building .which (V8_ENGINE [0 ]):
347
346
benchmarkers += [
348
- EmscriptenBenchmarker ('v8-wasm' , V8_ENGINE , [ '-s' , 'WASM=1' ] ),
347
+ EmscriptenBenchmarker ('v8-wasm' , V8_ENGINE ),
349
348
]
350
349
if os .path .exists (CHEERP_BIN ):
351
350
benchmarkers += [
0 commit comments