~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to tests/cris/check_clrjmp1.s

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2008-08-25 04:38:35 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080825043835-8e3tftavy8bujdch
Tags: 0.9.1-6
[ Aurelien Jarno ]
* debian/control: 
  - Update list of supported targets (Closes: bug#488339).
* debian/qemu-make-debian-root:
  - Use mktemp instead of $$ to create temporary directories (Closes: 
    bug#496394).
* debian/links:
  - Add missing links to manpages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mach: crisv3 crisv8 crisv10 crisv32
 
2
# output: ffffff00\n
 
3
 
 
4
; A bug resulting in a non-effectual clear.b discovered running the GCC
 
5
; testsuite; jump actually wrote to p0.
 
6
 
 
7
 .include "testutils.inc"
 
8
 
 
9
 start
 
10
 jump 1f
 
11
 nop
 
12
 .p2align 8
 
13
1:
 
14
 move.d y,r4
 
15
 
 
16
 .if 0 ;0 == ..asm.arch.cris.v32
 
17
; There was a bug causing this insn to set special register p0
 
18
; (byte-clear) to 8 (low 8 bits of location after insn).
 
19
 jump [r4+]
 
20
 .endif
 
21
 
 
22
1:
 
23
 move.d 0f,r4
 
24
 
 
25
; The corresponding bug would cause this insn too, to set p0.
 
26
 jump r4
 
27
 nop
 
28
 quit
 
29
0:
 
30
 moveq -1,r3
 
31
 clear.b r3
 
32
 checkr3 ffffff00
 
33
 quit
 
34
 
 
35
y:
 
36
 .dword 1b