All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU+Aarch64: in_asm log skips instructions of loop-programs
@ 2015-09-02 12:55 Sergey Smolov
  2015-09-02 13:50 ` Sergey Smolov
  0 siblings, 1 reply; 15+ messages in thread
From: Sergey Smolov @ 2015-09-02 12:55 UTC (permalink / raw)
  To: qemu-devel

Hello, List!

I've found that while running Aarch64 assembler programs on QEMU with 
"-d in_asm" option enabled I receive not complete logs. For example, on 
the following assembler program which contains a loop :

[assembler]
.globl _start
bl _start
_start:
label1:
   movz  x0, 10
   subs x0, x0, 1
   b.eq label2
   b label1
label2:
hlt #57005
[/assembler]

I receive the following log which does not include "loop unrolling":
[log]
----------------
IN:
0x0000000000000000:  94000001      bl #+0x4 (addr 0x4)

----------------
IN:
0x0000000000000004:  d2800140      mov x0, #0xa

----------------
IN:
0x0000000000000008:  f1000400      subs x0, x0, #0x1 (1)

----------------
IN:
0x000000000000000c:  54000040      b.eq #+0x8 (addr 0x14)

----------------
IN:
0x0000000000000010:  17fffffd      b #-0xc (addr 0x4)


[/log]

It seems that QEMU skips some internal instructions when generates 
"in_asm" log. How to eliminate this?

Thanks in advance!

Sincerely yours,
Sergey Smolov

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

end of thread, other threads:[~2015-11-03 13:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <7cd03581b882e28ef904a35a4ce1e374@ispras.ru>
2015-09-03 14:31 ` [Qemu-devel] Fwd: Re: QEMU+Aarch64: in_asm log skips instructions of loop-programs Sergey Smolov
2015-09-03 15:35   ` [Qemu-devel] " Peter Maydell
2015-09-04  6:37     ` Sergey Smolov
2015-09-04 16:38       ` Sergey Smolov
2015-09-17 22:02         ` Christopher Covington
2015-09-18  8:15           ` Sergey Smolov
2015-09-18 14:26             ` Christopher Covington
2015-11-03 12:15               ` Sergey Smolov
2015-09-02 12:55 Sergey Smolov
2015-09-02 13:50 ` Sergey Smolov
2015-09-02 16:39   ` Peter Maydell
2015-09-03  5:27     ` Sergey Smolov
2015-09-03  6:33       ` Peter Maydell
2015-09-03  7:09         ` Sergey Smolov
2015-09-03 14:28         ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.