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 the RV64F instructions. Instructions are ordered per 18 * the ISA manual. 19 */ 20 21.text 22.align 16 23.globl libdis_test 24.type libdis_test, @function 25libdis_test: 26 fcvt.l.s t0, ft1 27 fcvt.l.s t1, ft2, rne 28 fcvt.l.s t2, ft3, rtz 29 fcvt.l.s t3, ft4, rdn 30 fcvt.l.s t4, ft5, rup 31 fcvt.l.s t5, ft6, rmm 32 33 fcvt.lu.s t1, ft0 34 fcvt.lu.s t2, ft1, rne 35 fcvt.lu.s t3, ft2, rtz 36 fcvt.lu.s t4, ft3, rdn 37 fcvt.lu.s t5, ft4, rup 38 fcvt.lu.s t6, ft5, rmm 39 40 fcvt.s.l ft1, t0 41 fcvt.s.l ft2, t1, rne 42 fcvt.s.l ft3, t2, rtz 43 fcvt.s.l ft4, t3, rdn 44 fcvt.s.l ft5, t4, rup 45 fcvt.s.l ft6, t5, rmm 46 47 fcvt.s.lu ft1, t0 48 fcvt.s.lu ft2, t1, rne 49 fcvt.s.lu ft3, t2, rtz 50 fcvt.s.lu ft4, t3, rdn 51 fcvt.s.lu ft5, t4, rup 52 fcvt.s.lu ft6, t5, rmm 53.size libdis_test, [.-libdis_test] 54