]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Renamed
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Oct 2008 05:41:01 +0000 (05:41 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Oct 2008 05:41:01 +0000 (05:41 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6210 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseLib/Ipf/LongJmp.s [new file with mode: 0644]
MdePkg/Library/BaseLib/Ipf/longjmp.s [deleted file]

diff --git a/MdePkg/Library/BaseLib/Ipf/LongJmp.s b/MdePkg/Library/BaseLib/Ipf/LongJmp.s
new file mode 100644 (file)
index 0000000..20a0df1
--- /dev/null
@@ -0,0 +1,121 @@
+/// @file\r
+///  Contains an implementation of longjmp for the Itanium-based architecture.\r
+///\r
+/// Copyright (c) 2006, Intel Corporation\r
+/// All rights reserved. This program and the accompanying materials\r
+/// are licensed and made available under the terms and conditions of the BSD License\r
+/// which accompanies this distribution.  The full text of the license may be found at\r
+/// http://opensource.org/licenses/bsd-license.php\r
+///\r
+/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+///\r
+/// Module Name: longjmp.s\r
+///\r
+///\r
+\r
+.auto\r
+.text\r
+\r
+.proc   InternalLongJump\r
+.type   InternalLongJump, @function\r
+.regstk 2, 0, 0, 0\r
+InternalLongJump::\r
+        add                 r10 = 0x10*20 + 8*14, in0\r
+        movl                r2  = ~((((1 << 14) - 1) << 16) | 3)\r
+\r
+        ld8.nt1             r14 = [r10], -8*2       // BSP, skip PFS\r
+        mov                 r15 = ar.bspstore       // BSPSTORE\r
+\r
+        ld8.nt1             r17 = [r10], -8         // UNAT after spill\r
+        mov                 r16 = ar.rsc            // RSC\r
+        cmp.leu             p6  = r14, r15\r
+\r
+        ld8.nt1             r18 = [r10], -8         // UNAT\r
+        ld8.nt1             r25 = [r10], -8         // b5\r
+        and                 r2  = r16, r2\r
+\r
+        ldf.fill.nt1        f2  = [in0], 0x10\r
+        ld8.nt1             r24 = [r10], -8         // b4\r
+        mov                 b5  = r25\r
+\r
+        mov                 ar.rsc = r2\r
+        ld8.nt1             r23 = [r10], -8         // b3\r
+        mov                 b4  = r24\r
+\r
+        ldf.fill.nt1        f3  = [in0], 0x10\r
+        mov                 ar.unat = r17\r
+(p6)    br.spnt.many        _skip_flushrs\r
+\r
+        flushrs\r
+        mov                 r15 = ar.bsp            // New BSPSTORE\r
+\r
+_skip_flushrs:\r
+        mov                 r31 = ar.rnat           // RNAT\r
+        loadrs\r
+\r
+        ldf.fill.nt1        f4  = [in0], 0x10\r
+        ld8.nt1             r22 = [r10], -8\r
+        dep                 r2  = -1, r14, 3, 6\r
+\r
+        ldf.fill.nt1        f5  = [in0], 0x10\r
+        ld8.nt1             r21 = [r10], -8\r
+        cmp.ltu             p6  = r2, r15\r
+\r
+        ld8.nt1             r20 = [r10], -0x10      // skip sp\r
+(p6)    ld8.nta             r31 = [r2]\r
+        mov                 b3  = r23\r
+\r
+        ldf.fill.nt1        f16 = [in0], 0x10\r
+        ld8.fill.nt1        r7  = [r10], -8\r
+        mov                 b2  = r22\r
+\r
+        ldf.fill.nt1        f17 = [in0], 0x10\r
+        ld8.fill.nt1        r6  = [r10], -8\r
+        mov                 b1  = r21\r
+\r
+        ldf.fill.nt1        f18 = [in0], 0x10\r
+        ld8.fill.nt1        r5  = [r10], -8\r
+        mov                 b0  = r20\r
+\r
+        ldf.fill.nt1        f19 = [in0], 0x10\r
+        ld8.fill.nt1        r4  = [r10], 8*13\r
+\r
+        ldf.fill.nt1        f20 = [in0], 0x10\r
+        ld8.nt1             r19 = [r10], 0x10       // PFS\r
+\r
+        ldf.fill.nt1        f21 = [in0], 0x10\r
+        ld8.nt1             r26 = [r10], 8          // Predicate\r
+        mov                 ar.pfs = r19\r
+\r
+        ldf.fill.nt1        f22 = [in0], 0x10\r
+        ld8.nt1             r27 = [r10], 8          // LC\r
+        mov                 pr  = r26, -1\r
+\r
+        ldf.fill.nt1        f23 = [in0], 0x10\r
+        ld8.nt1             r28 = [r10], -17*8 - 0x10\r
+        mov                 ar.lc = r27\r
+\r
+        ldf.fill.nt1        f24 = [in0], 0x10\r
+        ldf.fill.nt1        f25 = [in0], 0x10\r
+        mov                 r8  = in1\r
+\r
+        ldf.fill.nt1        f26 = [in0], 0x10\r
+        ldf.fill.nt1        f31 = [r10], -0x10\r
+\r
+        ldf.fill.nt1        f27 = [in0], 0x10\r
+        ldf.fill.nt1        f30 = [r10], -0x10\r
+\r
+        ldf.fill.nt1        f28 = [in0]\r
+        ldf.fill.nt1        f29 = [r10], 0x10*3 + 8*4\r
+\r
+        ld8.fill.nt1        sp  = [r10]\r
+        mov                 ar.unat = r18\r
+\r
+        mov                 ar.bspstore = r14\r
+        mov                 ar.rnat = r31\r
+\r
+        invala\r
+        mov                 ar.rsc = r16\r
+        br.ret.sptk         b0\r
+.endp\r
diff --git a/MdePkg/Library/BaseLib/Ipf/longjmp.s b/MdePkg/Library/BaseLib/Ipf/longjmp.s
deleted file mode 100644 (file)
index 20a0df1..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-/// @file\r
-///  Contains an implementation of longjmp for the Itanium-based architecture.\r
-///\r
-/// Copyright (c) 2006, Intel Corporation\r
-/// All rights reserved. This program and the accompanying materials\r
-/// are licensed and made available under the terms and conditions of the BSD License\r
-/// which accompanies this distribution.  The full text of the license may be found at\r
-/// http://opensource.org/licenses/bsd-license.php\r
-///\r
-/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-///\r
-/// Module Name: longjmp.s\r
-///\r
-///\r
-\r
-.auto\r
-.text\r
-\r
-.proc   InternalLongJump\r
-.type   InternalLongJump, @function\r
-.regstk 2, 0, 0, 0\r
-InternalLongJump::\r
-        add                 r10 = 0x10*20 + 8*14, in0\r
-        movl                r2  = ~((((1 << 14) - 1) << 16) | 3)\r
-\r
-        ld8.nt1             r14 = [r10], -8*2       // BSP, skip PFS\r
-        mov                 r15 = ar.bspstore       // BSPSTORE\r
-\r
-        ld8.nt1             r17 = [r10], -8         // UNAT after spill\r
-        mov                 r16 = ar.rsc            // RSC\r
-        cmp.leu             p6  = r14, r15\r
-\r
-        ld8.nt1             r18 = [r10], -8         // UNAT\r
-        ld8.nt1             r25 = [r10], -8         // b5\r
-        and                 r2  = r16, r2\r
-\r
-        ldf.fill.nt1        f2  = [in0], 0x10\r
-        ld8.nt1             r24 = [r10], -8         // b4\r
-        mov                 b5  = r25\r
-\r
-        mov                 ar.rsc = r2\r
-        ld8.nt1             r23 = [r10], -8         // b3\r
-        mov                 b4  = r24\r
-\r
-        ldf.fill.nt1        f3  = [in0], 0x10\r
-        mov                 ar.unat = r17\r
-(p6)    br.spnt.many        _skip_flushrs\r
-\r
-        flushrs\r
-        mov                 r15 = ar.bsp            // New BSPSTORE\r
-\r
-_skip_flushrs:\r
-        mov                 r31 = ar.rnat           // RNAT\r
-        loadrs\r
-\r
-        ldf.fill.nt1        f4  = [in0], 0x10\r
-        ld8.nt1             r22 = [r10], -8\r
-        dep                 r2  = -1, r14, 3, 6\r
-\r
-        ldf.fill.nt1        f5  = [in0], 0x10\r
-        ld8.nt1             r21 = [r10], -8\r
-        cmp.ltu             p6  = r2, r15\r
-\r
-        ld8.nt1             r20 = [r10], -0x10      // skip sp\r
-(p6)    ld8.nta             r31 = [r2]\r
-        mov                 b3  = r23\r
-\r
-        ldf.fill.nt1        f16 = [in0], 0x10\r
-        ld8.fill.nt1        r7  = [r10], -8\r
-        mov                 b2  = r22\r
-\r
-        ldf.fill.nt1        f17 = [in0], 0x10\r
-        ld8.fill.nt1        r6  = [r10], -8\r
-        mov                 b1  = r21\r
-\r
-        ldf.fill.nt1        f18 = [in0], 0x10\r
-        ld8.fill.nt1        r5  = [r10], -8\r
-        mov                 b0  = r20\r
-\r
-        ldf.fill.nt1        f19 = [in0], 0x10\r
-        ld8.fill.nt1        r4  = [r10], 8*13\r
-\r
-        ldf.fill.nt1        f20 = [in0], 0x10\r
-        ld8.nt1             r19 = [r10], 0x10       // PFS\r
-\r
-        ldf.fill.nt1        f21 = [in0], 0x10\r
-        ld8.nt1             r26 = [r10], 8          // Predicate\r
-        mov                 ar.pfs = r19\r
-\r
-        ldf.fill.nt1        f22 = [in0], 0x10\r
-        ld8.nt1             r27 = [r10], 8          // LC\r
-        mov                 pr  = r26, -1\r
-\r
-        ldf.fill.nt1        f23 = [in0], 0x10\r
-        ld8.nt1             r28 = [r10], -17*8 - 0x10\r
-        mov                 ar.lc = r27\r
-\r
-        ldf.fill.nt1        f24 = [in0], 0x10\r
-        ldf.fill.nt1        f25 = [in0], 0x10\r
-        mov                 r8  = in1\r
-\r
-        ldf.fill.nt1        f26 = [in0], 0x10\r
-        ldf.fill.nt1        f31 = [r10], -0x10\r
-\r
-        ldf.fill.nt1        f27 = [in0], 0x10\r
-        ldf.fill.nt1        f30 = [r10], -0x10\r
-\r
-        ldf.fill.nt1        f28 = [in0]\r
-        ldf.fill.nt1        f29 = [r10], 0x10*3 + 8*4\r
-\r
-        ld8.fill.nt1        sp  = [r10]\r
-        mov                 ar.unat = r18\r
-\r
-        mov                 ar.bspstore = r14\r
-        mov                 ar.rnat = r31\r
-\r
-        invala\r
-        mov                 ar.rsc = r16\r
-        br.ret.sptk         b0\r
-.endp\r