summaryrefslogtreecommitdiffstats
path: root/target-alpha/int_helper.c
Commit message (Collapse)AuthorAgeFilesLines
* target-alpha: Special case cmpbge with zeroRichard Henderson2015-08-181-0/+14
| | | | | | Knowing the comparator is zero leads to a simpler operation. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-alpha: Rewrite helper_cmpbge using bit testsRichard Henderson2015-08-171-13/+26
| | | | | | | Not quite as good as using a proper host vector compare, but certainly better than a loop. Signed-off-by: Richard Henderson <rth@twiddle.net>
* Revert "target-alpha: Add vector implementation for CMPBGE"Peter Maydell2015-05-221-37/+0
| | | | | | | | | | | This reverts commit 32ad48abd74a997220b841e4e913edeb267aa362. Unfortunately the SSE2 code here fails to compile on some versions of gcc: target-alpha/int_helper.c:77:24: error: invalid operands to binary >= (have '__vector(16) unsigned char' and '__vector(16) unsigned char') Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* target-alpha: Add vector implementation for CMPBGERichard Henderson2015-05-211-0/+37
| | | | | | | While conditionalized on SSE2, it's a "portable" gcc generic vector implementation, which could be enabled on other hosts. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-alpha: Rewrite helper_zapnotRichard Henderson2015-05-211-18/+12
| | | | | | This form produces significantly smaller code on x86_64. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-alpha: Fix integer overflow checking insnsRichard Henderson2015-05-181-57/+2
| | | | | | | | | We need to write the result to the destination register before raising any exception. Thus inline the code for each insn, and check for any exception after we're done. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Richard Henderson <rth@twiddle.net>
* tcg: Invert the inclusion of helper.hRichard Henderson2014-05-281-1/+1
| | | | | | | | | | Rather than include helper.h with N values of GEN_HELPER, include a secondary file that sets up the macros to include helper.h. This minimizes the files that must be rebuilt when changing the macros for file N. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-alpha: Use mulu2 for umulh insnRichard Henderson2013-02-231-7/+0
| | | | | Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* misc: move include files to include/qemu/Paolo Bonzini2012-12-191-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* target-alpha: Move integer overflow helpers to int_helper.c.Richard Henderson2012-03-241-0/+62
| | | | | Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* target-alpha: Move integer helpers to int_helper.c.Richard Henderson2012-03-241-0/+257
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud