[PATCH v7 0/1] Add support for emulation of CRC32 instructions

2025-06-26 Thread Aleksandar Rakic
format as in v3. Kind regards, Aleksandar Rakic

[PATCH v7 0/1] Add support for emulation of CRC32 instructions

2025-06-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Aleksandar Rakic (1): Add support for emulation of CRC32 instructions target/mips/cpu-defs.c.inc| 10 +- target/mips/helper.h | 2 + target/mips/meson.build | 1 + target/mips/tcg/op_helper.c

[PATCH v7 1/1] Add support for emulation of CRC32 instructions

2025-06-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Enable CRC for mips64r6. Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleksandar Rakic Reviewed-by: Aleksandar R

[PATCH v6 0/1] Add support for emulation of CRC32 instructions

2025-06-25 Thread Aleksandar Rakic
identical to the version 1, except tests being added. Kind regards, Aleksandar Rakic

[PATCH v6 1/1] Add support for emulation of CRC32 instructions

2025-06-25 Thread Aleksandar Rakic
From: Aleksandar Rakic Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Enable CRC for mips64r6. Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleksandar Rakic Reviewed-by: Aleksandar R

[PATCH v6 0/1] Add support for emulation of CRC32 instructions

2025-06-25 Thread Aleksandar Rakic
From: Aleksandar Rakic Aleksandar Rakic (1): Add support for emulation of CRC32 instructions target/mips/cpu-defs.c.inc| 10 +- target/mips/helper.h | 2 + target/mips/meson.build | 1 + target/mips/tcg/op_helper.c

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-06-24 Thread Aleksandar Rakic
HTEC Public Hi, > I confirm my "reviewed-by" for v5 1/3 (v5 is the same as the initial > one I reviewed, except tests are added). > Reviewed-by: Aleksandar Rikalo Can someone please commit this change? Thanks in advance! Kind regards, Aleksadar Rakic

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-05-14 Thread Aleksandar Rakic
HTEC Public Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-04-23 Thread Aleksandar Rakic
HTEC Public Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v5 2/3] Skip NaN mode check for soft-float

2025-04-05 Thread Aleksandar Rakic
://elixir.bootlin.com/linux/v6.13.6/source/arch/mips/kernel/elf.c#L154 ). Kind regards, Aleksandar Rakic

Re: [PATCH v5 2/3] Skip NaN mode check for soft-float

2025-04-04 Thread Aleksandar Rakic
-msoft-float is active, the emulation ignores the hardware FPU and the NaN mode is not relevant because floating-point processing is left to the software implementation, not the hardware. Kind regards, Aleksandar Rakic

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-03-26 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-03-18 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v5 2/3] Skip NaN mode check for soft-float

2025-03-18 Thread Aleksandar Rakic
Thank you. Kind regards, Aleksandar Rakic

Re: [PATCH v5 2/3] Skip NaN mode check for soft-float

2025-03-12 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-03-12 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

[PATCH v5 0/3] Improve Mips target

2025-02-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Aleksandar Rakic (3): Add support for emulation of CRC32 instructions Skip NaN mode check for soft-float target/mips: Enable MSA ASE using a CLI flag linux-user/mips/cpu_loop.c| 6 +- target/mips/cpu-defs.c.inc| 10

[PATCH v5 0/3] Improve Mips target

2025-02-26 Thread Aleksandar Rakic
tails on individual changes are included in the respective patches. Kind regards, Aleksandar Rakic

[PATCH v5 3/3] target/mips: Enable MSA ASE using a CLI flag

2025-02-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Enable MSA ASE using a CLI flag -cpu ,msa=on. Signed-off-by: Aleksandar Rakic --- target/mips/cpu.c | 16 target/mips/cpu.h | 1 + target/mips/internal.h | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/target/mips

[PATCH v5 2/3] Skip NaN mode check for soft-float

2025-02-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Skip NaN mode check for soft-float since NaN mode is irrelevant if an ELF binary's FPU mode is soft-float, i.e. it doesn't utilize a FPU. Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz

[PATCH v5 1/3] Add support for emulation of CRC32 instructions

2025-02-26 Thread Aleksandar Rakic
From: Aleksandar Rakic Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Enable CRC for mips64r6. Cherry-picked 4cc974938aee1588f852590509004e340c072940 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signe

[PATCH v4 2/3] Skip NaN mode check for soft-float

2025-02-14 Thread Aleksandar Rakic
From: Aleksandar Rakic Skip NaN mode check for soft-float since NaN mode is irrelevant if an ELF binary's FPU mode is soft-float, i.e. it doesn't utilize a FPU. Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz

[PATCH v4 1/3] Add support for emulation of CRC32 instructions

2025-02-14 Thread Aleksandar Rakic
From: Aleksandar Rakic Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Cherry-picked 4cc974938aee1588f852590509004e340c072940 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Mar

[PATCH v4 0/3] Improve Mips target

