summaryrefslogtreecommitdiffstats
path: root/target-s390x/fpu_helper.c
Commit message (Collapse)AuthorAgeFilesLines
* softmmu: introduce cpu_ldst.hPaolo Bonzini2014-06-051-4/+1Star
| | | | | | | | | | This will collect all load and store helpers soon. For now it is just a replacement for softmmu_exec.h, which this patch stops including directly, but we also include it where this will be necessary in order to simplify the next patch. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* 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>
* exec: Change cpu_abort() argument to CPUStateAndreas Färber2014-03-131-1/+3
| | | | Signed-off-by: Andreas Färber <afaerber@suse.de>
* target-s390: Implement LOAD/SET FP AND SIGNALRichard Henderson2013-01-051-8/+29
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Use uint64_to_float128Richard Henderson2013-01-051-2/+1Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Implement CONVERT FROM LOGICALRichard Henderson2013-01-051-0/+31
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Implement CONVERT TO LOGICALRichard Henderson2013-01-051-0/+66
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert LFPC, SFPCRichard Henderson2013-01-051-0/+17
| | | | | | Note that we were failing to set the rounding mode in fpu_status. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert CONVERT FROM FIXEDRichard Henderson2013-01-051-51/+30Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert CONVERT TO FIXEDRichard Henderson2013-01-051-57/+41Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert LOAD ZERORichard Henderson2013-01-051-22/+0Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP SQUARE ROOTRichard Henderson2013-01-051-3/+21
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP LOAD COMPLIMENT, NEGATIVE, POSITIVERichard Henderson2013-01-051-65/+0Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert TEST DATA CLASSRichard Henderson2013-01-051-18/+10Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert MULTIPLY AND ADD, SUBTRACTRichard Henderson2013-01-051-31/+26Star
| | | | | | Use the new float*_muladd interface to softfloat. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP MULTIPLYRichard Henderson2013-01-051-48/+39Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP DIVIDERichard Henderson2013-01-051-48/+20Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP SUBTRACTRichard Henderson2013-01-051-54/+20Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-s390: Convert FP ADD, COMPARE, LOAD TEST/ROUND/LENGTHENEDRichard Henderson2013-01-051-186/+112Star
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* exec: move include files to include/exec/Paolo Bonzini2012-12-191-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* target-s390x: switch to AREG0 free modeBlue Swirl2012-09-101-2/+1Star
| | | | | | | | | | Add an explicit CPUState parameter instead of relying on AREG0. Remove temporary wrappers and switch to AREG0 free mode. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> [agraf: fix conflicts] Signed-off-by: Alexander Graf <agraf@suse.de>
* target-s390x: avoid AREG0 for FPU helpersBlue Swirl2012-09-101-88/+96
| | | | | | | | | | Make FPU helpers take a parameter for CPUState instead of relying on global env. Introduce temporary wrappers for FPU load and store ops. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* target-s390x: split FPU opsBlue Swirl2012-09-101-0/+836
Move floating point instructions to fpu_helper.c. While exporting some condition code helpers, avoid duplicate identifier conflict with translate.c. Remove unused set_cc_nz_f64() in translate.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>