-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_ppc64.s
49 lines (47 loc) · 964 Bytes
/
test_ppc64.s
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
/*****************************************************************************
* Copyright (c) IBM Corp, 2016
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Jose Ricardo Ziviani - ppc64le implementation
* based on Claudio Fontana
* based on test_arm.s by Peter Maydell
*****************************************************************************/
/* Initialise the gp regs */
li 0, 0
li 2, 2
li 3, 3
li 4, 4
li 5, 5
li 6, 6
li 7, 7
li 8, 8
li 9, 9
li 10, 10
li 11, 11
li 12, 12
li 14, 14
li 15, 15
li 16, 16
li 17, 17
li 18, 18
li 19, 19
li 20, 20
li 21, 21
li 22, 22
li 23, 23
li 24, 24
li 25, 25
li 26, 26
li 27, 27
li 28, 28
li 29, 29
li 30, 30
li 31, 31
/* do compare */
.int 0x00005af0
/* exit test */
.int 0x00005af1