[PATCH] plugin: Fixes compiling errors on OSX

2020-10-26 Thread Peer Adelt
rs when linking under OSX Mojave and Big Sur. Signed-off-by: Peer Adelt --- plugins/qemu-plugins.symbols | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols index 4bdb381f48..40b4ff3821 100644 --- a/plugins/qemu-plugins.symbols +++ b/p

Re: HTIF tohost symbol size check always fails

2020-10-16 Thread Peer Adelt
continued to search for the error in the QEMU HTIF device. But in fact it was due to the wrong binary. Thanks a lot! :-) > On 16. Oct 2020, at 20:03, Alistair Francis wrote: > > On Fri, Oct 16, 2020 at 7:59 AM Peer Adelt wrote: >> >> Hi, >> >> I have a problem wi

HTIF tohost symbol size check always fails

2020-10-16 Thread Peer Adelt
nel Version 18.7.0) - Compiler: Latest SiFive Build for GCC under OSX - Command: qemu-system-riscv32 -M spike -nographic -bios none -kernel Best regards, Peer Adelt

[Qemu-devel] [PATCH v3 2/4] target-tricore: Added MADD.F and MSUB.F instructions

2016-06-07 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> 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: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/fpu_h

[Qemu-devel] [PATCH v3 3/4] target-tricore: Added new MOV instruction variant

2016-06-07 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> Puts the content of data register D[a] into E[c][63:32] and the content of data register D[b] into E[c][31:0]. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 15 +++ target-tricore/tricore-op

[Qemu-devel] [PATCH v3 0/4] Added 5 instructions to the tricore target

