/* insl_ns.S: input array of 4b words from device port without byte swapping1*2* Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* as published by the Free Software Foundation; either version8* 2 of the License, or (at your option) any later version.9*/101112.text13.p2align 41415###############################################################################16#17# void __insl_ns(unsigned int port, void *buf, int n)18#19###############################################################################20.globl __insl_ns21.type __insl_ns,@function22__insl_ns:23andicc.p gr9,#3,gr0,icc024setlos #4,gr425bne icc0,#0,__insl_ns_misaligned26subi gr9,#4,gr9270:28ldi.p @(gr8,#0),gr529subicc gr10,#1,gr10,icc030stu.p gr5,@(gr9,gr4)31bhi icc0,#2,0b32bralr3334__insl_ns_misaligned:35subi.p gr9,#1,gr936setlos #1,gr4370:38ldi @(gr8,#0),gr53940srli gr5,#24,gr641stbu.p gr6,@(gr9,gr4)42srli gr5,#16,gr643stbu.p gr6,@(gr9,gr4)44srli gr5,#8,gr645stbu.p gr6,@(gr9,gr4)46subicc gr10,#1,gr10,icc047stbu.p gr5,@(gr9,gr4)48bhi icc0,#2,0b49bralr5051.size __insl_ns, .-__insl_ns525354