File: condtion-codes.s

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (66 lines) | stat: -rw-r--r-- 2,852 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// RUN: llvm-mc -triple aarch64 -show-encoding -mattr=+sve < %s | FileCheck %s
// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=-sve < %s 2>&1 | FileCheck %s --check-prefix=CHECK-DIAG

//------------------------------------------------------------------------------
// Condition code aliases for SVE
//------------------------------------------------------------------------------

        b.none lbl
// CHECK: b.eq lbl     // encoding: [0bAAA00000,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.none lbl

        b.any lbl
// CHECK: b.ne lbl     // encoding: [0bAAA00001,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.any lbl

        b.nlast lbl
// CHECK: b.hs lbl     // encoding: [0bAAA00010,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.nlast lbl

        b.last lbl
// CHECK: b.lo lbl     // encoding: [0bAAA00011,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.last lbl

        b.first lbl
// CHECK: b.mi lbl     // encoding: [0bAAA00100,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.first lbl

        b.nfrst lbl
// CHECK: b.pl lbl     // encoding: [0bAAA00101,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.nfrst lbl

        b.pmore lbl
// CHECK: b.hi lbl     // encoding: [0bAAA01000,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.pmore lbl

        b.plast lbl
// CHECK: b.ls lbl     // encoding: [0bAAA01001,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.plast lbl

        b.tcont lbl
// CHECK: b.ge lbl     // encoding: [0bAAA01010,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.tcont lbl

        b.tstop lbl
// CHECK: b.lt lbl     // encoding: [0bAAA01011,A,A,0x54]
// CHECK-NEXT:         //   fixup A - offset: 0, value: lbl, kind: fixup_aarch64_pcrel_branch19
// CHECK-DIAG:  invalid condition code
// CHECK-DIAG-NEXT:  b.tstop lbl