2025-02-14 Thread Aleksandar Rakic
s are included in the respective patches. Kind regards, Aleksandar Rakic

[PATCH v4 0/3] Improve Mips target

2025-02-14 Thread Aleksandar Rakic
From: Aleksandar Rakic Aleksandar Rakic (3): Add support for emulation of CRC32 instructions Skip NaN mode check for soft-float target/mips: Enable MSA ASE using a CLI flag linux-user/mips/cpu_loop.c| 6 +- target/mips/cpu.c | 16

[PATCH v4 3/3] target/mips: Enable MSA ASE using a CLI flag

2025-02-14 Thread Aleksandar Rakic
From: Aleksandar Rakic Enable MSA ASE using a CLI flag -cpu ,msa=on. Signed-off-by: Aleksandar Rakic --- target/mips/cpu.c | 16 target/mips/cpu.h | 1 + target/mips/internal.h | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/target/mips

Re: [PATCH v3 3/4] target/mips: Enable MSA ASE using a CLI flag

2025-01-17 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v3 2/4] Skip NaN mode check for soft-float

2025-01-17 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v3 1/4] Add support for emulation of CRC32 instructions

2025-01-17 Thread Aleksandar Rakic
Hi, Could you please let us know if you have any comments on the latest version of this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v3 3/4] target/mips: Enable MSA ASE using a CLI flag

2024-12-11 Thread Aleksandar Rakic
Hi, A kind remind/ping on the patch. Before we send v3, do you have any comments on this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v3 2/4] Skip NaN mode check for soft-float

2024-12-11 Thread Aleksandar Rakic
Hi, A kind remind/ping on the patch. Before we send v3, do you have any comments on this patch? Kind regards, Aleksandar Rakic

Re: [PATCH v3 1/4] Add support for emulation of CRC32 instructions

2024-12-11 Thread Aleksandar Rakic
Hi, A kind remind/ping on the patch. Before we send v3, do you have any comments on this patch? Kind regards, Aleksandar Rakic

[PATCH] GTM19-448: Fix script to work without realpath

2024-11-12 Thread Aleksandar Rakic
available here: https://gitlab.com/rakicaleksandar1999/qemu/-/pipelines/1533465414 Signed-off-by: Faraz Shahbazker Signed-off-by: Chao-ying Fu Signed-off-by: Aleksandar Rakic --- scripts/archive-source.sh | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/archive

[PATCH v3 4/4] target/mips: Enable MSA ASE for mips64R2-generic

2024-11-12 Thread Aleksandar Rakic
Enable MSA ASE for mips64R2-generic CPU. Cherry-picked 60f6ae8d3d685ba1ea5d301222fb72b67f39264f from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH v3 0/4] Improve Mips target

2024-11-12 Thread Aleksandar Rakic
This patch series adds support for emulation of CRC32 instructions for the Mips target in QEMU, skips NaN mode check for soft-float, adds a CLI flag for enabling an MSA feature, and enables the MSA for MIPS64R2-generic. There aren't tests for these improvements. The patch 1/8 "Add CP0 MemoryMapID

[PATCH v3 0/4] Improve Mips target

2024-11-12 Thread Aleksandar Rakic
Aleksandar Rakic (4): Add support for emulation of CRC32 instructions Skip NaN mode check for soft-float target/mips: Enable MSA ASE using a CLI flag target/mips: Enable MSA ASE for mips64R2-generic linux-user/mips/cpu_loop.c | 6 -- target/mips/cpu-defs.c.inc | 4

[PATCH v3 1/4] Add support for emulation of CRC32 instructions

2024-11-12 Thread Aleksandar Rakic
Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Cherry-picked 4cc974938aee1588f852590509004e340c072940 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleks

[PATCH v3 2/4] Skip NaN mode check for soft-float

2024-11-12 Thread Aleksandar Rakic
Skip NaN mode check for soft-float since NaN mode is irrelevant if an ELF binary's FPU mode is soft-float, i.e. it doesn't utilize a FPU. Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by:

[PATCH v3 3/4] target/mips: Enable MSA ASE using a CLI flag

2024-11-12 Thread Aleksandar Rakic
Enable MSA ASE using a CLI flag -cpu ,msa=on. Signed-off-by: Aleksandar Rakic --- target/mips/cpu.c | 16 target/mips/cpu.h | 1 + target/mips/internal.h | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/target/mips/cpu.c b/target/mips/cpu.c

[PATCH v2 0/8] Introduce MIPS64r6 target

2024-10-18 Thread Aleksandar Rakic
This patch series introduces support for the MIPS64r6 target in QEMU, bringing the latest architecture features and improvements to the MIPS target. In addition to the new target, this series also includes several bug fixes that have been in use internally for years within the MIPS ecosystem. The

[PATCH v2 8/8] target/mips: Enable MSA ASE for mips64R2-generic

