You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile for X86:
/path/to/coremark/make PORT_DIR=linux64
Use llvm-mctoll to translate coremark and compare the function return type.
For get_seed_args:
Function prototype of source code:
ee_s32 get_seed_args(int i, int argc, char *argv[])
Function prototype parsed:
declare dso_local void @get_seed_args(i32 %arg1, i32 %arg2, i64 %arg3)
The text was updated successfully, but these errors were encountered:
aaronsm
changed the title
Incorrect function return types for X86 coremark compiled with clang
Incorrect function return types for code compiled with clang (coremark)
Mar 2, 2020
Grab coremark from github.
Modify /path/to/coremark/linux64/core_portme.mak file as below:
-CC = gcc
+CC = clang
Compile for X86:
/path/to/coremark/make PORT_DIR=linux64
Use llvm-mctoll to translate coremark and compare the function return type.
For get_seed_args:
Function prototype of source code:
ee_s32 get_seed_args(int i, int argc, char *argv[])
Function prototype parsed:
declare dso_local void @get_seed_args(i32 %arg1, i32 %arg2, i64 %arg3)
The text was updated successfully, but these errors were encountered: