1*2380c36eSRobert Mustacchi/* 2*2380c36eSRobert Mustacchi * This file and its contents are supplied under the terms of the 3*2380c36eSRobert Mustacchi * Common Development and Distribution License ("CDDL"), version 1.0. 4*2380c36eSRobert Mustacchi * You may only use this file in accordance with the terms of version 5*2380c36eSRobert Mustacchi * 1.0 of the CDDL. 6*2380c36eSRobert Mustacchi * 7*2380c36eSRobert Mustacchi * A full copy of the text of the CDDL should have accompanied this 8*2380c36eSRobert Mustacchi * source. A copy of the CDDL is also available via the Internet at 9*2380c36eSRobert Mustacchi * http://www.illumos.org/license/CDDL. 10*2380c36eSRobert Mustacchi */ 11*2380c36eSRobert Mustacchi 12*2380c36eSRobert Mustacchi/* 13*2380c36eSRobert Mustacchi * Copyright 2016 Joyent, Inc. 14*2380c36eSRobert Mustacchi */ 15*2380c36eSRobert Mustacchi 16*2380c36eSRobert Mustacchi/* 17*2380c36eSRobert Mustacchi * Test ADX related instructions 18*2380c36eSRobert Mustacchi */ 19*2380c36eSRobert Mustacchi 20*2380c36eSRobert Mustacchi.text 21*2380c36eSRobert Mustacchi.align 16 22*2380c36eSRobert Mustacchi.globl libdis_test 23*2380c36eSRobert Mustacchi.type libdis_test, @function 24*2380c36eSRobert Mustacchilibdis_test: 25*2380c36eSRobert Mustacchi adcx %rbx, %rax 26*2380c36eSRobert Mustacchi adcx 0x40(%rbx), %rax 27*2380c36eSRobert Mustacchi adcx (%rbx), %rdx 28*2380c36eSRobert Mustacchi 29*2380c36eSRobert Mustacchi adox %rbx, %rax 30*2380c36eSRobert Mustacchi adox 0x40(%rbx), %rax 31*2380c36eSRobert Mustacchi adox (%rbx), %rdx 32*2380c36eSRobert Mustacchi.size libdis_test, [.-libdis_test] 33