qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ARM CPSR and conditional instructions
@ 2006-11-21 19:08 Torbjörn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Torbjörn Andersson @ 2006-11-21 19:08 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

Hello qemu developers!

I´m using QEMU for some ARM debugging and I have som questions regardning
the CPSR register. I get the feeling that the CPSR condition code bits,
representing the results from the ALU, are not maintained at all points. Is
the JIT in QEMU tailored in any way towards GCC output? (Resulting in issues
with the output of other compilers that make use of the conditional
execution of instructions etc.)


What I want to do is to try to verify QEMU maintains the CPSR register and
if not fix it. However, it is not trivial identify where the updates should
be placed. The relationship between translate.c and op.c is not trival I
must say :)



I would be happy I anyone here could give me some pointers on how the
updates of the CPSR register is done today and what the strategy is. I guess
there are plenty of performance ideas here as in the rest of qemu.

Does anyone have any reflection on this topic or can anyone give me some
pointers?

Torbjörn


[-- Attachment #2: Type: text/html, Size: 2738 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [Qemu-devel] ARM CPSR and conditional instructions
@ 2006-11-21 21:16 Torbjörn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Torbjörn Andersson @ 2006-11-21 21:16 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

Hello qemu developers!

I´m using QEMU for some ARM debugging and I have som questions regardning
the CPSR register. I get the feeling that the CPSR condition code bits,
representing the results from the ALU, are not maintained at all points. Is
the JIT in QEMU tailored in any way towards GCC output? (Resulting in issues
with the output of other compilers that make use of the conditional
execution of instructions etc.)


What I want to do is to try to verify QEMU maintains the CPSR register and
if not fix it. However, it is not trivial identify where the updates should
be placed. The relationship between translate.c and op.c is not trival I
must say :)

I would be happy I anyone here could give me some pointers on how the
updates of the CPSR register is done today and what the strategy is. I guess
there are plenty of performance ideas here as in the rest of qemu.

Does anyone have any reflection on this topic or can anyone give me some
pointers?

Torbjörn

 


[-- Attachment #2: Type: text/html, Size: 2888 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-22  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 19:08 [Qemu-devel] ARM CPSR and conditional instructions Torbjörn Andersson
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21 21:16 Torbjörn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).