[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 21ce14: tests: cris: force inlining
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 21ce14: tests: cris: force inlining |
Date: |
Wed, 28 Sep 2016 04:00:04 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 21ce148c7ec71ee32834061355a5ecfd1a11f90f
https://github.com/qemu/qemu/commit/21ce148c7ec71ee32834061355a5ecfd1a11f90f
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M tests/tcg/cris/check_abs.c
M tests/tcg/cris/check_addc.c
M tests/tcg/cris/check_addcm.c
M tests/tcg/cris/check_bound.c
M tests/tcg/cris/check_ftag.c
M tests/tcg/cris/check_int64.c
M tests/tcg/cris/check_lz.c
M tests/tcg/cris/check_swap.c
M tests/tcg/cris/crisutils.h
M tests/tcg/cris/sys.h
Log Message:
-----------
tests: cris: force inlining
The CRIS tests expect that functions marked inline are always inline.
With newer versions of GCC, building them results warnings like the
following and spurious failures when they are run.
In file included from tests/tcg/cris/check_moveq.c:5:0:
tests/tcg/cris/crisutils.h:66:20: warning: inlining failed in call to
'cris_tst_cc.constprop.0': call is unlikely and code size would grow [-Winline]
tests/tcg/cris/check_moveq.c:28:13: warning: called from here [-Winline]
Use the always_inline attribute when building them to fix this.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: f278d5cbe59bc022ee67ead5f608fe0530c4e96b
https://github.com/qemu/qemu/commit/f278d5cbe59bc022ee67ead5f608fe0530c4e96b
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M tests/tcg/cris/sys.c
Log Message:
-----------
tests: cris: fix syscall inline asm
Add the appropriate register constraints for the inline asm for the
write and exit system calls. Without the correct constraints for the
write() function, correct failure messages are not printed succesfully
on newer version of GCC.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: d10a0102b33e5bedf2bb92152beceea51245ae84
https://github.com/qemu/qemu/commit/d10a0102b33e5bedf2bb92152beceea51245ae84
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M tests/tcg/cris/Makefile
R tests/tcg/cris/check_openpf4.c
Log Message:
-----------
tests: cris: remove openpf4 test
This test, borrowed from the GDB simulator test suite, is meant to test
the GDB simulator's --sysroot feature and always fails in QEMU. Remove
it. openpf3 tests the same sequence of system calls (without assuming
the precence of --sysroot).
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 85b3ed1db5e50b66016ef59ca2afce10e753cbc6
https://github.com/qemu/qemu/commit/85b3ed1db5e50b66016ef59ca2afce10e753cbc6
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M tests/tcg/cris/Makefile
R tests/tcg/cris/check_time1.c
Log Message:
-----------
tests: cris: remove check_time1
This test, borrowed from the GDB simulator test suite, checks that every
syscall increments the time returned by gettimeofday() by exactly 1 ms.
This is not guaranteed or even desirable on QEMU so remove this test.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 17bc37b75ea4c33a6f36f073a67df687bef840c9
https://github.com/qemu/qemu/commit/17bc37b75ea4c33a6f36f073a67df687bef840c9
Author: Hans-Peter Nilsson <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M target-cris/translate.c
Log Message:
-----------
target-cris: reduce v32isms from v10 log dumps
Use the correct register names for v10 and don't dump support function
registers for pre-v32.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Hans-Peter Nilsson <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: ceffd34e8589a9a4f18849a21ae1fecaef3af02e
https://github.com/qemu/qemu/commit/ceffd34e8589a9a4f18849a21ae1fecaef3af02e
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M target-cris/cpu.c
M target-cris/crisv10-decode.h
M target-cris/translate_v10.c
Log Message:
-----------
target-cris: add v17 CPU
In the CRIS v17 CPU an ADDC (add with carry) instruction has been added
compared to the v10 instruction set.
Assembler syntax:
ADDC [Rs],Rd
ADDC [Rs+],Rd
Size: Dword
Description:
The source data is added together with the carry flag to the
destination register. The size of the operation is dword.
Operation:
Rd += s + C-flag;
Flags affected:
S R P U I X N Z V C
- - - - - 0 * * * *
Instruction format: ADDC [Rs],Rd
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|Destination(Rd)| 1 0 0 1 1 0 1 0 | Source(Rs) |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Instruction format: ADDC [Rs+],Rd
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|Destination(Rd)| 1 1 0 1 1 0 1 0 | Source(Rs) |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
[EI: Shorten 80+ lines]
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 4a58f35b793d5d09d6cef921bf6ed7ffc39669fd
https://github.com/qemu/qemu/commit/4a58f35b793d5d09d6cef921bf6ed7ffc39669fd
Author: Rabin Vincent <address@hidden>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
M tests/tcg/cris/Makefile
A tests/tcg/cris/check_addcv17.s
Log Message:
-----------
tests: cris: add v17 ADDC test
Add a test for the newly implemented ADDC instruction in the v17 CRIS
CPU.
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Rabin Vincent <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Compare: https://github.com/qemu/qemu/compare/25930ed60aad...4a58f35b793d
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 21ce14: tests: cris: force inlining,
GitHub <=