Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 736fd8094621104734d84085220658c84bd37c6e https://github.com/qemu/qemu/commit/736fd8094621104734d84085220658c84bd37c6e Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths: M target/mips/tcg/micromips_translate.c.inc Log Message: ----------- target/mips: Drop tcg_temp_free from micromips_translate.c.inc Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: aada2e3ff78faa331a27c650e85fbfae9a857f73 https://github.com/qemu/qemu/commit/aada2e3ff78faa331a27c650e85fbfae9a857f73 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/msa_translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from msa_translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 997c18f9fd03b538e792d0df73bbb7769796b6e3 https://github.com/qemu/qemu/commit/997c18f9fd03b538e792d0df73bbb7769796b6e3 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/mxu_translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from mxu_translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 7df826c63140749bacd32a04bf2e6f3edd219dd8 https://github.com/qemu/qemu/commit/7df826c63140749bacd32a04bf2e6f3edd219dd8 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/nanomips_translate.c.inc Log Message: ----------- target/mips: Drop tcg_temp_free from nanomips_translate.c.inc Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 16a64b406fd07429a14c2bf8d20ccc1bd88ebf7e https://github.com/qemu/qemu/commit/16a64b406fd07429a14c2bf8d20ccc1bd88ebf7e Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/octeon_translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from octeon_translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 23bd8947ba336612e710850fa17b9f57a54f9882 https://github.com/qemu/qemu/commit/23bd8947ba336612e710850fa17b9f57a54f9882 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/translate_addr_const.c Log Message: ----------- target/mips: Drop tcg_temp_free from translate_addr_const.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: c1db1c77a204fa3f45ac2c91c013efd00ac84942 https://github.com/qemu/qemu/commit/c1db1c77a204fa3f45ac2c91c013efd00ac84942 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/tx79_translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from tx79_translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 536205fa7c60633720535278f2ad5ac4478379bb https://github.com/qemu/qemu/commit/536205fa7c60633720535278f2ad5ac4478379bb Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/vr54xx_translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from vr54xx_translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 296d3c07702795820e41bc1e37633b31d54b0ef0 https://github.com/qemu/qemu/commit/296d3c07702795820e41bc1e37633b31d54b0ef0 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/translate.c Log Message: ----------- target/mips: Drop tcg_temp_free from translate.c Translators are no longer required to free tcg temporaries. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: de26a92023392894779ef75ae6b4054c67ee2a75 https://github.com/qemu/qemu/commit/de26a92023392894779ef75ae6b4054c67ee2a75 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate.c Log Message: ----------- target/s390x: Drop free_compare Translators are no longer required to free tcg temporaries. Remove the g1 and g2 members of DisasCompare, as they were used to track which temps needed to be freed. Acked-by: David Hildenbrand <da...@redhat.com> Reviewed-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: c7685fdd2aa303fcd93c72cf2b2b4f7d9b28f564 https://github.com/qemu/qemu/commit/c7685fdd2aa303fcd93c72cf2b2b4f7d9b28f564 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate_vx.c.inc Log Message: ----------- target/s390x: Drop tcg_temp_free from translate_vx.c.inc Translators are no longer required to free tcg temporaries. Acked-by: David Hildenbrand <da...@redhat.com> Reviewed-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 04aa523730c1035c5a1befb51ffa2ff81b3e4bad https://github.com/qemu/qemu/commit/04aa523730c1035c5a1befb51ffa2ff81b3e4bad Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate.c Log Message: ----------- target/s390x: Drop tcg_temp_free from translate.c Translators are no longer required to free tcg temporaries. Acked-by: David Hildenbrand <da...@redhat.com> Reviewed-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 47d03ca9574d77eb6053767e069db6311c034230 https://github.com/qemu/qemu/commit/47d03ca9574d77eb6053767e069db6311c034230 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate.c Log Message: ----------- target/s390x: Remove assert vs g_in2 These were trying to determine if o->in2 was available for use as a temporary. It's better to just allocate a new one. Acked-by: David Hildenbrand <da...@redhat.com> Reviewed-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 05a58a0ea310c71172c8c0fa12c14c5ea6e1ba30 https://github.com/qemu/qemu/commit/05a58a0ea310c71172c8c0fa12c14c5ea6e1ba30 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate.c Log Message: ----------- target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext These fields are no longer read, so remove them and the writes. Acked-by: David Hildenbrand <da...@redhat.com> Reviewed-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 26ee7ea6190fad93a97c25bb58c55220f97e2281 https://github.com/qemu/qemu/commit/26ee7ea6190fad93a97c25bb58c55220f97e2281 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M accel/tcg/plugin-gen.c A include/tcg/tcg-temp-internal.h M include/tcg/tcg.h M tcg/tcg-op-gvec.c M tcg/tcg-op-vec.c M tcg/tcg-op.c M tcg/tcg.c Log Message: ----------- tcg: Create tcg/tcg-temp-internal.h Move the tcg_temp_free_* and tcg_temp_ebb_new_* declarations and inlines to the new header. These are private to the implementation, and will prevent tcg_temp_free_* from creeping back into the guest front ends. Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 92d8f02d5ef24bda6b88d77f728e2d4ec3491dbf https://github.com/qemu/qemu/commit/92d8f02d5ef24bda6b88d77f728e2d4ec3491dbf Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M include/exec/cpu-defs.h Log Message: ----------- include/exec: Set default `NB_MMU_MODES` to 16 Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-2-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 5d786986769c39ccefbec5f47b829e805c830fb8 https://github.com/qemu/qemu/commit/5d786986769c39ccefbec5f47b829e805c830fb8 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/alpha/cpu-param.h Log Message: ----------- target/alpha: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-3-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: ec68ad2a76035adff3f97ce5007eea43a589ed8e https://github.com/qemu/qemu/commit/ec68ad2a76035adff3f97ce5007eea43a589ed8e Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/cpu-param.h Log Message: ----------- target/arm: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-4-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 05aa82f0af34e36d2b6318fa8429d49cbadbd801 https://github.com/qemu/qemu/commit/05aa82f0af34e36d2b6318fa8429d49cbadbd801 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/avr/cpu-param.h Log Message: ----------- target/avr: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-5-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 93358748621de6fa17d7fae50dfd8cd408f6f204 https://github.com/qemu/qemu/commit/93358748621de6fa17d7fae50dfd8cd408f6f204 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/cris/cpu-param.h Log Message: ----------- target/cris: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-6-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: ba7d7898bdc6b80b364d83daaae335cde3e32ac2 https://github.com/qemu/qemu/commit/ba7d7898bdc6b80b364d83daaae335cde3e32ac2 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/hexagon/cpu-param.h Log Message: ----------- target/hexagon: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-7-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 9b86517444beed0b545a8f4b2de6027fd679516b https://github.com/qemu/qemu/commit/9b86517444beed0b545a8f4b2de6027fd679516b Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/hppa/cpu-param.h Log Message: ----------- target/hppa: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-8-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: db8262688a5ac106230dd8c4d1b413971f3c53c1 https://github.com/qemu/qemu/commit/db8262688a5ac106230dd8c4d1b413971f3c53c1 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/i386/cpu-param.h Log Message: ----------- target/i386: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-9-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: ae3d5251804251a57eb01b95faaedb96e22e2a5c https://github.com/qemu/qemu/commit/ae3d5251804251a57eb01b95faaedb96e22e2a5c Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/loongarch/cpu-param.h Log Message: ----------- target/loongarch: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-10-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: b20fab918329f158e6fad3d688c3f1f3a962806e https://github.com/qemu/qemu/commit/b20fab918329f158e6fad3d688c3f1f3a962806e Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/m68k/cpu-param.h Log Message: ----------- target/m68k: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-11-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: cec304269986b436433e135924ea47e464c0ae59 https://github.com/qemu/qemu/commit/cec304269986b436433e135924ea47e464c0ae59 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/microblaze/cpu-param.h M target/microblaze/cpu.h Log Message: ----------- target/microblaze: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-12-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: d351fa07e3eb4499916b7202c3acc09e4f41b840 https://github.com/qemu/qemu/commit/d351fa07e3eb4499916b7202c3acc09e4f41b840 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/cpu-param.h Log Message: ----------- target/mips: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-13-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 5d02681d53122a78940f385bd990824785f3b882 https://github.com/qemu/qemu/commit/5d02681d53122a78940f385bd990824785f3b882 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/nios2/cpu-param.h Log Message: ----------- target/nios2: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-14-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 601d0645c37096e2980e44f517febda82c4f60cc https://github.com/qemu/qemu/commit/601d0645c37096e2980e44f517febda82c4f60cc Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/openrisc/cpu-param.h Log Message: ----------- target/openrisc: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-15-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: ef04431eca76b0131469fa7ddf86e49e28ed28cd https://github.com/qemu/qemu/commit/ef04431eca76b0131469fa7ddf86e49e28ed28cd Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/cpu-param.h Log Message: ----------- target/ppc: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-16-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: c05075f2f1e4ad47a53a7ce1ae3dc8509baa303d https://github.com/qemu/qemu/commit/c05075f2f1e4ad47a53a7ce1ae3dc8509baa303d Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/riscv/cpu-param.h Log Message: ----------- target/riscv: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-17-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 7d75c0ba86f7e7b9a87a22ce03391a1a79f5b972 https://github.com/qemu/qemu/commit/7d75c0ba86f7e7b9a87a22ce03391a1a79f5b972 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/rx/cpu-param.h Log Message: ----------- target/rx: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-18-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 8e08841f36cb551f50fd8ee9e6bbb8afbf53a708 https://github.com/qemu/qemu/commit/8e08841f36cb551f50fd8ee9e6bbb8afbf53a708 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/cpu-param.h Log Message: ----------- target/s390x: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-19-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: e38247fc0732a26dc0a09132bb9fe29f0e855d60 https://github.com/qemu/qemu/commit/e38247fc0732a26dc0a09132bb9fe29f0e855d60 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/sh4/cpu-param.h Log Message: ----------- target/sh4: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-20-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 9f12c71a02c8ef04aa29536759ddb53e53d0e9fb https://github.com/qemu/qemu/commit/9f12c71a02c8ef04aa29536759ddb53e53d0e9fb Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/sparc/cpu-param.h Log Message: ----------- target/sparc: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-21-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 07d60f805fad7ddc04ccc61f3e8116eb452039d8 https://github.com/qemu/qemu/commit/07d60f805fad7ddc04ccc61f3e8116eb452039d8 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/cpu-param.h Log Message: ----------- target/tricore: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-22-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 16f6753e6d83afee6cce9b1f7802db6e94a69535 https://github.com/qemu/qemu/commit/16f6753e6d83afee6cce9b1f7802db6e94a69535 Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/xtensa/cpu-param.h Log Message: ----------- target/xtensa: Remove `NB_MMU_MODES` define Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-23-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: fc47f65ca569346b5c3372640358aadaf5d83a9c https://github.com/qemu/qemu/commit/fc47f65ca569346b5c3372640358aadaf5d83a9c Author: Anton Johansson <a...@rev.ng> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M include/exec/cpu-defs.h Log Message: ----------- include/exec: Remove guards around `NB_MMU_MODES` Signed-off-by: Anton Johansson <a...@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <20230306175230.7110-24-a...@rev.ng> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: f1452b7e665671e5c58becca98739d1237193332 https://github.com/qemu/qemu/commit/f1452b7e665671e5c58becca98739d1237193332 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/avr/translate.c Log Message: ----------- target/avr: Avoid use of tcg_const_i32 in SBIC, SBIS The use of separate data/port variables is existing practice elsewhere, e.g. SBI, CBI. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 9c6ac2edd7b24f7077824b24e52509d0036b2874 https://github.com/qemu/qemu/commit/9c6ac2edd7b24f7077824b24e52509d0036b2874 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/avr/translate.c Log Message: ----------- target/avr: Avoid use of tcg_const_i32 throughout All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 4970fdcc9a616229041b0461215bca1341ca1458 https://github.com/qemu/qemu/commit/4970fdcc9a616229041b0461215bca1341ca1458 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/cris/translate.c M target/cris/translate_v10.c.inc Log Message: ----------- target/cris: Avoid use of tcg_const_i32 throughout All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: caa35783146a61b6087146e3d1529e7a70154d82 https://github.com/qemu/qemu/commit/caa35783146a61b6087146e3d1529e7a70154d82 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/hppa/translate.c Log Message: ----------- target/hppa: Avoid tcg_const_i64 in trans_fid_f Use a C test instead of a pre-processor test for the id. Use tcg_constant_i64 instead of tcg_const_i64. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 4114e655028a5ee01ea7109cb6ec53679af0859a https://github.com/qemu/qemu/commit/4114e655028a5ee01ea7109cb6ec53679af0859a Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/hppa/translate.c Log Message: ----------- target/hppa: Avoid use of tcg_const_i32 throughout All uses were read-write, so replace with a new allocation and initialization. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 1d32ee2d39c9f37e2389511a22fb5c344f6c6c94 https://github.com/qemu/qemu/commit/1d32ee2d39c9f37e2389511a22fb5c344f6c6c94 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/i386/tcg/translate.c Log Message: ----------- target/i386: Avoid use of tcg_const_* throughout All uses are strictly read-only. Most of the obviously so, as direct arguments to gen_helper_*. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: cebe4d600df00fd8e59a50445f64e34c0f98148c https://github.com/qemu/qemu/commit/cebe4d600df00fd8e59a50445f64e34c0f98148c Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/m68k/translate.c Log Message: ----------- target/m68k: Avoid tcg_const_i32 when modified In several instances, a temp is initialized with a for use as a constant, and then subsequently used as an unrelated temp. Split them. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 0e646cfe1daf01965fb7d300681235a68b041f31 https://github.com/qemu/qemu/commit/0e646cfe1daf01965fb7d300681235a68b041f31 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/m68k/translate.c Log Message: ----------- target/m68k: Avoid tcg_const_i32 in bfop_reg Tidy up the whole function, hoisting is_bfffo as a common test for whether tlen and tofs needed. Use tcg_constant_i32, and load a separate temporary for mask. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 792337e45c61836c9e94ae87761b680aeb8d696d https://github.com/qemu/qemu/commit/792337e45c61836c9e94ae87761b680aeb8d696d Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/m68k/translate.c Log Message: ----------- target/m68k: Avoid tcg_const_* throughout All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: e70b7100ad9f35f1db81e774c8edcae471e0e094 https://github.com/qemu/qemu/commit/e70b7100ad9f35f1db81e774c8edcae471e0e094 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/translate.c Log Message: ----------- target/mips: Split out gen_lxl Common subroutine for LDL and LWL. Use tcg_constant_tl instead of tcg_const_tl and t2. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 8072ebe2afc5d48656d63f468753a6e1022426a4 https://github.com/qemu/qemu/commit/8072ebe2afc5d48656d63f468753a6e1022426a4 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/translate.c Log Message: ----------- target/mips: Split out gen_lxr Common subroutine for LDR and LWR. Use tcg_constant_tl of ~1 instead of tcg_const_tl of 0x..fe. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: bae49691762aa0daac7927d92d61d06a7b632403 https://github.com/qemu/qemu/commit/bae49691762aa0daac7927d92d61d06a7b632403 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/translate.c Log Message: ----------- target/mips: Avoid tcg_const_tl in gen_r6_ld Allocate a separate temp for modification. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 9c2d149be6476a229e229528971b18be764bb1be https://github.com/qemu/qemu/commit/9c2d149be6476a229e229528971b18be764bb1be Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/mips/tcg/micromips_translate.c.inc M target/mips/tcg/mxu_translate.c M target/mips/tcg/nanomips_translate.c.inc M target/mips/tcg/translate.c M target/mips/tcg/tx79_translate.c Log Message: ----------- target/mips: Avoid tcg_const_* throughout All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: a60f5d8aa90cca20aece06b205aad01d1f3c9b9c https://github.com/qemu/qemu/commit/a60f5d8aa90cca20aece06b205aad01d1f3c9b9c Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vmx-impl.c.inc Log Message: ----------- target/ppc: Split out gen_vx_vmul10 Move the body out of this large macro. Use tcg_constant_i64. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 0c2248859a3cd993577067bdbab2fb2166835274 https://github.com/qemu/qemu/commit/0c2248859a3cd993577067bdbab2fb2166835274 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vmx-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_i64 in do_vector_shift_quad Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: a1fc375a03bc8067d594af29fcf76652282ed748 https://github.com/qemu/qemu/commit/a1fc375a03bc8067d594af29fcf76652282ed748 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/rx/translate.c Log Message: ----------- target/rx: Use tcg_gen_abs_i32 Remove the local definition of rx_abs. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: cd9e80a74334df211389c96d7a057e3e49270e76 https://github.com/qemu/qemu/commit/cd9e80a74334df211389c96d7a057e3e49270e76 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/rx/translate.c Log Message: ----------- target/rx: Use cpu_psw_z as temp in flags computation Since PSW_Z = PSW_S, we can move that assignment to the end and use PSW_Z as a temporary while computing PSW_O. Use tcg_constant_i32 instead of tcg_const_i32. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 578a5735aebaa5826be878ec0b5bc50d66f66948 https://github.com/qemu/qemu/commit/578a5735aebaa5826be878ec0b5bc50d66f66948 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/rx/translate.c Log Message: ----------- target/rx: Avoid tcg_const_i32 when new temp needed These three cases use a constant as first input, and then overwrite the temp in the output. Separate them. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 4a2c50acadd24204d01df17cc6104b5a93759b1b https://github.com/qemu/qemu/commit/4a2c50acadd24204d01df17cc6104b5a93759b1b Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/rx/translate.c Log Message: ----------- target/rx: Avoid tcg_const_i32 All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: fbe00ad9c163b9b4d348c86b03cff78ceed6ef70 https://github.com/qemu/qemu/commit/fbe00ad9c163b9b4d348c86b03cff78ceed6ef70 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/s390x/tcg/translate.c Log Message: ----------- target/s390x: Avoid tcg_const_i64 All uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: b2b6568d195e2a7e47ef3211d9ce15ea58828b07 https://github.com/qemu/qemu/commit/b2b6568d195e2a7e47ef3211d9ce15ea58828b07 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/sh4/translate.c Log Message: ----------- target/sh4: Avoid tcg_const_i32 for TAS.B Since we're assigning to cpu_sr_t in the end, use that as the intermediate temp as well. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: f80c9e9b2595288d55e00842545cda1286a68c05 https://github.com/qemu/qemu/commit/f80c9e9b2595288d55e00842545cda1286a68c05 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/sh4/translate.c Log Message: ----------- target/sh4: Avoid tcg_const_i32 All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 4d8709d60a8155f3ceae7d571fcc091d70b9cc38 https://github.com/qemu/qemu/commit/4d8709d60a8155f3ceae7d571fcc091d70b9cc38 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/sparc/translate.c Log Message: ----------- tcg/sparc: Avoid tcg_const_tl in gen_edge Push tcg_constant_tl into the shift argument directly. Since t1 no longer exists as a temp, replace with lo1, whose last use was just above. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 6466b16abe14a94e007ec1c374e460bd2f660eee https://github.com/qemu/qemu/commit/6466b16abe14a94e007ec1c374e460bd2f660eee Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Split t_n as constant from temp as variable As required, allocate temp separately. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: fb921d531dd72fef70ade12a385b363d685101b7 https://github.com/qemu/qemu/commit/fb921d531dd72fef70ade12a385b363d685101b7 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Rename t_off10 and use tcg_constant_i32 While temp3 could simply be initialized with tcg_constant_i32, the renaming makes the purpose clearer. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 7753fdaea795fb0342a2cf35a90d834531aaa4dd https://github.com/qemu/qemu/commit/7753fdaea795fb0342a2cf35a90d834531aaa4dd Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Use setcondi instead of explicit allocation This removes the only use of temp. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: fa06b87433d220a721cfa102eb6b9acf1879a0dc https://github.com/qemu/qemu/commit/fa06b87433d220a721cfa102eb6b9acf1879a0dc Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Drop some temp initialization The temp variables here are always set afterward; the initialization with a constant was discarded. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 14696980dcf39446bc8b06ebdc201320a632ea57 https://github.com/qemu/qemu/commit/14696980dcf39446bc8b06ebdc201320a632ea57 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Avoid tcg_const_i32 All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 826ad2704ce9607b59be0ff0766878af5ad0004e https://github.com/qemu/qemu/commit/826ad2704ce9607b59be0ff0766878af5ad0004e Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M tcg/tcg-op.c Log Message: ----------- tcg: Replace tcg_const_i64 in tcg-op.c These three instances got missed in previous conversion. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 8d39d22b9ff26759de5cb8a66ac58eddb066742e https://github.com/qemu/qemu/commit/8d39d22b9ff26759de5cb8a66ac58eddb066742e Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c Log Message: ----------- target/arm: Use rmode >= 0 for need_rmode Initialize rmode to -1 instead of keeping two variables. This is already used elsewhere in translate-a64.c. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 7e084f75b1f8c40ef87ce3fc665545b777ec3fb7 https://github.com/qemu/qemu/commit/7e084f75b1f8c40ef87ce3fc665545b777ec3fb7 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/vfp_helper.c Log Message: ----------- target/arm: Handle FPROUNDING_ODD in arm_rmode_to_sf While this enumerator has been present since the first commit, it isn't ever used. The first actual use of round-to-odd came with SVE, which currently uses float_round_to_odd instead of the arm-specific enumerator. Amusingly, the comment about unhandled TIEAWAY has been out of date since the initial commit of translate-a64.c. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: f7a5d22bd4ba05e478899f590c812472b0e7ed8a https://github.com/qemu/qemu/commit/f7a5d22bd4ba05e478899f590c812472b0e7ed8a Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/internals.h M target/arm/tcg/translate-mve.c M target/arm/vfp_helper.c Log Message: ----------- target/arm: Improve arm_rmode_to_sf Use proper enumeration types for input and output. Use a const array to perform the mapping, with an assert that the input is valid. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: c8a85e515e2f9af6a0821577be22bedf4f03b415 https://github.com/qemu/qemu/commit/c8a85e515e2f9af6a0821577be22bedf4f03b415 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c M target/arm/tcg/translate-sve.c M target/arm/tcg/translate-vfp.c Log Message: ----------- target/arm: Consistently use ARMFPRounding during translation In preparation for extracting new helpers, ensure that the rounding mode is represented as ARMFPRounding and not FloatRoundMode. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 000d09b947c55e7278ec0f778de1a95b856f491f https://github.com/qemu/qemu/commit/000d09b947c55e7278ec0f778de1a95b856f491f Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c M target/arm/tcg/translate-sve.c M target/arm/tcg/translate-vfp.c M target/arm/tcg/translate.h Log Message: ----------- target/arm: Create gen_set_rmode, gen_restore_rmode Split out common subroutines for handing rounding mode changes during translation. Use tcg_constant_i32 and tcg_temp_new_i32 instead of tcg_const_i32. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 2d3085bd216e36318cc489c239fc21ada808a564 https://github.com/qemu/qemu/commit/2d3085bd216e36318cc489c239fc21ada808a564 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate.c Log Message: ----------- target/arm: Improve trans_BFCI Reorg temporary usage so that we can use tcg_constant_i32. tcg_gen_deposit_i32 already has a width == 32 special case, so remove the check here. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: d5f38f0416a38c0d73ebee8d5bee296197889ecb https://github.com/qemu/qemu/commit/d5f38f0416a38c0d73ebee8d5bee296197889ecb Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-sve.c Log Message: ----------- target/arm: Avoid tcg_const_ptr in gen_sve_{ldr,str} This hides the implicit initialization of a variable. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: b9eb7656a1c5c1f441e0be6da7b90cf7346d0cd9 https://github.com/qemu/qemu/commit/b9eb7656a1c5c1f441e0be6da7b90cf7346d0cd9 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-mve.c Log Message: ----------- target/arm: Avoid tcg_const_* in translate-mve.c All uses are in the context of an accumulator conditionally having a zero input. Split the rda variable to rda_{i,o}, and set rda_i to tcg_constant_foo(0) when required. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 2f269f4e1dc8929716b2b6a33fdb13a9da552e69 https://github.com/qemu/qemu/commit/2f269f4e1dc8929716b2b6a33fdb13a9da552e69 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c Log Message: ----------- target/arm: Avoid tcg_const_ptr in disas_simd_zip_trn It is easy enough to use mov instead of or-with-zero and relying on the optimizer to fold away the or. Use an array for the output, rather than separate tcg_res{l,h} variables. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 763ef78f417d876fe3f1550242af2ae4746b4b22 https://github.com/qemu/qemu/commit/763ef78f417d876fe3f1550242af2ae4746b4b22 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c Log Message: ----------- target/arm: Avoid tcg_const_ptr in handle_vec_simd_sqshrn It is easy enough to use mov instead of or-with-zero and relying on the optimizer to fold away the or. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 9c3c8a4b9a4822d0aa1434db04dcfd46bf05d00f https://github.com/qemu/qemu/commit/9c3c8a4b9a4822d0aa1434db04dcfd46bf05d00f Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/arm/tcg/translate-a64.c Log Message: ----------- target/arm: Avoid tcg_const_ptr in handle_rev Here it is not trivial to notice first initialization, so explicitly zero the temps. Use an array for the output, rather than separate tcg_rd/tcg_rd_hi variables. Fixes a bug by adding a missing clear_vec_high. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: cd024069472f4b89035274073f2a9aa54bca0656 https://github.com/qemu/qemu/commit/cd024069472f4b89035274073f2a9aa54bca0656 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/m68k/translate.c Log Message: ----------- target/m68k: Use tcg_constant_i32 in gen_ea_mode Return a constant for an immediate input. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 7c4032bddc5c28b03770f287384b37629b93d25d https://github.com/qemu/qemu/commit/7c4032bddc5c28b03770f287384b37629b93d25d Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vmx-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_i64 in do_vcntmb Compute both partial results separately and accumulate at the end, instead of accumulating in the middle. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 635fc3ab81faed525fea02a4a6437ef875ff1cff https://github.com/qemu/qemu/commit/635fc3ab81faed525fea02a4a6437ef875ff1cff Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vmx-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_* in vmx-impl.c.inc All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: f1d2af32e539c9c4b3d58c5a64b7d96b32416717 https://github.com/qemu/qemu/commit/f1d2af32e539c9c4b3d58c5a64b7d96b32416717 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vsx-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_* in xxeval Initialize a new temp instead of tcg_const_*. Fix a pasto in a comment. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 155dc12f5223d9c087f6d04619b6e5ff2afac5de https://github.com/qemu/qemu/commit/155dc12f5223d9c087f6d04619b6e5ff2afac5de Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/vsx-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_* in vsx-impl.c.inc All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 80b97b15f86730a153cdfa9dcd0427582dbfd39d https://github.com/qemu/qemu/commit/80b97b15f86730a153cdfa9dcd0427582dbfd39d Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/fp-impl.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_* in fp-impl.c.inc All uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 4335d2f988dd64285b5b26542f5ec2b51b6b3702 https://github.com/qemu/qemu/commit/4335d2f988dd64285b5b26542f5ec2b51b6b3702 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/power8-pmu-regs.c.inc Log Message: ----------- target/ppc: Avoid tcg_const_* in power8-pmu-regs.c.inc All uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 1e9950ab41216df80eccff1b48b5520f97641993 https://github.com/qemu/qemu/commit/1e9950ab41216df80eccff1b48b5520f97641993 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate/fixedpoint-impl.c.inc Log Message: ----------- target/ppc: Rewrite trans_ADDG6S Compute all carry bits in parallel instead of a loop. Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 20d12e223195f3b7522529b003947298555cfa8b https://github.com/qemu/qemu/commit/20d12e223195f3b7522529b003947298555cfa8b Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate.c Log Message: ----------- target/ppc: Fix gen_tlbsx_booke206 Fix incorrect read from rD. Avoid adding 0 when rA == 0. Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: bc97c41cba80915ebe93360725cd2b06661943c7 https://github.com/qemu/qemu/commit/bc97c41cba80915ebe93360725cd2b06661943c7 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/ppc/translate.c Log Message: ----------- target/ppc: Avoid tcg_const_* in translate.c All remaining uses are strictly read-only. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: d601a4434c3a028b7ec2eec891276e374d09e598 https://github.com/qemu/qemu/commit/d601a4434c3a028b7ec2eec891276e374d09e598 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M target/tricore/translate.c Log Message: ----------- target/tricore: Use min/max for saturate Use tcg_constant_i32 for the bounds. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: b624f85a85936a5a550dfa667de9a174b507fdd5 https://github.com/qemu/qemu/commit/b624f85a85936a5a550dfa667de9a174b507fdd5 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M include/tcg/tcg.h M tcg/i386/tcg-target.c.inc M tcg/tcg-op-vec.c Log Message: ----------- tcg: Drop tcg_const_*_vec Replace with tcg_constant_vec*. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: 29fc660789547ceb5d6565e7fc39d8c1f65dd157 https://github.com/qemu/qemu/commit/29fc660789547ceb5d6565e7fc39d8c1f65dd157 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2023-03-09 (Thu, 09 Mar 2023) Changed paths: M include/tcg/tcg-op.h M include/tcg/tcg.h M tcg/tcg.c Log Message: ----------- tcg: Drop tcg_const_* These functions are no longer used. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Commit: cef6852c914fe13170d8de92ee6f109c79f464cd https://github.com/qemu/qemu/commit/cef6852c914fe13170d8de92ee6f109c79f464cd Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M accel/tcg/plugin-gen.c M include/exec/cpu-defs.h M include/tcg/tcg-op.h A include/tcg/tcg-temp-internal.h M include/tcg/tcg.h M target/alpha/cpu-param.h M target/arm/cpu-param.h M target/arm/internals.h M target/arm/tcg/translate-a64.c M target/arm/tcg/translate-mve.c M target/arm/tcg/translate-sve.c M target/arm/tcg/translate-vfp.c M target/arm/tcg/translate.c M target/arm/tcg/translate.h M target/arm/vfp_helper.c M target/avr/cpu-param.h M target/avr/translate.c M target/cris/cpu-param.h M target/cris/translate.c M target/cris/translate_v10.c.inc M target/hexagon/cpu-param.h M target/hppa/cpu-param.h M target/hppa/translate.c M target/i386/cpu-param.h M target/i386/tcg/translate.c M target/loongarch/cpu-param.h M target/m68k/cpu-param.h M target/m68k/translate.c M target/microblaze/cpu-param.h M target/microblaze/cpu.h M target/mips/cpu-param.h M target/mips/tcg/micromips_translate.c.inc M target/mips/tcg/msa_translate.c M target/mips/tcg/mxu_translate.c M target/mips/tcg/nanomips_translate.c.inc M target/mips/tcg/octeon_translate.c M target/mips/tcg/translate.c M target/mips/tcg/translate_addr_const.c M target/mips/tcg/tx79_translate.c M target/mips/tcg/vr54xx_translate.c M target/nios2/cpu-param.h M target/openrisc/cpu-param.h M target/ppc/cpu-param.h M target/ppc/power8-pmu-regs.c.inc M target/ppc/translate.c M target/ppc/translate/fixedpoint-impl.c.inc M target/ppc/translate/fp-impl.c.inc M target/ppc/translate/vmx-impl.c.inc M target/ppc/translate/vsx-impl.c.inc M target/riscv/cpu-param.h M target/rx/cpu-param.h M target/rx/translate.c M target/s390x/cpu-param.h M target/s390x/tcg/translate.c M target/s390x/tcg/translate_vx.c.inc M target/sh4/cpu-param.h M target/sh4/translate.c M target/sparc/cpu-param.h M target/sparc/translate.c M target/tricore/cpu-param.h M target/tricore/translate.c M target/xtensa/cpu-param.h M tcg/i386/tcg-target.c.inc M tcg/tcg-op-gvec.c M tcg/tcg-op-vec.c M tcg/tcg-op.c M tcg/tcg.c Log Message: ----------- Merge tag 'pull-tcg-20230309' of https://gitlab.com/rth7680/qemu into staging accel/tcg: Fix NB_MMU_MODES to 16 Balance of the target/ patchset which eliminates tcg_temp_free Balance of the target/ patchset which eliminates tcg_const # -----BEGIN PGP SIGNATURE----- # # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmQKO1gdHHJpY2hhcmQu # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV99AQgAj8+/3BDtXYR3J86N # 4jRA2B01cq0OGKICPzWXXbMYuULYstZ1wn/oiICW9UKPbPhSH+J1N3fIRxWziCNK # 5Tsw8qfL9+3v3Jtb9U4363crmISbo903lis1dHv5+ijoHna1lY9MTke0F2bBEspK # 4Sy7pncop0eLFZtr5fu8xa41njf96CTNuInQdi9HmjPBYZcIH1gCJbe/kSBFouiH # hf8+AwgwbI9fs+G8wzcMAohQBZcTKFz33yD7XpuoksqrjtltltTkVmLWIuf7Pgo0 # uVmWOtznH9G6jsqo0XvmBH0wqVSObSSSJ0KIMDHgldIPLi+6Zb7veSmvkLtmksuD # kiYy9Q== # =obD+ # -----END PGP SIGNATURE----- # gpg: Signature made Thu 09 Mar 2023 20:02:32 GMT # gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg: issuer "richard.hender...@linaro.org" # gpg: Good signature from "Richard Henderson <richard.hender...@linaro.org>" [full] # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * tag 'pull-tcg-20230309' of https://gitlab.com/rth7680/qemu: (91 commits) tcg: Drop tcg_const_* tcg: Drop tcg_const_*_vec target/tricore: Use min/max for saturate target/ppc: Avoid tcg_const_* in translate.c target/ppc: Fix gen_tlbsx_booke206 target/ppc: Rewrite trans_ADDG6S target/ppc: Avoid tcg_const_* in power8-pmu-regs.c.inc target/ppc: Avoid tcg_const_* in fp-impl.c.inc target/ppc: Avoid tcg_const_* in vsx-impl.c.inc target/ppc: Avoid tcg_const_* in xxeval target/ppc: Avoid tcg_const_* in vmx-impl.c.inc target/ppc: Avoid tcg_const_i64 in do_vcntmb target/m68k: Use tcg_constant_i32 in gen_ea_mode target/arm: Avoid tcg_const_ptr in handle_rev target/arm: Avoid tcg_const_ptr in handle_vec_simd_sqshrn target/arm: Avoid tcg_const_ptr in disas_simd_zip_trn target/arm: Avoid tcg_const_* in translate-mve.c target/arm: Avoid tcg_const_ptr in gen_sve_{ldr,str} target/arm: Improve trans_BFCI target/arm: Create gen_set_rmode, gen_restore_rmode ... Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> # Conflicts: # include/exec/cpu-defs.h Compare: https://github.com/qemu/qemu/compare/674acdd17808...cef6852c914f