+ enable the sign extension wasm32 instructions

git-svn-id: branches/wasm@47975 -
This commit is contained in:
nickysn 2021-01-02 15:07:38 +00:00
parent fc95e7f22d
commit 4ea7d8dffb
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ interface
id : tasm;
idtxt : string[12];
asmbin : string[16];
asmcmd : string[70];
asmcmd : string[100];
supported_targets : set of tsystem;
flags : set of tasmflags;
labelprefix : string[3];

View File

@ -329,7 +329,7 @@ implementation
id : as_wasm32_llvm_mc;
idtxt : 'LLVM-MC';
asmbin : 'llvm-mc';
asmcmd : '--assemble --arch=wasm32 --filetype=obj -o $OBJ $EXTRAOPT $ASM';
asmcmd : '--assemble --arch=wasm32 -mattr=+sign-ext --filetype=obj -o $OBJ $EXTRAOPT $ASM';
supported_targets : [system_wasm32_wasm,system_wasm32_wasi];
flags : [];
labelprefix : '.L';