diff options
| author | 2023-02-12 20:39:03 +0000 | |
|---|---|---|
| committer | 2023-02-12 20:39:03 +0000 | |
| commit | e537d927a103e4990f82765eba1dbefabd332749 (patch) | |
| tree | 1454a3fa97dba7a0f521c8b6881c8164b9cdb6a2 | |
| parent | syscall test (diff) | |
test all
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | creole.c | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -1,3 +1,4 @@ +test: test_asm c_test/encode_decode c_test/creole asm/libcreole.so: creole.c creole.h $(CC) -Wall -fPIC -c creole.c -o c_test/creole.o $(CC) -shared -o asm/libcreole.so c_test/creole.o @@ -6,5 +7,7 @@ test_asm: asm/libcreole.so cd asm && python3 test.py c_test/encode_decode: c_test/encode_decode.c creole.c creole.h $(CC) c_test/encode_decode.c -Wall -pedantic -std=c89 -g -fopenmp -o c_test/encode_decode -c_test/creole: c_test/creole.c creole.c creole.h greatest.h + # c_test/encode_decode +c_test/creole: c_test/creole.c creole.c creole.h c_test/greatest.h $(CC) -g c_test/creole.c -Wall -pedantic -std=c89 -o c_test/creole + c_test/creole @@ -525,10 +525,10 @@ check_label(struct creole_env *env, creole_word label) } enum argument_signed { - ALL_UNSIGNED = 0, // 0b00 - FIRST_SIGNED = 2, // 0b10 - SECOND_SIGNED = 1, // 0b01 - ALL_SIGNED = 3 // 0b11 + ALL_UNSIGNED = 0, /* 0b00 */ + FIRST_SIGNED = 2, /* 0b10 */ + SECOND_SIGNED = 1, /* 0b01 */ + ALL_SIGNED = 3 /* 0b11 */ }; static enum argument_signed check_sign_bits(unsigned flags1, unsigned flags2) |