2024-10-18 Thread Aleksandar Rakic
Enable MSA ASE for mips64R2-generic CPU. Cherry-picked 60f6ae8d3d685ba1ea5d301222fb72b67f39264f from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH v2 7/8] target/mips: Enable MSA ASE for mips32r6-generic

2024-10-18 Thread Aleksandar Rakic
Enable MSA ASE for mips32r6-generic CPU. Cherry-picked 0186e83a0613e90aff6d4c12c91cdb080d695d37 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Aleksandar Markovic Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 8 +--- 1 file

[PATCH v2 6/8] Revert use of clock_gettime for benchmarking

2024-10-18 Thread Aleksandar Rakic
/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- qemu-io-cmds.c | 77 +- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index e2fab57183..a846746553 100644 --- a

[PATCH v2 5/8] Add micromips to P5600

2024-10-18 Thread Aleksandar Rakic
Add micromips to P5600. Cherry-picked d7bf2c2f7f2e03b55c6e9c57eec5c3e6207005a0 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Matthew Fortune Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 4/8] Skip NaN mode check for soft-float

2024-10-18 Thread Aleksandar Rakic
Skip NaN mode check for soft-float since NaN mode is irrelevant if an ELF binary's FPU mode is soft-float, i.e. it doesn't utilize a FPU. Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by:

[PATCH v2 3/8] GTM19-448: Fix script to work without realpath

2024-10-18 Thread Aleksandar Rakic
20ec0a and 8003ab4032772a0e5b46e5983fe06268d3469289 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Chao-ying Fu Signed-off-by: Aleksandar Rakic --- scripts/archive-source.sh | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scrip

[PATCH v2 2/8] Add support for emulation of CRC32 instructions

2024-10-18 Thread Aleksandar Rakic
Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Cherry-picked 4cc974938aee1588f852590509004e340c072940 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleks

[PATCH v2 1/8] Add CP0 MemoryMapID register implementation

2024-10-18 Thread Aleksandar Rakic
Add CP0 MemoryMapID register implementation. Cherry-picked 9e0cb40adb110c2c76e2e97719ba8afcce72bcf5 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleksandar Rakic --- target/mips/sysemu/machine.c | 7 +-- 1 file

[PATCH 7/8] target/mips: Enable MSA ASE for mips32r6-generic

2024-09-27 Thread Aleksandar Rakic
Enable MSA ASE for mips32r6-generic CPU. Cherry-picked 0186e83a0613e90aff6d4c12c91cdb080d695d37 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Aleksandar Markovic Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 8 +--- 1 file

[PATCH 6/8] Revert use of clock_gettime for benchmarking

2024-09-27 Thread Aleksandar Rakic
/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- qemu-io-cmds.c | 77 +- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index e2fab57183..a846746553 100644 --- a

[PATCH 0/8] Introduce MIPS64r6 target

2024-09-27 Thread Aleksandar Rakic
This patch series introduces support for the MIPS64r6 target in QEMU, bringing the latest architecture features and improvements to the MIPS target. In addition to the new target, this series also includes several bug fixes that have been in use internally for years within the MIPS ecosystem. The

[PATCH 4/8] Skip NaN mode check for soft-float

2024-09-27 Thread Aleksandar Rakic
Skip NaN mode check for soft-float. Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- linux-user/mips/cpu_loop.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[PATCH 3/8] GTM19-448: Fix script to work without realpath

2024-09-27 Thread Aleksandar Rakic
20ec0a and 8003ab4032772a0e5b46e5983fe06268d3469289 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Chao-ying Fu Signed-off-by: Aleksandar Rakic --- scripts/archive-source.sh | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scrip

[PATCH 8/8] target/mips: Enable MSA ASE for mips64R2-generic

2024-09-27 Thread Aleksandar Rakic
Enable MSA ASE for mips64R2-generic CPU. Cherry-picked 60f6ae8d3d685ba1ea5d301222fb72b67f39264f from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH 1/8] Add CP0 MemoryMapID register implementation

2024-09-27 Thread Aleksandar Rakic
Add CP0 MemoryMapID register implementation. Cherry-picked 9e0cb40adb110c2c76e2e97719ba8afcce72bcf5 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleksandar Rakic --- target/mips/sysemu/machine.c | 7 +-- 1 file

[PATCH 5/8] Add micromips to P5600

2024-09-27 Thread Aleksandar Rakic
Add micromips to P5600. Cherry-picked d7bf2c2f7f2e03b55c6e9c57eec5c3e6207005a0 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Faraz Shahbazker Signed-off-by: Matthew Fortune Signed-off-by: Aleksandar Rakic --- target/mips/cpu-defs.c.inc | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/8] Add support for emulation of CRC32 instructions

2024-09-27 Thread Aleksandar Rakic
Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Cherry-picked 4cc974938aee1588f852590509004e340c072940 from https://github.com/MIPS/gnutools-qemu Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic Signed-off-by: Aleks