1 /// Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
2 /// This program and the accompanying materials
3 /// are licensed and made available under the terms and conditions of the BSD License
4 /// which accompanies this distribution. The full text of the license may be found at
5 /// http://opensource.org/licenses/bsd-license.php
7 /// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
8 /// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 .proc InternalLongJump
22 .type InternalLongJump, @function
25 add r10 = 0x10*20 + 8*14, in0
26 movl r2 = ~((((1 << 14) - 1) << 16) | 3)
28 ld8.nt1 r14 = [r10], -8*2 // BSP, skip PFS
29 mov r15 = ar.bspstore // BSPSTORE
31 ld8.nt1 r17 = [r10], -8 // UNAT after spill
32 mov r16 = ar.rsc // RSC
35 ld8.nt1 r18 = [r10], -8 // UNAT
36 ld8.nt1 r25 = [r10], -8 // b5
39 ldf.fill.nt1 f2 = [in0], 0x10
40 ld8.nt1 r24 = [r10], -8 // b4
44 ld8.nt1 r23 = [r10], -8 // b3
47 ldf.fill.nt1 f3 = [in0], 0x10
49 (p6) br.spnt.many _skip_flushrs
52 mov r15 = ar.bsp // New BSPSTORE
55 mov r31 = ar.rnat // RNAT
58 ldf.fill.nt1 f4 = [in0], 0x10
59 ld8.nt1 r22 = [r10], -8
60 dep r2 = -1, r14, 3, 6
62 ldf.fill.nt1 f5 = [in0], 0x10
63 ld8.nt1 r21 = [r10], -8
66 ld8.nt1 r20 = [r10], -0x10 // skip sp
67 (p6) ld8.nta r31 = [r2]
70 ldf.fill.nt1 f16 = [in0], 0x10
71 ld8.fill.nt1 r7 = [r10], -8
74 ldf.fill.nt1 f17 = [in0], 0x10
75 ld8.fill.nt1 r6 = [r10], -8
78 ldf.fill.nt1 f18 = [in0], 0x10
79 ld8.fill.nt1 r5 = [r10], -8
82 ldf.fill.nt1 f19 = [in0], 0x10
83 ld8.fill.nt1 r4 = [r10], 8*13
85 ldf.fill.nt1 f20 = [in0], 0x10
86 ld8.nt1 r19 = [r10], 0x10 // PFS
88 ldf.fill.nt1 f21 = [in0], 0x10
89 ld8.nt1 r26 = [r10], 8 // Predicate
92 ldf.fill.nt1 f22 = [in0], 0x10
93 ld8.nt1 r27 = [r10], 8 // LC
96 ldf.fill.nt1 f23 = [in0], 0x10
97 ld8.nt1 r28 = [r10], -17*8 - 0x10
100 ldf.fill.nt1 f24 = [in0], 0x10
101 ldf.fill.nt1 f25 = [in0], 0x10
104 ldf.fill.nt1 f26 = [in0], 0x10
105 ldf.fill.nt1 f31 = [r10], -0x10
107 ldf.fill.nt1 f27 = [in0], 0x10
108 ldf.fill.nt1 f30 = [r10], -0x10
110 ldf.fill.nt1 f28 = [in0]
111 ldf.fill.nt1 f29 = [r10], 0x10*3 + 8*4
113 ld8.fill.nt1 sp = [r10]
116 mov ar.bspstore = r14