symbian-qemu-0.9.1-12/qemu-symbian-svp/tests/cris/check_movdelsr1.s
author johnathan.white@2718R8BGH51.accenture.com
Mon, 08 Mar 2010 18:45:03 +0000
changeset 46 b6935a90ca64
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Modify framebuffer and NGA framebuffer to read screen size from board model dtb file. Optimise memory usuage of frame buffer Add example minigui application with hooks to profiler (which writes results to S:\). Modified NGA framebuffer to run its own dfc queue at high priority

# mach: crisv0 crisv3 crisv8 crisv10 crisv32
# output: aa117acd\n
# output: eeaabb42\n

; Bug with move to special register in delay slot, due to
; special flush-insn-cache simulator use.  Ordinary move worked;
; special register caused branch to fail.

 .include "testutils.inc"
 start
 move -1,srp

 move.d 0xaa117acd,r1
 moveq 3,r9
 cmpq 1,r9
 bhi 0f
 move.d r1,r3

 fail
0:
 checkr3 aa117acd

 move.d 0xeeaabb42,r1
 moveq 3,r9
 cmpq 1,r9
 bhi 0f
 move r1,srp

 fail
0:
 move srp,r3
 checkr3 eeaabb42
 quit