def wasm_simd(f):

    def decorated(self):
        if (not self.is_wasm_backend()):
            self.skipTest('wasm simd not compatible with asm.js or asm2wasm')
        if ((not V8_ENGINE) or (V8_ENGINE not in JS_ENGINES)):
            self.skipTest('wasm simd only supported in d8 for now')
        if (self.is_wasm_backend() and (not self.get_setting('WASM'))):
            self.skipTest('wasm2js only supports MVP for now')
        self.emcc_args.append('-msimd128')
        self.emcc_args.append('-fno-lax-vector-conversions')
        with js_engines_modify([(V8_ENGINE + ['--experimental-wasm-simd'])]):
            f(self)
    return decorated
def wasm_simd(f):

    def decorated(self):
        if (not self.is_wasm_backend()):
            self.skipTest('wasm simd not compatible with asm.js or asm2wasm')
        if ((not V8_ENGINE) or (V8_ENGINE not in JS_ENGINES)):
            self.skipTest('wasm simd only supported in d8 for now')
        if (self.is_wasm_backend() and (not self.get_setting('WASM'))):
            self.skipTest('wasm2js only supports MVP for now')
        self.emcc_args.append('-msimd128')
        self.emcc_args.append('-fno-lax-vector-conversions')
        with js_engines_modify([(V8_ENGINE + ['--experimental-wasm-simd'])]):
            f(self)
    return decorated