Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 5c2d2a9ee5f1978ae980598fba80151c761105a0 https://github.com/qemu/qemu/commit/5c2d2a9ee5f1978ae980598fba80151c761105a0 Author: Aurelien Jarno <aurel...@aurel32.net> Date: 2012-09-19 (Wed, 19 Sep 2012)
Changed paths: M tcg/i386/tcg-target.c Log Message: ----------- tcg/i386: allow constants in load/store ops On x86, it is possible to move a constant value to memory. Add code to handle a constant argument to load/store ops. Reviewed-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: 332864bd95257111bf457e3f0501114028c107d6 https://github.com/qemu/qemu/commit/332864bd95257111bf457e3f0501114028c107d6 Author: Aurelien Jarno <aurel...@aurel32.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M tcg/tcg-opc.h M tcg/tcg.c Log Message: ----------- tcg: mark set_label with TCG_OPF_BB_END flag set_label is effectively the end of a basic block, as no optimization can be made accross it. It was treated as such in the liveness analysis code, but as a special case. Mark it with TCG_OPF_BB_END flag so that this information can be used by other parts of the TCG code, and remove the special case in the liveness analysis code. Cc: Blue Swirl <blauwir...@gmail.com> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: d104bebd073cc05a1a572529a060857a377be6aa https://github.com/qemu/qemu/commit/d104bebd073cc05a1a572529a060857a377be6aa Author: Aurelien Jarno <aurel...@aurel32.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M tcg/optimize.c M tcg/tcg.h Log Message: ----------- revert "TCG: fix copy propagation" Given the copy propagation breakage on 32-bit hosts has been fixed commit e31b0a7c050711884ad570fe73df806520953618 can be reverted. Cc: Blue Swirl <blauwir...@gmail.com> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: 262e1eaafabf32d33a9fa0b03b3c8ea426c5ae1b https://github.com/qemu/qemu/commit/262e1eaafabf32d33a9fa0b03b3c8ea426c5ae1b Author: Aurelien Jarno <aurel...@aurel32.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M hw/pflash_cfi01.c Log Message: ----------- pflash_cfi01: fix vendor specific extended query pflash_cfi01 announces a version number of 1.1, which implies "Protection Register Information" and "Burst Read information" sections, which are not provided. Decrease the version number to 1.0 so that only the "Protection Register Information" section is needed. Set the number of protection fields (0x3f) to 0x01, as 0x00 means 256 protections field, which makes the CFI table bigger than the current implementation, causing some kernels to fail to read it. Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: eb99c9a993cc45f431a0b755595c8536aa947ace https://github.com/qemu/qemu/commit/eb99c9a993cc45f431a0b755595c8536aa947ace Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M hw/pflash_cfi01.c M hw/pflash_cfi02.c Log Message: ----------- hw/pflash_cfi0[12]: Use host-utils.h ctz32() Drop the private reimplementation of ctz32() from pflash_cfi0[12] in favour of using the standard version from host-utils.h. Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Stefan Weil <s...@weilnetz.de> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: e1050a7637d24d9f49e739cbe6d6d657359603db https://github.com/qemu/qemu/commit/e1050a7637d24d9f49e739cbe6d6d657359603db Author: Richard Henderson <r...@twiddle.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: Set opn in gen_ldst_multiple. Used by MIPS_DEBUG, when enabled. Signed-off-by: Richard Henderson <r...@twiddle.net> Acked-by: Aurelien Jarno <aurel...@aurel32.net> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: 9fa7748873c99cbf8b281650bdc18fd442be4743 https://github.com/qemu/qemu/commit/9fa7748873c99cbf8b281650bdc18fd442be4743 Author: Richard Henderson <r...@twiddle.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: Fix MIPS_DEBUG. The macro uses the DisasContext. Pass it around as needed. Signed-off-by: Richard Henderson <r...@twiddle.net> Acked-by: Aurelien Jarno <aurel...@aurel32.net> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: fb7729e2d03e1ffb4306f2411c18aa20f737dba8 https://github.com/qemu/qemu/commit/fb7729e2d03e1ffb4306f2411c18aa20f737dba8 Author: Richard Henderson <r...@twiddle.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: Always evaluate debugging macro arguments this will prevent some of the compilation errors with debugging enabled from creeping back in. Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: bd277fa1966bc400f1b411f868f39125cda0c403 https://github.com/qemu/qemu/commit/bd277fa1966bc400f1b411f868f39125cda0c403 Author: Richard Henderson <r...@twiddle.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M target-mips/Makefile.objs M target-mips/helper.h A target-mips/lmi_helper.c M target-mips/translate.c Log Message: ----------- target-mips: Implement Loongson Multimedia Instructions Implements all of the COP2 instructions except for the S<cond> family of comparisons. The documentation is unclear for those. Signed-off-by: Richard Henderson <r...@twiddle.net> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Commit: a25506603914d706f4ac4c63d3b93b4f1227b9b4 https://github.com/qemu/qemu/commit/a25506603914d706f4ac4c63d3b93b4f1227b9b4 Author: Aurelien Jarno <aurel...@aurel32.net> Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M tcg/optimize.c Log Message: ----------- tcg/optimize: fix end of basic block detection Commit e31b0a7c050711884ad570fe73df806520953618 fixed copy propagation on 32-bit host by restricting the copy between different types. This was the wrong fix. The real problem is that the all temps states should be reset at the end of a basic block. This was done by adding such operations in the switch, but brcond2 was forgotten (that's why the crash was only observed on 32-bit hosts). Fix that by looking at the TCG_OPF_BB_END instead. We need to keep the case for op_set_label as temps might be modified through another path. Cc: Blue Swirl <blauwir...@gmail.com> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> Compare: https://github.com/qemu/qemu/compare/8354cd722e0a...a25506603914