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
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.
13 * Copyright 2018, Joyent, Inc.
17 * Test our disassembly of the RV64A instructions. Instructions are ordered per the
24 .type libdis_test, @function
33 sc.d.aqrl s3
, s5
, (s1
)
34 amoswap.d t0
, t1
, (t2
)
35 amoswap.d.aq t1
, t2
, (t3
)
36 amoswap.d.rl t2
, t3
, (t4
)
37 amoswap.d.aqrl t3
, t4
, (t5
)
39 amoadd.d.aq t1
, t2
, (t3
)
40 amoadd.d.rl t2
, t3
, (t4
)
41 amoadd.d.aqrl t3
, t4
, (t5
)
43 amoxor.d.aq t1
, t2
, (t3
)
44 amoxor.d.rl t2
, t3
, (t4
)
45 amoxor.d.aqrl t3
, t4
, (t5
)
47 amoand.d.aq t1
, t2
, (t3
)
48 amoand.d.rl t2
, t3
, (t4
)
49 amoand.d.aqrl t3
, t4
, (t5
)
51 amoor.d.aq t1
, t2
, (t3
)
52 amoor.d.rl t2
, t3
, (t4
)
53 amoor.d.aqrl t3
, t4
, (t5
)
55 amomin.d.aq t1
, t2
, (t3
)
56 amomin.d.rl t2
, t3
, (t4
)
57 amomin.d.aqrl t3
, t4
, (t5
)
59 amomax.d.aq t1
, t2
, (t3
)
60 amomax.d.rl t2
, t3
, (t4
)
61 amomax.d.aqrl t3
, t4
, (t5
)
62 amominu.d t0
, t1
, (t2
)
63 amominu.d.aq t1
, t2
, (t3
)
64 amominu.d.rl t2
, t3
, (t4
)
65 amominu.d.aqrl t3
, t4
, (t5
)
66 amomaxu.d t0
, t1
, (t2
)
67 amomaxu.d.aq t1
, t2
, (t3
)
68 amomaxu.d.rl t2
, t3
, (t4
)
69 amomaxu.d.aqrl t3
, t4
, (t5
)
70 .size libdis_test, [.-libdis_test]