mirror of
https://github.com/OpenMathLib/OpenBLAS
synced 2026-05-31 00:45:48 +08:00
Fix build on FreeBSD/powerpc64.
Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
@@ -499,7 +499,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
|
||||
|
||||
#if defined(ASSEMBLER) && !defined(NEEDPARAM)
|
||||
|
||||
#ifdef OS_LINUX
|
||||
#if defined(OS_LINUX) || defined(OS_FREEBSD)
|
||||
#ifndef __64BIT__
|
||||
#define PROLOGUE \
|
||||
.section .text;\
|
||||
@@ -784,7 +784,7 @@ Lmcount$lazy_ptr:
|
||||
|
||||
#define HALT mfspr r0, 1023
|
||||
|
||||
#ifdef OS_LINUX
|
||||
#if defined(OS_LINUX) || defined(OS_FREEBSD)
|
||||
#if defined(PPC440) || defined(PPC440FP2)
|
||||
#undef MAX_CPU_NUMBER
|
||||
#define MAX_CPU_NUMBER 1
|
||||
@@ -829,7 +829,7 @@ Lmcount$lazy_ptr:
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
||||
#ifdef OS_LINUX
|
||||
#if defined(OS_LINUX) || defined(OS_FREEBSD)
|
||||
#ifndef __64BIT__
|
||||
#define FRAMESLOT(X) (((X) * 4) + 8)
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
|
||||
@@ -97,7 +97,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -265,7 +265,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
stfs f2, ALPHA_I_SP
|
||||
// stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
@@ -286,7 +286,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -264,7 +264,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
stfs f2, ALPHA_I_SP
|
||||
// stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -285,7 +285,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -271,7 +271,7 @@ li r11,0
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -269,7 +269,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -217,7 +217,7 @@ li r11,0
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
stfd f31, 16(SP)
|
||||
stw r0, 24(SP)
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -186,7 +186,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -192,7 +192,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
li PREC, 4 * SIZE
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -184,7 +184,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -187,7 +187,7 @@
|
||||
li PREC, 4 * SIZE
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -183,7 +183,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -183,7 +183,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -252,7 +252,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -199,7 +199,7 @@
|
||||
stw r23, 180(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -260,7 +260,7 @@
|
||||
stw r29, 220(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -190,7 +190,7 @@
|
||||
stw r22, 192(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -224,7 +224,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz LDA, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#define XX r4
|
||||
#define PREA r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define X r6
|
||||
#define INCX r7
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#define XX r4
|
||||
#define PRE r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define X r6
|
||||
#define INCX r7
|
||||
|
||||
@@ -95,7 +95,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -273,7 +273,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
slwi LDC, LDC, 2
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -271,7 +271,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -248,7 +248,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz BUFFER, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define IS r4
|
||||
@@ -247,7 +247,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz BUFFER, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -257,7 +257,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
li PREC, -4 * SIZE
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -257,7 +257,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
li PREC, -4 * SIZE
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -179,7 +179,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -179,7 +179,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -191,7 +191,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -191,7 +191,7 @@
|
||||
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
@@ -123,7 +123,7 @@
|
||||
stfd f24, 80(SP)
|
||||
stfd f25, 88(SP)
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
@@ -112,7 +112,7 @@
|
||||
stfd f24, 80(SP)
|
||||
stfd f25, 88(SP)
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
stfd f31, 8(SP)
|
||||
stw r0, 16(SP)
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -169,7 +169,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -190,7 +190,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -132,7 +132,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -296,7 +296,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
stfd f2, ALPHA_I_SP
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
@@ -317,7 +317,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -238,7 +238,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -264,7 +264,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREB, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -244,7 +244,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -270,7 +270,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREB, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -238,7 +238,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -175,7 +175,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -196,7 +196,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
li PREA, 16 * 12 * SIZE
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -185,7 +185,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -206,7 +206,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -161,7 +161,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -202,7 +202,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -199,7 +199,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -220,7 +220,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -147,13 +147,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
std r0, FLINK_SAVE(SP)
|
||||
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
ld LDC, FRAMESLOT(0) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + 0(FRAMEPOINTER)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -182,7 +182,7 @@
|
||||
stfd f2, ALPHA_I
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -203,7 +203,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -250,7 +250,7 @@
|
||||
stw r22, 176(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -223,7 +223,7 @@
|
||||
stw r22, 176(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#define STACKSIZE 304
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -226,7 +226,7 @@
|
||||
stw r0, 4 + FZERO
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#define STACKSIZE 304
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -179,7 +179,7 @@
|
||||
stw r0, 4 + FZERO
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -235,7 +235,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz LDA, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#define XX r4
|
||||
#define PREA r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define X r6
|
||||
#define INCX r7
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#define XX r4
|
||||
#define PRE r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define X r6
|
||||
#define INCX r7
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define N r3
|
||||
#define X r6
|
||||
@@ -117,7 +117,7 @@
|
||||
stfd f30, 128(SP)
|
||||
stfd f31, 136(SP)
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld INCY, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define N r4
|
||||
@@ -259,7 +259,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz BUFFER, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define ASSEMBLER
|
||||
#include "common.h"
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define M r3
|
||||
#define IS r4
|
||||
@@ -256,7 +256,7 @@
|
||||
stw r27, 196(SP)
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz BUFFER, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#else
|
||||
|
||||
@@ -98,7 +98,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -259,7 +259,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
stfd f2, ALPHA_I_SP
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -280,7 +280,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#endif
|
||||
|
||||
#ifdef TRMMKERNEL
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -186,7 +186,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -186,7 +186,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -186,7 +186,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
#endif
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -192,7 +192,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -192,7 +192,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -246,7 +246,7 @@
|
||||
li PREA, 16 * 12 * SIZE
|
||||
#else
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
lwz PREA, FRAMESLOT(2) + STACKSIZE(SP)
|
||||
lwz PREC, FRAMESLOT(3) + STACKSIZE(SP)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -192,7 +192,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#define A r6
|
||||
#define B r7
|
||||
#define C r8
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -204,7 +204,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -204,7 +204,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -204,7 +204,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -197,7 +197,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -197,7 +197,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
stw r0, FZERO
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifdef __64BIT__
|
||||
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
@@ -197,7 +197,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user