/*1* M7copy_from_user.S: SPARC M7 optimized copy from userspace.2*3* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.4*/567#define EX_LD(x, y) \898: x; \9.section __ex_table,"a"; \10.align 4; \11.word 98b, y; \12.text; \13.align 4;1415#define EX_LD_FP(x, y) \1698: x; \17.section __ex_table,"a"; \18.align 4; \19.word 98b, y##_fp; \20.text; \21.align 4;2223#ifndef ASI_AIUS24#define ASI_AIUS 0x1125#endif2627#define FUNC_NAME M7copy_from_user28#define LOAD(type,addr,dest) type##a [addr] %asi, dest29#define EX_RETVAL(x) 03031#ifdef __KERNEL__32#define PREAMBLE \33rd %asi, %g1; \34cmp %g1, ASI_AIUS; \35bne,pn %icc, raw_copy_in_user; \36nop37#endif3839#include "M7memcpy.S"404142