Henderson
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
---
target/hexagon/translate.h | 6 +++
tests/tcg/hexagon/hvx_misc.c| 72 +
target/hexagon/gen_tcg_funcs.py | 12 ++
3 files
er to the Packet structure, and pass this
information to the needed functions.
When there is a generated helper function with cof, the generator will
pass this pkt_has_multi_cof as a runtime value.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/insn.h
The imported files don't properly mark all CONDEXEC instructions, so
we add some logic to hex_common.py to add the attribute.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/cpu.h| 1 -
target/hexagon/gen_tcg.h| 6 ++
t
> -Original Message-
> From: Richard Henderson
> Sent: Tuesday, November 8, 2022 1:24 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: phi...@linaro.org; a...@rev.ng; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re: [PATCH v4 10/11]
> -Original Message-
> From: Richard Henderson
> Sent: Tuesday, November 8, 2022 1:20 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: phi...@linaro.org; a...@rev.ng; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re: [PATCH v4 03/11]
These instructions will not be generated by idef-parser, so we override
them manually.
Test cases added to tests/tcg/hexagon/usr.c
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 10
Henderson
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
---
target/hexagon/translate.h | 6 +++
tests/tcg/hexagon/hvx_misc.c| 72 +
target/hexagon/gen_tcg_funcs.py | 12 ++
3 files
branch_cond == TCG_COND_NEVER, there isn't a single
direct branch in this packet.
When branch_cond != TCG_COND_ALWAYS, the value is in
hex_branch_taken
branch_dest
The destination of the branch
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Si
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 203 +++
target/hexagon/genptr.c | 43 +
2 files changed, 246 insertions(+)
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h
index
This enables us to reduce the number of parameters to many functions
In particular, the generated functions previously took all 3 as arguments
Not only does this simplify the code, it improves the translation time
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon
Add pc field to Packet structure
For helpers that need PC, pass an extra argument
Remove slot arg from conditional jump helpers
On a trap0, copy pkt->pc into hex_gpr[HEX_REG_PC]
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h
PC.
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/cpu.h | 13 +++---
target/hexagon/gen_tcg.h | 3 ++
target/hexagon/translate.h | 1 +
target/hexagon/genptr.c| 84 ++
target/hexagon/translate.c | 34
Add overrides for
J2_call
J2_callt
J2_callf
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 8 ++
target/hexagon/genptr.c | 55
2 files changed, 63 insertions(+)
diff --git a/target/hexagon
The imported files don't properly mark all CONDEXEC instructions, so
we add some logic to hex_common.py to add the attribute.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/cpu.h| 1 -
target/hexagon/gen_tcg.h| 6 ++
t
overrides
Simplify gen_write_new_pc_addr
Taylor Simpson (11):
Hexagon (target/hexagon) Add pkt and insn to DisasContext
Hexagon (target/hexagon) Fix predicated assignment to .tmp and .cur
Hexagon (target/hexagon) Add overrides for
S2_asr_r_r_sat/S2_asl_r_r_sat
Hexagon (target/hex
er to the Packet structure, and pass this
information to the needed functions.
When there is a generated helper function with cof, the generator will
pass this pkt_has_multi_cof as a runtime value.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/insn.h
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 177 +++
target/hexagon/genptr.c | 90
2 files changed, 267 insertions(+)
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h
index
> -Original Message-
> From: Richard Henderson
> Sent: Tuesday, November 8, 2022 7:41 PM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: phi...@linaro.org; a...@rev.ng; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re: [PATCH v4 10/11]
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-10-tsimp...@quicinc.com>
---
target/hexagon/gen_tcg.h | 201 +++
target/hexagon/genptr.c | 43 +
2 files changed, 244 insertions(+)
diff --git a/
Add overrides for
J2_call
J2_callt
J2_callf
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-8-tsimp...@quicinc.com>
---
target/hexagon/gen_tcg.h | 8 ++
target/hexagon/genptr.c | 55 +
branch_cond == TCG_COND_NEVER, there isn't a single
direct branch in this packet.
When branch_cond != TCG_COND_ALWAYS, the value is in
hex_branch_taken
branch_dest
The destination of the branch
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Si
er to the Packet structure, and pass this
information to the needed functions.
When there is a generated helper function with cof, the generator will
pass this pkt_has_multi_cof as a runtime value.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166
These instructions will not be generated by idef-parser, so we override
them manually.
Test cases added to tests/tcg/hexagon/usr.c
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id
This enables us to reduce the number of parameters to many functions
In particular, the generated functions previously took all 3 as arguments
Not only does this simplify the code, it improves the translation time
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id
Henderson
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-3-tsimp...@quicinc.com>
---
target/hexagon/translate.h | 6 +++
tests/tcg/hexagon/hvx_misc.c
Add pc field to Packet structure
For helpers that need PC, pass an extra argument
Remove slot arg from conditional jump helpers
On a trap0, copy pkt->pc into hex_gpr[HEX_REG_PC]
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-6-tsimp...@quici
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-9-tsimp...@quicinc.com>
---
target/hexagon/gen_tcg.h | 177 +++
target/hexagon/genptr.c | 90
2 files changed, 267 insertions(+)
diff -
rt address.
--------
Taylor Simpson (11):
Hexagon (target/hexagon) Add pkt and insn to DisasContext
Hexagon (target/hexagon) Fix predicated assignment to .tmp and .cur
Hexagon (target/hexagon) Add overrides for S2_asr_r_r_sat/S2_asl_r_r_sat
The imported files don't properly mark all CONDEXEC instructions, so
we add some logic to hex_common.py to add the attribute.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-7-tsimp...@quicinc.com>
---
target/hexagon/cpu.h
PC.
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-12-tsimp...@quicinc.com>
---
target/hexagon/cpu.h | 13 +++---
target/hexagon/gen_tcg.h | 3 ++
target/hexagon/translate.h | 1 +
target/hexagon/genptr.c
> -Original Message-
> From: Richard Henderson
> Sent: Wednesday, September 28, 2022 11:12 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: f4...@amsat.org; a...@rev.ng; a...@rev.ng; Brian Cain
> ; Michael Lambert
> Subject: Re: [PATCH 3/3] Hexagon (target/hex
ore robust
--------
Taylor Simpson (3):
Hexagon (target/hexagon) add instruction attributes from archlib
Hexagon (target/hexagon) move store size tracking to translation
Hexagon (target/hexagon) Change decision to set pkt_has_store_s[01]
target/hexago
dth
- Remove setting of ctx->store_width from genptr.c
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-3-tsimp...@quicinc.com>
---
target/hexagon/macros.h| 8
target/hexagon/genptr.c| 36 ---
logic in decode.c that sets pkt_has_store_s[01]
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-4-tsimp...@quicinc.com>
---
target/hexagon/attribs_def.h.inc | 1 +
target/hexagon/decode.c | 13 -
target/hexagon/trans
The imported files from the architecture library have added some
instruction attributes. Some of these will be used in a subsequent
patch for determing the size of a store.
Signed-off-by: Taylor Simpson
Acked-by: Richard Henderson
Message-Id: <20220920080746.26791-2-tsimp...@quicinc.
packet should be used.
To fix this bug, we preload the temporary with the value from the
HVX register.
Test case added to tests/tcg/hexagon/hvx_misc.c
Signed-off-by: Taylor Simpson
---
target/hexagon/translate.h | 5 +
tests/tcg/hexagon/hvx_misc.c| 39
ore robust
--------
Taylor Simpson (3):
Hexagon (target/hexagon) add instruction attributes from archlib
Hexagon (target/hexagon) Change decision to set pkt_has_store_s[01]
Hexagon (target/hexagon) move store size tracking to translation
target/hexago
dth
- Remove setting of ctx->store_width from genptr.c
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-3-tsimp...@quicinc.com>
---
target/hexagon/macros.h| 8
target/hexagon/genptr.c| 36 ---
logic in decode.c that sets pkt_has_store_s[01]
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-4-tsimp...@quicinc.com>
---
target/hexagon/attribs_def.h.inc | 1 +
target/hexagon/decode.c | 13 -
target/hexagon/trans
The imported files from the architecture library have added some
instruction attributes. Some of these will be used in a subsequent
patch for determing the size of a store.
Signed-off-by: Taylor Simpson
Acked-by: Richard Henderson
Message-Id: <20220920080746.26791-2-tsimp...@quicinc.
> -Original Message-
> From: Matheus Tavares Bernardino
> Sent: Friday, September 30, 2022 3:08 PM
> To: qemu-devel@nongnu.org
> Cc: Taylor Simpson
> Subject: [PATCH] Hexagon (gen_tcg_funcs.py): avoid duplicated tcg code on
> A_CVI_NEW
>
> Hexagon inst
chael
> Rolnik ; Edgar E. Iglesias ;
> Taylor Simpson ; Song Gao
> ; Xiaojuan Yang ;
> Laurent Vivier ; Jiaxun Yang ;
> Aleksandar Rikalo ; Chris Wulff
> ; Marek Vasut ; Stafford Horne
> ; Yoshinori Sato ; Mark
> Cave-Ayland ; Bastian Koppelmann
> ; Max Filippov ;
> qemu-...@
The imported files from the architecture library have added some
instruction attributes. Some of these will be used in a subsequent
patch for determing the size of a store.
Signed-off-by: Taylor Simpson
Acked-by: Richard Henderson
Message-Id: <20220920080746.26791-2-tsimp...@quicinc.
s Bernardino
Signed-off-by: Taylor Simpson
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Taylor Simpson
Message-Id:
---
target/hexagon/gen_tcg_funcs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/hexagon/gen_tcg_funcs.py b/ta
dth
- Remove setting of ctx->store_width from genptr.c
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-3-tsimp...@quicinc.com>
---
target/hexagon/macros.h| 8
target/hexagon/genptr.c| 36 ---
logic in decode.c that sets pkt_has_store_s[01]
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Message-Id: <20220920080746.26791-4-tsimp...@quicinc.com>
---
target/hexagon/attribs_def.h.inc | 1 +
target/hexagon/decode.c | 13 -
target/hexagon/trans
duplicated tcg code on A_CVI_NEW
Taylor Simpson (3):
Hexagon (target/hexagon) add instruction attributes from archlib
Hexagon (target/hexagon) Change decision to set pkt_has_store_s[01]
Hexagon (target/hexagon) move store size tracking to translation
target/hexago
> -Original Message-
> From: Matheus Tavares Bernardino
> Sent: Thursday, October 20, 2022 10:24 AM
> To: Taylor Simpson
> Cc: a...@rev.ng; a...@rev.ng; Brian Cain ;
> phi...@linaro.org; qemu-devel@nongnu.org; Matheus Bernardino (QUIC)
> ; richard.hender...@lin
> -Original Message-
> From: Matheus Tavares Bernardino
> Sent: Thursday, October 20, 2022 10:25 AM
> To: Taylor Simpson
> Cc: a...@rev.ng; a...@rev.ng; Brian Cain ;
> phi...@linaro.org; qemu-devel@nongnu.org; Matheus Bernardino (QUIC)
> ; richard.hender...@lin
Add overrides for
J2_call
J2_callt
J2_callf
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 8 ++
target/hexagon/genptr.c | 58
2 files changed, 66 insertions(+)
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon
branch is taken
branch_dest
The destination of the branch
Signed-off-by: Taylor Simpson
---
target/hexagon/translate.h | 3 +++
target/hexagon/genptr.c| 13 -
target/hexagon/translate.c | 39 +-
3 files changed, 53 insertions(+), 2
the TB start address.
Changes in V2
Simplify test in need_pkt_has_multi_cof
Address feedback from Matheus Tavares Bernardino
Rearrange new-value-jump overrides
Simplify gen_write_new_pc_addr
Taylor Simpson (8):
Hexagon (target/hexagon) Only use branch_taken when packet has
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 189 +++
target/hexagon/genptr.c | 46 ++
2 files changed, 235 insertions(+)
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h
index b56b216110..216862352c 100644
--- a
PC.
Signed-off-by: Taylor Simpson
---
target/hexagon/cpu.h | 17 ++---
target/hexagon/gen_tcg.h | 3 ++
target/hexagon/translate.h | 1 +
target/hexagon/genptr.c| 71 ++
target/hexagon/translate.c | 41 +++---
5 files changed
Add pc field to Packet structure
For helpers that need PC, pass an extra argument
Remove slot arg from conditional jump helpers
On a trap0, copy pkt->pc into hex_gpr[HEX_REG_PC]
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h| 7 +++
target/hexagon/ins
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 177 +++
target/hexagon/genptr.c | 74
2 files changed, 251 insertions(+)
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h
index ad149adbe1..b56b216110 100644
er to the Packet structure, and pass this
information to the needed functions.
When there is a generated helper function with cof, the generator will
pass this pkt_has_multi_cof as a runtime value.
Signed-off-by: Taylor Simpson
---
target/hexagon/insn.h | 1 +
target/hexagon/mac
The imported files don't properly mark all CONDEXEC instructions, so
we add some logic to hex_common.py to add the attribute.
Signed-off-by: Taylor Simpson
---
target/hexagon/cpu.h| 1 -
target/hexagon/gen_tcg.h| 6 ++
target/hexagon/macros.h
/hexagon/mem_noshuf.c
Co-authored-by: Taylor Simpson
Signed-off-by: Brian Cain
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 2 +
tests/tcg/hexagon/mem_noshuf.c | 122 +++--
2 files changed, 119 insertions(+), 5 deletions(-)
diff --git a
/hexagon/hvx_misc.c
Signed-off-by: Taylor Simpson
---
tests/tcg/hexagon/hvx_misc.c| 45 +
target/hexagon/gen_tcg_funcs.py | 9 +++
2 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/tests/tcg/hexagon/hvx_misc.c b/tests/tcg/hexagon/hvx_misc.c
index
The test is in tests/tcg/multiarch/float_convd.c
Signed-off-by: Taylor Simpson
---
tests/tcg/hexagon/float_convd.ref | 988 ++
1 file changed, 988 insertions(+)
create mode 100644 tests/tcg/hexagon/float_convd.ref
diff --git a/tests/tcg/hexagon/float_convd.ref
b
Remove encodings guarded by ifdef that is not defined
Signed-off-by: Taylor Simpson
---
target/hexagon/imported/encode_pp.def | 23 ---
1 file changed, 23 deletions(-)
diff --git a/target/hexagon/imported/encode_pp.def
b/target/hexagon/imported/encode_pp.def
index
These instructions will not be generated by idef-parser, so we override
them manually.
Test cases added to tests/tcg/hexagon/usr.c
Signed-off-by: Taylor Simpson
---
target/hexagon/gen_tcg.h | 10 ++-
target/hexagon/genptr.c | 147 +++
tests/tcg/hexagon
The increment used in :brev tests was causing unaligned addresses
Change the increment and the relevant expected values
Signed-off-by: Taylor Simpson
---
tests/tcg/hexagon/load_unpack.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/tcg/hexagon
he fSTORE instances to fSTORE
- Assign the new attributes to the new macros
- Add definitions for the new macros
- Use the attributes from the instructions during translation to
set ctx->store_width
- Remove setting of ctx->store_width from genptr.c
Signed-off-by: Taylor Simpson
---
target/h
> -Original Message-
> From: Thomas Huth
> Sent: Tuesday, February 7, 2023 9:08 AM
> To: Philippe Mathieu-Daudé ; Matheus Bernardino
> (QUIC) ; qemu-devel@nongnu.org
> Cc: a...@rev.ng; Taylor Simpson ; Brian Cain
> ; Antonio Caggiano (QUIC)
> ; Daniel P. Be
> -Original Message-
> From: Anton Johansson
> Sent: Wednesday, February 8, 2023 6:54 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: richard.hender...@linaro.org; phi...@linaro.org; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re:
> -Original Message-
> From: Anton Johansson
> Sent: Wednesday, February 8, 2023 10:51 AM
> To: qemu-devel@nongnu.org
> Cc: a...@rev.ng; Taylor Simpson ; Brian Cain
> ; Michael Lambert
> Subject: [PATCH] target/hexagon: Access `pkt/insn` through `ctx`
>
&
> -Original Message-
> From: Taylor Simpson
> Sent: Wednesday, February 8, 2023 9:19 AM
> To: a...@rev.ng; qemu-devel@nongnu.org
> Cc: richard.hender...@linaro.org; phi...@linaro.org; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: RE: [PATCH
> -Original Message-
> From: Anton Johansson
> Sent: Monday, February 27, 2023 6:52 AM
> To: qemu-devel@nongnu.org
> Cc: a...@rev.ng; richard.hender...@linaro.org; pbonz...@redhat.com;
> edua...@habkost.net; peter.mayd...@linaro.org; mrol...@gmail.com;
>
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com; Philippe Mathieu-Daudé
> Subject: [PATCH v4 22/31] target/hexagon: Don't use tcg_temp_local_new_*
>
>
> S
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH v4 23/31] target/hexagon/idef-parser: Drop gen_tmp_local
>
> This is now equivalent to gen_tmp
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH v2 25/76] target/hexagon: Drop tcg_temp_free from C code
>
> Translators are no longer required to f
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH v2 26/76] target/hexagon: Drop tcg_temp_free from
> gen_tcg_funcs.py
>
> Translators are no longer req
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH v2 27/76] target/hexagon/idef-parser: Drop tcg_temp_free
>
> Translators are no longer required
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH v2 28/76] target/hexagon/idef-parser: Drop
> HexValue.is_manual
>
> This field is no longer u
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH 15/70] target/hexagon: Use tcg_constant_* for
> gen_constant_from_imm
>
> Rename from gen_tmp_value_f
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH 19/70] target/hexagon/idef-parser: Use gen_constant for
> gen_extend_tcg_width_op
>
> We already have
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH 18/70] target/hexagon/idef-parser: Use gen_tmp for
> gen_rvalue_pred
>
> The allocation is immedia
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH 16/70] target/hexagon/idef-parser: Use gen_tmp for LPCFG
>
> The GET_USR_FIELD macro initializes the outp
.uni-paderborn.de; ys...@users.sourceforge.jp;
> gaos...@loongson.cn; jiaxun.y...@flygoat.com; Taylor Simpson
> ; a...@rev.ng; mrol...@gmail.com;
> edgar.igles...@gmail.com
> Subject: [PATCH 17/70] target/hexagon/idef-parser: Use gen_tmp for
> gen_pred_assign
>
> The allocation is immed
> -Original Message-
> From: Richard Henderson
> Sent: Monday, February 27, 2023 3:01 PM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: qemu-...@nongnu.org; qemu-...@nongnu.org; qemu-
> ri...@nongnu.org; qemu-s3...@nongnu.org; jcmvb...@gmail.com;
> kbast...@mail
> -Original Message-
> From: Anton Johansson
> Sent: Friday, February 24, 2023 6:06 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: richard.hender...@linaro.org; phi...@linaro.org; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re:
> -Original Message-
> From: Anton Johansson
> Sent: Wednesday, March 1, 2023 7:22 AM
> To: qemu-devel@nongnu.org
> Cc: a...@rev.ng; richard.hender...@linaro.org; Taylor Simpson
>
> Subject: [PATCH] tcg: `reachable_code_pass()` remove empty else-branch
&g
> -Original Message-
> From: Anton Johansson
> Sent: Friday, February 24, 2023 7:24 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: richard.hender...@linaro.org; phi...@linaro.org; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re:
> -Original Message-
> From: Anton Johansson
> Sent: Thursday, February 23, 2023 10:02 AM
> To: Taylor Simpson ; qemu-devel@nongnu.org
> Cc: richard.hender...@linaro.org; phi...@linaro.org; a...@rev.ng; Brian Cain
> ; Matheus Bernardino (QUIC)
>
> Subject: Re:
redhat.com; michael.r...@amd.com; kkost...@redhat.com;
> Taylor Simpson ; pal...@dabbelt.com;
> alistair.fran...@wdc.com; bin.m...@windriver.com; qemu-
> ri...@nongnu.org
> Subject: [PATCH] include: Don't include qemu/osdep.h
>
> docs/devel/style.rst mandates:
>
> The "
branch_cond == TCG_COND_NEVER, there isn't a single
direct branch in this packet.
When branch_cond != TCG_COND_ALWAYS, the value is in
hex_branch_taken
branch_dest
The destination of the branch
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Si
ssandro Di Federico
Signed-off-by: Niccolò Izzo
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-6-a...@rev.ng>
---
target/hexagon/genptr.h | 13
target/hexagon/macros.h | 9 +++
target/hexago
From: Paolo Montesel
Signed-off-by: Alessandro Di Federico
Signed-off-by: Paolo Montesel
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-9-a...@rev.ng>
---
target/hexagon/idef-parser/idef-parser.h
From: Niccolò Izzo
Signed-off-by: Alessandro Di Federico
Signed-off-by: Niccolò Izzo
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-12-a...@rev.ng>
---
tests/tcg/hexagon/Makefile.target | 28 -
Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-8-a...@rev.ng>
---
meson_options.txt | 3 +
target/hexagon/gen_idef_parser_funcs.py | 130 ++
target/hexagon/idef-parser/macros.inc
idef-parser
generated code.
Signed-off-by: Alessandro Di Federico
Signed-off-by: Paolo Montesel
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-5-a...@rev.ng>
---
target/hexagon/genptr.h
From: Alessandro Di Federico
Extend gen_tcg_funcs.py in order to emit calls to the functions emitted
by the idef-parser, if available.
Signed-off-by: Alessandro Di Federico
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id
This enables us to reduce the number of parameters to many functions
In particular, the generated functions previously took all 3 as arguments
Not only does this simplify the code, it improves the translation time
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id
PC.
Reviewed-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-12-tsimp...@quicinc.com>
---
target/hexagon/cpu.h | 13 +++---
target/hexagon/gen_tcg.h | 3 ++
target/hexagon/translate.h | 1 +
target/hexagon/genptr.c
From: Alessandro Di Federico
Signed-off-by: Alessandro Di Federico
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-3-a...@rev.ng>
---
target/hexagon/idef-parser/README.rst | 722 ++
Henderson
Co-authored-by: Matheus Tavares Bernardino
Signed-off-by: Matheus Tavares Bernardino
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166-3-tsimp...@quicinc.com>
---
target/hexagon/translate.h | 6 +++
tests/tcg/hexagon/hvx_misc.c
er to the Packet structure, and pass this
information to the needed functions.
When there is a generated helper function with cof, the generator will
pass this pkt_has_multi_cof as a runtime value.
Acked-by: Richard Henderson
Signed-off-by: Taylor Simpson
Message-Id: <20221108162906.3166
From: Alessandro Di Federico
Signed-off-by: Alessandro Di Federico
Signed-off-by: Anton Johansson
Signed-off-by: Taylor Simpson
Reviewed-by: Richard Henderson
Reviewed-by: Taylor Simpson
Message-Id: <20220923173831.227551-2-a...@rev.ng>
---
MAINTAINERS | 9 +
1 file chan
601 - 700 of 1703 matches
Mail list logo