xref: /illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/tst.fpregs.s (revision 3ce5372277f4657ad0e52d36c979527c4ca22de2)
1/*
2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
5 * 1.0 of the CDDL.
6 *
7 * A full copy of the text of the CDDL should have accompanied this
8 * source.  A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
10 */
11
12/*
13 * Copyright 2018, Joyent, Inc.
14 */
15
16/*
17 * Test our disassembly of all of the fp register names.
18 */
19
20.text
21.align 16
22.globl libdis_test
23.type libdis_test, @function
24libdis_test:
25
26libdifs_tefst:
27	fadd.s	ft0, ft0, ft0
28	fadd.s	ft1, ft1, ft1
29	fadd.s	ft2, ft2, ft2
30	fadd.s	ft3, ft3, ft3
31	fadd.s	ft4, ft4, ft4
32	fadd.s	ft5, ft5, ft5
33	fadd.s	ft6, ft6, ft6
34	fadd.s	ft7, ft7, ft7
35	fadd.s	fs0, fs0, fs0
36	fadd.s	fs1, fs1, fs1
37	fadd.s	fa0, fa0, fa0
38	fadd.s	fa1, fa1, fa1
39	fadd.s	fa2, fa2, fa2
40	fadd.s	fa3, fa3, fa3
41	fadd.s	fa4, fa4, fa4
42	fadd.s	fa5, fa5, fa5
43	fadd.s	fa6, fa6, fa6
44	fadd.s	fa7, fa7, fa7
45	fadd.s	fs2, fs2, fs2
46	fadd.s	fs3, fs3, fs3
47	fadd.s	fs4, fs4, fs4
48	fadd.s	fs5, fs5, fs5
49	fadd.s	fs6, fs6, fs6
50	fadd.s	fs7, fs7, fs7
51	fadd.s	fs8, fs8, fs8
52	fadd.s	fs9, fs9, fs9
53	fadd.s	fs10, fs10, fs10
54	fadd.s	fs11, fs11, fs11
55	fadd.s	ft8, ft8, ft8
56	fadd.s	ft9, ft9, ft9
57	fadd.s	ft10, ft10, ft10
58	fadd.s	ft11, ft11, ft11
59
60	fadd.s	ft0, ft1, ft2
61	fadd.s	ft1, ft2, ft3
62	fadd.s	ft2, ft3, ft4
63	fadd.s	ft3, ft4, ft5
64	fadd.s	ft4, ft5, ft6
65	fadd.s	ft5, ft6, ft7
66	fadd.s	ft6, ft7, fs0
67	fadd.s	ft7, fs0, fs1
68	fadd.s	fs0, fs1, fa0
69	fadd.s	fs1, fa0, fa1
70	fadd.s	fa0, fa1, fa2
71	fadd.s	fa1, fa2, fa3
72	fadd.s	fa2, fa3, fa4
73	fadd.s	fa3, fa4, fa5
74	fadd.s	fa4, fa5, fa6
75	fadd.s	fa5, fa6, fa7
76	fadd.s	fa6, fa7, fs2
77	fadd.s	fa7, fs2, fs3
78	fadd.s	fs2, fs3, fs4
79	fadd.s	fs3, fs4, fs5
80	fadd.s	fs4, fs5, fs6
81	fadd.s	fs5, fs6, fs7
82	fadd.s	fs6, fs7, fs8
83	fadd.s	fs7, fs8, fs9
84	fadd.s	fs8, fs9, fs10
85	fadd.s	fs9, fs10, fs11
86	fadd.s	fs10, fs11, ft8
87	fadd.s	fs11, ft8, ft9
88	fadd.s	ft8, ft9, ft10
89	fadd.s	ft9, ft10, ft11
90	fadd.s	ft10, ft11, ft0
91	fadd.s	ft11, ft0, ft1
92.size libdis_test, [.-libdis_test]
93