VISsave.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) VISsave.S (d3867f0483103b8ff7edfdea3ef1981c03d96891)
1/*
2 * VISsave.S: Code for saving FPU register state for
3 * VIS routines. One should not call this directly,
4 * but use macros provided in <asm/visasm.h>.
5 *
6 * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
7 */
8
9#include <linux/linkage.h>
10
11#include <asm/asi.h>
12#include <asm/page.h>
13#include <asm/ptrace.h>
14#include <asm/visasm.h>
15#include <asm/thread_info.h>
1/*
2 * VISsave.S: Code for saving FPU register state for
3 * VIS routines. One should not call this directly,
4 * but use macros provided in <asm/visasm.h>.
5 *
6 * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
7 */
8
9#include <linux/linkage.h>
10
11#include <asm/asi.h>
12#include <asm/page.h>
13#include <asm/ptrace.h>
14#include <asm/visasm.h>
15#include <asm/thread_info.h>
16#include <asm/export.h>
16
17 /* On entry: %o5=current FPRS value, %g7 is callers address */
18 /* May clobber %o5, %g1, %g2, %g3, %g7, %icc, %xcc */
19
20 /* Nothing special need be done here to handle pre-emption, this
21 * FPU save/restore mechanism is already preemption safe.
22 */
23 .text

--- 50 unchanged lines hidden (view full) ---

745: membar #Sync
75 ba,pt %xcc, 80f
76 nop
77
78 .align 32
7980: jmpl %g7 + %g0, %g0
80 nop
81ENDPROC(VISenter)
17
18 /* On entry: %o5=current FPRS value, %g7 is callers address */
19 /* May clobber %o5, %g1, %g2, %g3, %g7, %icc, %xcc */
20
21 /* Nothing special need be done here to handle pre-emption, this
22 * FPU save/restore mechanism is already preemption safe.
23 */
24 .text

--- 50 unchanged lines hidden (view full) ---

755: membar #Sync
76 ba,pt %xcc, 80f
77 nop
78
79 .align 32
8080: jmpl %g7 + %g0, %g0
81 nop
82ENDPROC(VISenter)
83EXPORT_SYMBOL(VISenter)