blob: 731738dcc1de294a6e6ceb471640386fe262ee3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<think>
Okay, so I need to classify this bug report as either user-mode or system-mode related. Let me try to understand the problem first.
The user is talking about SVE (Scalable Vector Extension) registers in ARMv8-A. They mention that according to the specification, SVE can have various register sizes. However, their experience with qemu-user-aarch64 is that it only supports the maximum size of 2048 bits, which isn't suitable for their CPU that uses a 512-bit SVE register.
They wrote an assembler program targeting a CPU with 512-bit SVE registers. When they run this under qemu-user-aarch64, instructions that load or store these vectors as 2048 bits are executed instead of 512 bits. This causes a segmentation fault because the program expects smaller vector sizes.
The user is suggesting that qemu should have an option to specify the SVE register size so it can better emulate their target CPU's configuration.
Now, considering whether this is a user-mode or system-mode issue:
- User-mode emulation typically deals with running unprivileged code, like applications. Qemu-user runs binaries as if they were on the host, but in a translated environment.
- System-mode (like qemu-system) emulates an entire system, including privileged instructions and device handling.
In this case, the issue is about how the CPU's vector registers are handled during execution of user-level code. The problem arises when running user-space applications with specific SVE configurations. Therefore, it's related to user-mode emulation because it affects the application's execution context rather than the system or device level.
So, I think this bug should be classified as a 'user' mode issue.
</think>
The bug is related to how QEMU handles user-mode execution of code with specific SVE register sizes. The user is experiencing issues when running their program in a user-space environment under QEMU's user-mode emulation.
user
|