blob: afe30e3268b193a76a5c28ad468ca3517c873ae2 (
plain) (
blame)
1
2
3
4
5
6
7
|
<think>
Okay, let's see. The user is reporting an issue with QEMU related to SVE first-faulting gather loads returning incorrect data. The problem occurs when the target register Zt is the same as the mask register Zm in the ldff1 instruction. The result is that the first element gets duplicated across the vector, and the FFR indicates all elements were loaded successfully. They provided steps to reproduce, including assembly and C code. The issue was introduced in a specific commit and persists in the latest master. The test runs correctly on real hardware but fails in QEMU.
So, the problem is specifically with the execution of the ldff1d instruction in QEMU's SVE emulation. The incorrect handling of the case where Zt equals Zm suggests that there's a bug in how QEMU translates or executes this particular instruction. Since the bug is tied directly to an instruction's implementation in QEMU, the correct category would be "instruction". It's not a syscall or a runtime error, but an error in the instruction's simulation.
</think>
instruction
|