qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does this mean?


From: Thomas Huth
Subject: Re: What does this mean?
Date: Tue, 30 May 2023 10:08:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 28/05/2023 14.23, Harold Grovesteen wrote:
It is triggered by a CLC instruction.  The "bizarre" cc goes away when
the CLC instruction is commented out.

I can rework the code to avoid the use of the CLC instruction.  But
thought it should be shared.

/home/harold/qemu-7.2.0-rc4/install/bin/qemu-system-s390x -machine
s390-ccw-virtio -cpu max -m 3M -no-shutdown -nographic -serial
mon:stdio -kernel test12.elf
QEMU 7.1.94 monitor - type 'help' for more information
(qemu) info registers

CPU#0
PSW=mask 0000100180000000 addr 0000000000002034 cc CC_OP_LTUGTU_64

It's an internal representation of the condition code ... a little bit ugly for the end user, I guess, but likely quite useful if you're working on the instruction emulation within QEMU.

You can find more information here:


https://gitlab.com/qemu-project/qemu/-/blob/v8.0.0/target/s390x/s390x-internal.h#L144

 HTH,
  Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]