Bastian Koppelmann
5e0e06d9a2
target/tricore: Implement hptof insn
...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1667
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-ID: <20230828112651.522058-8-kbastian@mail.uni-paderborn.de >
2023-09-28 10:45:22 +02:00
Bastian Koppelmann
815061b9da
target/tricore: Implement ftohp insn
...
reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-ID: <20230828112651.522058-7-kbastian@mail.uni-paderborn.de >
2023-09-28 10:45:22 +02:00
Bastian Koppelmann
2bdbe35632
target/tricore: Implement FTOU insn
...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-ID: <20230828112651.522058-5-kbastian@mail.uni-paderborn.de >
2023-09-28 10:45:22 +02:00
Bastian Koppelmann
3e2a5107c5
target/tricore: Implement CRCN insn
...
reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-ID: <20230828112651.522058-3-kbastian@mail.uni-paderborn.de >
2023-09-28 10:45:22 +02:00
Bastian Koppelmann
4e3377bb5a
target/tricore: Add shuffle insn
...
this is based on code by volumit (https://github.com/volumit/qemu/ ).
Reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
and https://gitlab.com/qemu-project/qemu/-/issues/1452 .
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20230614100039.1337971-7-kbastian@mail.uni-paderborn.de >
2023-06-21 18:09:48 +02:00
Bastian Koppelmann
0eaafe33d0
target/tricore: Add crc32.b insn
...
reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20230614100039.1337971-6-kbastian@mail.uni-paderborn.de >
2023-06-21 17:56:45 +02:00
Bastian Koppelmann
dc0b4368be
target/tricore: Add crc32l.w insn
...
reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20230614100039.1337971-5-kbastian@mail.uni-paderborn.de >
2023-06-21 17:56:45 +02:00
Richard Henderson
1b55c52d60
target/tricore: Drop check for singlestep_enabled
...
GDB single-stepping is now handled generically.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2021-10-15 16:39:14 -07:00
Bastian Koppelmann
17ebc8c104
target/tricore: Implement a qemu excptions helper
...
this helper is only used to raise qemu specific exceptions. We use this
helper to raise it on breakpoints.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
2019-08-22 12:16:58 +02:00
Andreas Konopik
8317ea0607
tricore: add QSEED instruction
...
Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de >
Signed-off-by: David Brenken <david.brenken@efs-auto.de >
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de >
Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de >
Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de >
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20190624070339.4408-6-david.brenken@efs-auto.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
[BK: Added fp_status arg to float32_is_signaling_nan()]
2019-06-25 15:02:07 +02:00
David Brenken
4e6fd2e3ad
tricore: add UTOF instruction
...
Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de >
Signed-off-by: David Brenken <david.brenken@efs-auto.de >
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de >
Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de >
Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de >
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20190624070339.4408-3-david.brenken@efs-auto.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
2019-06-25 12:11:40 +02:00
David Brenken
1fa79fb02d
tricore: add FTOIZ instruction
...
Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de >
Signed-off-by: David Brenken <david.brenken@efs-auto.de >
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de >
Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de >
Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de >
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Message-Id: <20190624070339.4408-2-david.brenken@efs-auto.org >
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
2019-06-25 12:11:33 +02:00
Thomas Huth
02754acd89
target/tricore: Fix LGPL version number
...
It's either "GNU *Library* General Public version 2" or "GNU Lesser
General Public version *2.1*", but there was no "version 2.0" of the
"Lesser" library. So assume that version 2.1 is meant here.
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Signed-off-by: Thomas Huth <thuth@redhat.com >
Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <1548252536-6242-4-git-send-email-thuth@redhat.com >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2019-01-30 11:01:46 +01:00
Peter Maydell
b6c08970bc
Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-2017-01-11-2' into staging
...
TriCore FPU patches
# gpg: Signature made Wed 11 Jan 2017 13:40:11 GMT
# gpg: using RSA key 0x0AD2C6396B69CA14
# gpg: Good signature from "Bastian Koppelmann <kbastian@mail.uni-paderborn.de >"
# Primary key fingerprint: 6E63 6A7E 83F2 DD0C FA6E 6E37 0AD2 C639 6B69 CA14
* remotes/bkoppelmann/tags/pull-tricore-2017-01-11-2:
target-tricore: Add updfl instruction
target-tricore: Added new JNE instruction variant
target-tricore: Added new MOV instruction variant
target-tricore: Added MADD.F and MSUB.F instructions
target-tricore: Added FTOUZ instruction
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2017-01-12 18:29:49 +00:00
Bastian Koppelmann
50788a3fdb
target-tricore: Add updfl instruction
...
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Richard Henderson <rth@twiddle.net >
2017-01-11 14:37:37 +01:00
Bastian Koppelmann
ddd7fead8c
target-tricore: Added MADD.F and MSUB.F instructions
...
Multiplies D[a] and D[b] and adds/subtracts the result to/from D[d].
The result is put in D[c]. All operands are floating-point numbers.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Richard Henderson <rth@twiddle.net >
2017-01-11 14:37:07 +01:00
Bastian Koppelmann
8f75983db8
target-tricore: Added FTOUZ instruction
...
Converts a 32-bit floating point number to an unsigned int. The
result is rounded towards zero.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Richard Henderson <rth@twiddle.net >
2017-01-11 14:36:51 +01:00
Richard Henderson
16256947eb
target-tricore: Use clrsb helper
...
Tested-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Signed-off-by: Richard Henderson <rth@twiddle.net >
2017-01-10 08:47:48 -08:00
Richard Henderson
0efa820854
target-tricore: Use clz opcode
...
Tested-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Signed-off-by: Richard Henderson <rth@twiddle.net >
2017-01-10 08:06:11 -08:00
Thomas Huth
fcf5ef2ab5
Move target-* CPU file into a target/ folder
...
We've currently got 18 architectures in QEMU, and thus 18 target-xxx
folders in the root folder of the QEMU source tree. More architectures
(e.g. RISC-V, AVR) are likely to be included soon, too, so the main
folder of the QEMU sources slowly gets quite overcrowded with the
target-xxx folders.
To disburden the main folder a little bit, let's move the target-xxx
folders into a dedicated target/ folder, so that target-xxx/ simply
becomes target/xxx/ instead.
Acked-by: Laurent Vivier <laurent@vivier.eu > [m68k part]
Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de > [tricore part]
Acked-by: Michael Walle <michael@walle.cc > [lm32 part]
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com > [s390x part]
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com > [s390x part]
Acked-by: Eduardo Habkost <ehabkost@redhat.com > [i386 part]
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com > [sparc part]
Acked-by: Richard Henderson <rth@twiddle.net > [alpha part]
Acked-by: Max Filippov <jcmvbkbc@gmail.com > [xtensa part]
Reviewed-by: David Gibson <david@gibson.dropbear.id.au > [ppc part]
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com > [crisµblaze part]
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn > [unicore32 part]
Signed-off-by: Thomas Huth <thuth@redhat.com >
2016-12-20 21:52:12 +01:00