2016-06-07 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> This patch set contains 5 new instructions: - FTOUZ (converts float to unsigned int, rounds towards zero) - MADD.F / MSUB.F (multiplies two floats and adds/subtracts result to/from the third operand) - MOV (new variant in RR

[Qemu-devel] [PATCH v3 1/4] target-tricore: Added FTOUZ instruction

2016-06-07 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> Converts a 32-bit floating point number to an unsigned int. The result is rounded towards zero. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> Reviewed-by: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> --- target-tricore

[Qemu-devel] [PATCH v3 4/4] target-tricore: Added new JNE instruction variant

2016-06-07 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> If D[15] is != sign_ext(const4) then PC will be set to (PC + zero_ext(disp4 + 16)). Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 16 target-tricore/tricore-opcodes.h | 2 ++ 2 files

[Qemu-devel] [PATCH v2 4/4] target-tricore: Added new JNE instruction variant

2016-05-30 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> If D[15] is != sign_ext(const4) then PC will be set to (PC + zero_ext(disp4 + 16)). Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 11 +++ target-tricore/tricore-opcodes.h | 1 + 2 files

[Qemu-devel] [PATCH v2 3/4] target-tricore: Added new MOV instruction variant

2016-05-30 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> Puts the content of data register D[a] into E[c][63:32] and the content of data register D[b] into E[c][31:0]. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 8 target-tricore/tricore-opcode

[Qemu-devel] [PATCH 4/4] target-tricore: Added new JNE instruction variant

2016-05-29 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> If D[15] is != sign_ext(const4) then PC will be set to (PC + zero_ext(disp4 + 16)). Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 1 + target-tricore/tricore-opcodes.h | 1 + 2 files changed, 2 inserti

[Qemu-devel] [PATCH 0/4] Added 5 instructions to the tricore target

2016-05-29 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> This patch set contains 5 new instructions: - FTOUZ (converts float to unsigned int, rounds towards zero) - MADD.F / MSUB.F (multiplies two floats and adds/subtracts result to/from the third operand) - MOV (new variant in RR format

[Qemu-devel] [PATCH 1/4] target-tricore: Added FTOUZ instruction

2016-05-29 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> Converts a 32-bit floating point number to an unsigned int. The result is rounded towards zero. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/fpu_helper.c | 20 target-tricore/helper.h | 1 + ta

[Qemu-devel] [PATCH 2/4] target-tricore: Added MADD.F and MSUB.F instructions

2016-05-29 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> 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: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/fpu_h

[Qemu-devel] [PATCH 3/4] target-tricore: Added new MOV instruction variant

2016-05-29 Thread peer . adelt
From: Peer Adelt <peer.ad...@c-lab.de> Puts the content of data register D[a] into E[c][63:32] and the content of data register D[b] into E[c][31:0]. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- target-tricore/translate.c | 4 target-tricore/tricore-opcodes.h |

[Qemu-devel] [RFC PATCH 1/3] tb-annotation: Added annotation XML file parser

2016-01-14 Thread Peer Adelt
The XML file contains a control flow graph, where each edge is annotated with a context-dependent value. The parser reads this information into a data structure within CPUState. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- include/qom/cpu.h| 9 ++ incl

Re: [Qemu-devel] [RFC PATCH 0/3] (Resend) TranslationBlock annotation mechanism

2016-01-14 Thread Peer Adelt
On 14.01.2016 11:55, Peer Adelt wrote: Hey guys :) We have developed a generic concept to annotate TranslationBlocks during runtime. The initial idea was to use it for time annotation with data from static analysis tools. However, we have kept this approach as generic as possible to allow other

[Qemu-devel] [RFC PATCH 3/3] tb-annotation: Activate annotation extension

2016-01-14 Thread Peer Adelt
This changeset activates the TranslationBlock annotation mechanism for the QEMU system mode. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- Makefile| 5 +++-- Makefile.objs | 4 Makefile.target | 4 +++- configure

[Qemu-devel] [RFC PATCH 0/3] (Resend) TranslationBlock annotation mechanism

2016-01-14 Thread Peer Adelt
on. During execution, the "value_sum" field of the CPUState data structure will accumulate a total value of 70 (cycles). Are there any comments? Is this in general a good idea to be added to upstream QEMU? All the best, Peer Peer Adelt (3): tb-annotation: Added annotation XML fi

[Qemu-devel] [RFC PATCH 2/3] tb-annotation: Add control flow graph mapper

2016-01-14 Thread Peer Adelt
-by: Peer Adelt <peer.ad...@c-lab.de> --- include/exec/gen-icount.h | 18 + tcg-runtime.c | 99 +++ tcg/tcg-runtime.h | 4 ++ 3 files changed, 121 insertions(+) diff --git a/include/exec/gen-icount.h b/include/exec/gen-ic

[Qemu-devel] [RFC PATCH 1/3] tb-annotation: Added annotation XML file parser

2016-01-08 Thread Peer Adelt
The XML file contains a control flow graph, where each edge is annotated with a context-dependent value. The parser reads this information into a data structure within CPUState. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- include/qom/cpu.h| 9 ++ incl

[Qemu-devel] [RFC PATCH 0/3] TranslationBlock annotation mechanism

2016-01-08 Thread Peer Adelt
he "value_sum" field of the CPUState data structure will accumulate a total value of 70 (cycles). Are there any comments? Is this in general a good idea to be added to upstream QEMU? All the best, Peer Peer Adelt (3): tb-annotation: Added annotation XML file parser tb-annotation: Add

[Qemu-devel] [RFC PATCH 3/3] tb-annotation: Activate annotation extension

2016-01-08 Thread Peer Adelt
This changeset activates the TranslationBlock annotation mechanism for the QEMU system mode. Signed-off-by: Peer Adelt <peer.ad...@c-lab.de> --- Makefile| 5 +++-- Makefile.objs | 4 Makefile.target | 4 +++- configure

[Qemu-devel] [RFC PATCH 2/3] tb-annotation: Add control flow graph mapper

2016-01-08 Thread Peer Adelt
-by: Peer Adelt <peer.ad...@c-lab.de> --- include/exec/gen-icount.h | 18 + tcg-runtime.c | 99 +++ tcg/tcg-runtime.h | 4 ++ 3 files changed, 121 insertions(+) diff --git a/include/exec/gen-icount.h b/include/exec/gen-ic