mips-abiflags.test
2.08 KB
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
67
68
69
70
71
RUN: llvm-readobj -A %p/Inputs/abiflags.obj.elf-mipsel | \
RUN: FileCheck -check-prefix=EL64 %s
RUN: llvm-readobj -A %p/Inputs/abiflags.obj.elf-mips | \
RUN: FileCheck -check-prefix=BE32 %s
RUN: llvm-readelf -A %p/Inputs/abiflags.obj.elf-mipsel | \
RUN: FileCheck -check-prefix=GNU-EL64 %s
RUN: llvm-readelf -A %p/Inputs/abiflags.obj.elf-mips | \
RUN: FileCheck -check-prefix=GNU-BE32 %s
EL64: MIPS ABI Flags {
EL64-NEXT: Version: 0
EL64-NEXT: ISA: MIPS64r5
EL64-NEXT: ISA Extension: Cavium Networks Octeon3 (0x13)
EL64-NEXT: ASEs [ (0x103)
EL64-NEXT: DSP (0x1)
EL64-NEXT: DSPR2 (0x2)
EL64-NEXT: VZ (0x100)
EL64-NEXT: ]
EL64-NEXT: FP ABI: Hard float (double precision) (0x1)
EL64-NEXT: GPR size: 64
EL64-NEXT: CPR1 size: 64
EL64-NEXT: CPR2 size: 0
EL64-NEXT: Flags 1 [ (0x1)
EL64-NEXT: ODDSPREG (0x1)
EL64-NEXT: ]
EL64-NEXT: Flags 2: 0x0
EL64-NEXT: }
BE32: MIPS ABI Flags {
BE32-NEXT: Version: 0
BE32-NEXT: ISA: MIPS32r2
BE32-NEXT: ISA Extension: None (0x0)
BE32-NEXT: ASEs [ (0x803)
BE32-NEXT: DSP (0x1)
BE32-NEXT: DSPR2 (0x2)
BE32-NEXT: microMIPS (0x800)
BE32-NEXT: ]
BE32-NEXT: FP ABI: Soft float (0x3)
BE32-NEXT: GPR size: 32
BE32-NEXT: CPR1 size: 0
BE32-NEXT: CPR2 size: 0
BE32-NEXT: Flags 1 [ (0x1)
BE32-NEXT: ODDSPREG (0x1)
BE32-NEXT: ]
BE32-NEXT: Flags 2: 0x0
BE32-NEXT: }
GNU-EL64: MIPS ABI Flags Version: 0
GNU-EL64-EMPTY:
GNU-EL64-NEXT: ISA: MIPS64r5
GNU-EL64-NEXT: GPR size: 64
GNU-EL64-NEXT: CPR1 size: 64
GNU-EL64-NEXT: CPR2 size: 0
GNU-EL64-NEXT: FP ABI: Hard float (double precision)
GNU-EL64-NEXT: ISA Extension: Cavium Networks Octeon3
GNU-EL64-NEXT: ASEs: DSP, DSPR2, VZ
GNU-EL64-NEXT: FLAGS 1: 00000001
GNU-EL64-NEXT: FLAGS 2: 00000000
GNU-BE32: MIPS ABI Flags Version: 0
GNU-BE32-EMPTY:
GNU-BE32-NEXT: ISA: MIPS32r2
GNU-BE32-NEXT: GPR size: 32
GNU-BE32-NEXT: CPR1 size: 0
GNU-BE32-NEXT: CPR2 size: 0
GNU-BE32-NEXT: FP ABI: Soft float
GNU-BE32-NEXT: ISA Extension: None
GNU-BE32-NEXT: ASEs: DSP, DSPR2, microMIPS
GNU-BE32-NEXT: FLAGS 1: 00000001
GNU-BE32-NEXT: FLAGS 2: 00000000