mirror of
https://github.com/frida/tinycc
synced 2024-11-25 00:59:37 +03:00
4b3c6e74ab
tccgen.c: doubles need to be aligned, on ARM. The section_reserve() in init_putv does not do that. -D ONE_SOURCE: is now the default and not longer needed. Also, tcc.h now sets the default native target. These both make compiling tcc simple as "gcc tcc.c -o tcc -ldl" again. arm-asm.c: enable pseudo asm also for inline asm tests/tests2/Makefile: disable bitfield tests except on windows and x86_64 and don't generate-always tcc.c: fix a loop with -dt on errors configure: print compiler version (as recognized) tccpp.c: actually define symbols for tcc -dt clear static variables (needed for -dt or libtcc usage) 96_nodata_wanted.c: use __label__ instead of asm lib/files: use native symbols (__i386__ etc.) instead of TCC_TARGET_...
150 lines
5.0 KiB
Plaintext
150 lines
5.0 KiB
Plaintext
---- TEST 1 - MS-BITFIELDS ----
|
|
bits in use : 0000001FFFFFFFFF0000007F00000FFF
|
|
bits as set : 00000007605555550000004400000333
|
|
values : 333 44 555555 06 07
|
|
align/size : 4 16
|
|
|
|
---- TEST 2 - MS-BITFIELDS ----
|
|
bits in use : 0000000000000003000000000000000F7FFFFFFFFFFFFFFF0000003F00000FFF
|
|
bits as set : 00000000000000020000000000000005123456789ABCDEF00000001E00000003
|
|
values : 03 1e 123456789abcdef0 05 fffffffffffffffe
|
|
align/size : 8 32
|
|
|
|
---- TEST 3 - MS-BITFIELDS ----
|
|
bits in use : 001F001F0000001F000003FF
|
|
bits as set : 000E000600000019000002F5
|
|
values : 15 17 19 06 0e
|
|
align/size : 4 12
|
|
|
|
---- TEST 4 - MS-BITFIELDS ----
|
|
bits in use : 0007FFFF00000027
|
|
bits as set : 00078F0F00000023
|
|
values : 03 ffffffff 0f fffffff8 78
|
|
align/size : 4 8
|
|
|
|
---- TEST 5 - MS-BITFIELDS ----
|
|
bits in use : 00000000FFFF00FF0000003FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
|
|
bits as set : 0000000000770044000000000000007800000000300000000000000123456789
|
|
values : 0000000123456789 fffffffff0000000 0000000000000078 44 77
|
|
align/size : 8 32
|
|
|
|
---- TEST 6 - MS-BITFIELDS ----
|
|
bits in use : 00000000000000700000FFFF000000FFFFFFFFFF
|
|
bits as set : 000000000000003000002001000000FD00000004
|
|
values : 01 02 03 04 fffffffd
|
|
align/size : 4 20
|
|
|
|
|
|
|
|
---- TEST 1 - MS-BITFIELDS - PACKED ----
|
|
bits in use : 0000001FFFFFFFFF7F00000FFF
|
|
bits as set : 00000007605555554400000333
|
|
values : 333 44 555555 06 07
|
|
align/size : 1 13
|
|
|
|
---- TEST 2 - MS-BITFIELDS - PACKED ----
|
|
bits in use : 00000000000000030F7FFFFFFFFFFFFFFF3F00000FFF
|
|
bits as set : 000000000000000205123456789ABCDEF01E00000003
|
|
values : 03 1e 123456789abcdef0 05 fffffffffffffffe
|
|
align/size : 1 22
|
|
|
|
---- TEST 3 - MS-BITFIELDS - PACKED ----
|
|
bits in use : 001F1F0000001F000003FF
|
|
bits as set : 000E0600000019000002F5
|
|
values : 15 17 19 06 0e
|
|
align/size : 1 11
|
|
|
|
---- TEST 4 - MS-BITFIELDS - PACKED ----
|
|
bits in use : 0007FFFF00000027
|
|
bits as set : 00078F0F00000023
|
|
values : 03 ffffffff 0f fffffff8 78
|
|
align/size : 1 8
|
|
|
|
---- TEST 5 - MS-BITFIELDS - PACKED ----
|
|
bits in use : FFFFFF0000003FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
|
|
bits as set : 007744000000000000007800000000300000000000000123456789
|
|
values : 0000000123456789 fffffffff0000000 0000000000000078 44 77
|
|
align/size : 1 27
|
|
|
|
---- TEST 6 - MS-BITFIELDS - PACKED ----
|
|
bits in use : 00000000700000FFFFFFFFFFFFFF
|
|
bits as set : 000000003000002001FD00000004
|
|
values : 01 02 03 04 fffffffd
|
|
align/size : 1 14
|
|
|
|
|
|
|
|
---- TEST 1 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 0000001FFFFFFFFF0000007F00000FFF
|
|
bits as set : 00000007605555550000004400000333
|
|
values : 333 44 555555 06 07
|
|
align/size : 16 16
|
|
|
|
---- TEST 2 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 0000000000000003000000000000000F7FFFFFFFFFFFFFFF0000003F00000FFF
|
|
bits as set : 00000000000000020000000000000005123456789ABCDEF00000001E00000003
|
|
values : 03 1e 123456789abcdef0 05 fffffffffffffffe
|
|
align/size : 16 32
|
|
|
|
---- TEST 3 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 0000000000000000000000000000001F000000000000001F0000001F000003FF
|
|
bits as set : 0000000000000000000000000000000E000000000000000600000019000002F5
|
|
values : 15 17 19 06 0e
|
|
align/size : 16 32
|
|
|
|
---- TEST 4 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 0007FFFF00000027
|
|
bits as set : 00078F0F00000023
|
|
values : 03 ffffffff 0f fffffff8 78
|
|
align/size : 4 8
|
|
|
|
---- TEST 5 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 00000000FFFF00FF0000003FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
|
|
bits as set : 0000000000770044000000000000007800000000300000000000000123456789
|
|
values : 0000000123456789 fffffffff0000000 0000000000000078 44 77
|
|
align/size : 8 32
|
|
|
|
---- TEST 6 - MS-BITFIELDS - WITH ALIGN ----
|
|
bits in use : 00000000000000700000FFFF000000FFFFFFFFFF
|
|
bits as set : 000000000000003000002001000000FD00000004
|
|
values : 01 02 03 04 fffffffd
|
|
align/size : 4 20
|
|
|
|
|
|
|
|
---- TEST 1 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : 0000000000001FFFFFFFFF7F00000FFF
|
|
bits as set : 00000000000007605555554400000333
|
|
values : 333 44 555555 06 07
|
|
align/size : 16 16
|
|
|
|
---- TEST 2 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : 00000000000000030F0000007FFFFFFFFFFFFFFF3F00000FFF
|
|
bits as set : 000000000000000205000000123456789ABCDEF01E00000003
|
|
values : 03 1e 123456789abcdef0 05 fffffffffffffffe
|
|
align/size : 16 25
|
|
|
|
---- TEST 3 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : 001F000000000000001F0000001F000003FF
|
|
bits as set : 000E000000000000000600000019000002F5
|
|
values : 15 17 19 06 0e
|
|
align/size : 16 18
|
|
|
|
---- TEST 4 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : 0007FFFF00000027
|
|
bits as set : 00078F0F00000023
|
|
values : 03 ffffffff 0f fffffff8 78
|
|
align/size : 1 8
|
|
|
|
---- TEST 5 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : FFFFFF0000003FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
|
|
bits as set : 007744000000000000007800000000300000000000000123456789
|
|
values : 0000000123456789 fffffffff0000000 0000000000000078 44 77
|
|
align/size : 1 27
|
|
|
|
---- TEST 6 - MS-BITFIELDS - PACKED - WITH ALIGN ----
|
|
bits in use : 00000000700000FFFFFFFFFFFFFF
|
|
bits as set : 000000003000002001FD00000004
|
|
values : 01 02 03 04 fffffffd
|
|
align/size : 1 14
|