diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-10-24 14:21:51 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-10-24 14:34:59 +0200 |
commit | 03ab00aec5d10f4a2d048fab7f16489cf33fcc1d (patch) | |
tree | 16d5313fb0d61585f6d82c6232228d716e9f7553 /test/regression/Results/packedstruct1-64 | |
parent | 2fc1f0ce18c45d1148493d58e0c848fc70c44a4d (diff) | |
download | compcert-03ab00aec5d10f4a2d048fab7f16489cf33fcc1d.tar.gz compcert-03ab00aec5d10f4a2d048fab7f16489cf33fcc1d.zip |
Update the tests and test infrastructure in test/regression
Tests updated to work with x86 64 bits.
Infrastructure added: script "Runtest", with ability to have different reference outputs depending on platform or bit size.
Diffstat (limited to 'test/regression/Results/packedstruct1-64')
-rw-r--r-- | test/regression/Results/packedstruct1-64 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/regression/Results/packedstruct1-64 b/test/regression/Results/packedstruct1-64 new file mode 100644 index 00000000..c2a8bcd2 --- /dev/null +++ b/test/regression/Results/packedstruct1-64 @@ -0,0 +1,25 @@ +sizeof(struct s1) = 14 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s1 = {x = 123, y = -456, z = 3.14159} + +sizeof(struct s2) = 16 +&s2 mod 16 = 0 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s2 = {x = 57, y = -456, z = 3.14159} + +sizeof(struct s3) = 35 +offsetof(s) = 33 +s3 = {x = 123, y = 45678, z = 2147483649, v = -456, w = -1234567, p is ok, t = {111,222,333}, s = {'o','k'}} + +sizeof(struct s4) = 16 +offsetof(x) = 0, offsetof(y) = 4, offsetof(z) = 8 +s4 = {x = 123, y = -456, z = 3.14159} + +sizeof(struct s5) = 14 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s5 = {x = 123, y = -456, z = 3.14159} + +sizeof(struct s6) = 14 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s62 = {x = 123, y = -456, z = 3.14159} + |