Add tests of conditional branch instructions with probability postfixes
[deliverable/binutils-gdb.git] / gas / testsuite / gas / ppc / astest2.s
1 four = 4
2 .section ".text"
3 foo:
4 nop ; nop ; nop
5 .globl a
6 b .+4
7 b .+8
8 b x
9 b y
10 b z
11 b z+20
12 b .+four
13 b a
14 b b
15 b a+4
16 b b+4
17 b a@local
18 b b@local
19 .long .
20 .long .+8
21 .long x-.
22 .long x+4-.
23 .long z-.
24 .long y-.
25 .long x
26 .long y
27 .long z
28 .long x-four
29 .long y-four
30 .long z-four
31 .long a-.
32 .long b-.
33 a: .long a
34 b: .long b
35
36 apfour = a + four
37 .long apfour
38 .long a-apfour
39 .long apfour+2
40 .long apfour-b
41
42 .section ".data"
43 .globl x
44 .globl z
45 x: .long 0
46 z = . + 4
47 y: .long 0
48
49 .type foo,@function
50 .type a,@function
51 .type b,@function
52 .type apfour,@function
53
54 .section ".text"
55 .L1:
56 nop
57 ble- 1,.L1
58 bgt- 2,.L1
59 ble+ 3,.L1
60 bgt+ 4,.L1
61 ble- 5,.L2
62 bgt- 6,.L2
63 ble+ 7,.L2
64 bgt+ 0,.L2
65 .L2:
66 nop:
This page took 0.034412 seconds and 4 git commands to generate.