blob: 24f6d9f13f85ac09d1d0ac0c9a438cbf13c86239 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
Regressions on arm target with some GCC tests
Hi,
After trying qemu master:
commit 474f3938d79ab36b9231c9ad3b5a9314c2aeacde
Merge: 68d7ff0 14f5d87
Author: Peter Maydell <email address hidden>
Date: Fri Jun 21 15:40:50 2019 +0100
I found several regressions compared to qemu-3.1 when running the GCC testsuite.
I'm attaching a tarball containing several GCC tests (binaries), needed shared libs, and a short script to run all the tests.
All tests used to pass w/o error (one of them is verbose), but with a recent qemu, all of them make qemu crash:
qemu: uncaught target signal 6 (Aborted) - core dumped
This was noticed with GCC master configured with
--target arm-none-linux-gnueabi
--with-mode arm
--with-cpu cortex-a9
and calling qemu with --cpu cortex-a9 (the script uses "any", this makes no difference).
I have noticed other failures with arm-v8 code, but this is probably the same root cause. Since it's a bit tedious to manually rebuild & extract the testcases, I'd prefer to start with this subset, and I can extract more if needed later.
Thanks
I bisected a chunk of the errors to:
commit c6fb8c0cf704c4a1a48c3e99e995ad4c58150dab (refs/bisect/bad)
Author: Richard Henderson <email address hidden>
Date: Mon Feb 25 11:42:35 2019 -0800
tcg/i386: Support INDEX_op_extract2_{i32,i64}
Signed-off-by: Richard Henderson <email address hidden>
Specifically I think when tcg_gen_deposit_i32 handles the if (ofs + len == 32) case.
Fixed by:
Subject: [PATCH for-4.1] tcg: Fix constant folding of INDEX_op_extract2_i32
Date: Tue, 9 Jul 2019 14:19:00 +0200
Message-Id: <email address hidden>
I confirm this patch fixes the problem I reported. Thanks!
|