/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy of the CDDL is also available via the Internet at * http://www.illumos.org/license/CDDL. */ /* * Copyright 2016 Joyent, Inc. */ /* * Test SHA related instructions */ .text .align 16 .globl libdis_test .type libdis_test, @function libdis_test: sha1rnds4 $0x1, %xmm0, %xmm1 sha1rnds4 $0x2, (%ebx), %xmm1 sha1rnds4 $0x3, 0x23(%ebx), %xmm1 sha1rnds4 $0x2, (%ebx, %ecx, 4), %xmm1 sha1nexte %xmm0, %xmm1 sha1nexte (%ebx), %xmm1 sha1nexte 0x23(%ebx), %xmm1 sha1nexte (%ebx, %ecx, 4), %xmm1 sha1msg1 %xmm0, %xmm1 sha1msg1 (%ebx), %xmm1 sha1msg1 0x23(%ebx), %xmm1 sha1msg1 (%ebx, %ecx, 4), %xmm1 sha1msg2 %xmm0, %xmm1 sha1msg2 (%ebx), %xmm1 sha1msg2 0x23(%ebx), %xmm1 sha1msg2 (%ebx, %ecx, 4), %xmm1 sha256rnds2 %xmm4, %xmm5 sha256rnds2 (%ebx), %xmm5 sha256rnds2 0x23(%ebx), %xmm5 sha256rnds2 (%ebx, %ecx, 4), %xmm5 sha256msg1 %xmm0, %xmm1 sha256msg1 (%ebx), %xmm1 sha256msg1 0x23(%ebx), %xmm1 sha256msg1 (%ebx, %ecx, 4), %xmm1 sha256msg2 %xmm0, %xmm1 sha256msg2 (%ebx), %xmm1 sha256msg2 0x23(%ebx), %xmm1 sha256msg2 (%ebx, %ecx, 4), %xmm1 .size libdis_test, [.-libdis_test]