QtBase  v6.3.1
Macros | Typedefs | Functions
sljitNativeSPARC_common.c File Reference
#include "sljitNativeSPARC_64.c"
Include dependency graph for sljitNativeSPARC_common.c:

Go to the source code of this file.

Macros

#define TMP_REG1   (SLJIT_NUMBER_OF_REGISTERS + 2)
 
#define TMP_REG2   (SLJIT_NUMBER_OF_REGISTERS + 3)
 
#define TMP_REG3   (SLJIT_NUMBER_OF_REGISTERS + 4)
 
#define TMP_LINK   (SLJIT_NUMBER_OF_REGISTERS + 5)
 
#define TMP_FREG1   (SLJIT_NUMBER_OF_FLOAT_REGISTERS + 1)
 
#define TMP_FREG2   (SLJIT_NUMBER_OF_FLOAT_REGISTERS + 2)
 
#define D(d)   ((sljit_ins)reg_map[d] << 25)
 
#define FD(d)   ((sljit_ins)freg_map[d] << 25)
 
#define FDN(d)   (((sljit_ins)freg_map[d] | 0x1) << 25)
 
#define DA(d)   ((sljit_ins)(d) << 25)
 
#define S1(s1)   ((sljit_ins)reg_map[s1] << 14)
 
#define FS1(s1)   ((sljit_ins)freg_map[s1] << 14)
 
#define S1A(s1)   ((sljit_ins)(s1) << 14)
 
#define S2(s2)   ((sljit_ins)reg_map[s2])
 
#define FS2(s2)   ((sljit_ins)freg_map[s2])
 
#define FS2N(s2)   ((sljit_ins)freg_map[s2] | 0x1)
 
#define S2A(s2)   ((sljit_ins)(s2))
 
#define IMM_ARG   0x2000
 
#define DOP(op)   ((sljit_ins)(op) << 5)
 
#define IMM(imm)   (((sljit_ins)(imm) & 0x1fff) | IMM_ARG)
 
#define DR(dr)   (reg_map[dr])
 
#define DRF(dr, flags)   ((sljit_s32)(reg_map[dr] | ((flags) & SET_FLAGS)))
 
#define OPC1(opcode)   ((sljit_ins)(opcode) << 30)
 
#define OPC2(opcode)   ((sljit_ins)(opcode) << 22)
 
#define OPC3(opcode)   ((sljit_ins)(opcode) << 19)
 
#define SET_FLAGS   OPC3(0x10)
 
#define ADD   (OPC1(0x2) | OPC3(0x00))
 
#define ADDC   (OPC1(0x2) | OPC3(0x08))
 
#define AND   (OPC1(0x2) | OPC3(0x01))
 
#define ANDN   (OPC1(0x2) | OPC3(0x05))
 
#define CALL   (OPC1(0x1))
 
#define FABSS   (OPC1(0x2) | OPC3(0x34) | DOP(0x09))
 
#define FADDD   (OPC1(0x2) | OPC3(0x34) | DOP(0x42))
 
#define FADDS   (OPC1(0x2) | OPC3(0x34) | DOP(0x41))
 
#define FCMPD   (OPC1(0x2) | OPC3(0x35) | DOP(0x52))
 
#define FCMPS   (OPC1(0x2) | OPC3(0x35) | DOP(0x51))
 
#define FDIVD   (OPC1(0x2) | OPC3(0x34) | DOP(0x4e))
 
#define FDIVS   (OPC1(0x2) | OPC3(0x34) | DOP(0x4d))
 
#define FDTOI   (OPC1(0x2) | OPC3(0x34) | DOP(0xd2))
 
#define FDTOS   (OPC1(0x2) | OPC3(0x34) | DOP(0xc6))
 
#define FITOD   (OPC1(0x2) | OPC3(0x34) | DOP(0xc8))
 
#define FITOS   (OPC1(0x2) | OPC3(0x34) | DOP(0xc4))
 
#define FMOVS   (OPC1(0x2) | OPC3(0x34) | DOP(0x01))
 
#define FMULD   (OPC1(0x2) | OPC3(0x34) | DOP(0x4a))
 
#define FMULS   (OPC1(0x2) | OPC3(0x34) | DOP(0x49))
 
#define FNEGS   (OPC1(0x2) | OPC3(0x34) | DOP(0x05))
 
#define FSTOD   (OPC1(0x2) | OPC3(0x34) | DOP(0xc9))
 
#define FSTOI   (OPC1(0x2) | OPC3(0x34) | DOP(0xd1))
 
#define FSUBD   (OPC1(0x2) | OPC3(0x34) | DOP(0x46))
 
#define FSUBS   (OPC1(0x2) | OPC3(0x34) | DOP(0x45))
 
#define JMPL   (OPC1(0x2) | OPC3(0x38))
 
#define LDD   (OPC1(0x3) | OPC3(0x03))
 
#define LDDF   (OPC1(0x3) | OPC3(0x23))
 
#define LDF   (OPC1(0x3) | OPC3(0x20))
 
#define LDUW   (OPC1(0x3) | OPC3(0x00))
 
#define NOP   (OPC1(0x0) | OPC2(0x04))
 
#define OR   (OPC1(0x2) | OPC3(0x02))
 
#define ORN   (OPC1(0x2) | OPC3(0x06))
 
#define RDY   (OPC1(0x2) | OPC3(0x28) | S1A(0))
 
#define RESTORE   (OPC1(0x2) | OPC3(0x3d))
 
#define SAVE   (OPC1(0x2) | OPC3(0x3c))
 
#define SETHI   (OPC1(0x0) | OPC2(0x04))
 
#define SLL   (OPC1(0x2) | OPC3(0x25))
 
#define SLLX   (OPC1(0x2) | OPC3(0x25) | (1 << 12))
 
#define SRA   (OPC1(0x2) | OPC3(0x27))
 
#define SRAX   (OPC1(0x2) | OPC3(0x27) | (1 << 12))
 
#define SRL   (OPC1(0x2) | OPC3(0x26))
 
#define SRLX   (OPC1(0x2) | OPC3(0x26) | (1 << 12))
 
#define STD   (OPC1(0x3) | OPC3(0x07))
 
#define STDF   (OPC1(0x3) | OPC3(0x27))
 
#define STF   (OPC1(0x3) | OPC3(0x24))
 
#define STW   (OPC1(0x3) | OPC3(0x04))
 
#define SUB   (OPC1(0x2) | OPC3(0x04))
 
#define SUBC   (OPC1(0x2) | OPC3(0x0c))
 
#define TA   (OPC1(0x2) | OPC3(0x3a) | (8 << 25))
 
#define WRY   (OPC1(0x2) | OPC3(0x30) | DA(0))
 
#define XOR   (OPC1(0x2) | OPC3(0x03))
 
#define XNOR   (OPC1(0x2) | OPC3(0x07))
 
#define SLL_W   SLLX
 
#define SIMM_MAX   (0x0fff)
 
#define SIMM_MIN   (-0x1000)
 
#define LOAD_DATA   0x01
 
#define WORD_DATA   0x00
 
#define BYTE_DATA   0x02
 
#define HALF_DATA   0x04
 
#define INT_DATA   0x06
 
#define SIGNED_DATA   0x08
 
#define GPR_REG   0x0f
 
#define DOUBLE_DATA   0x10
 
#define SINGLE_DATA   0x12
 
#define MEM_MASK   0x1f
 
#define ARG_TEST   0x00020
 
#define ALT_KEEP_CACHE   0x00040
 
#define CUMULATIVE_OP   0x00080
 
#define IMM_OP   0x00100
 
#define MOVE_OP   0x00200
 
#define SRC2_IMM   0x00400
 
#define REG_DEST   0x00800
 
#define REG2_SOURCE   0x01000
 
#define SLOW_SRC1   0x02000
 
#define SLOW_SRC2   0x04000
 
#define SLOW_DEST   0x08000
 
#define ARCH_32_64(a, b)   b
 
#define FLOAT_DATA(op)   ((sljit_ins)DOUBLE_DATA | (((sljit_ins)(op) & SLJIT_32) >> 7))
 
#define SELECT_FOP(op, single, double)   ((op & SLJIT_32) ? single : double)
 
#define FLOAT_TMP_MEM_OFFSET   (22 * sizeof(sljit_sw))
 

Typedefs

typedef sljit_u32 sljit_ins
 

Functions

SLJIT_API_FUNC_ATTRIBUTE const char * sljit_get_platform_name (void)
 
SLJIT_API_FUNC_ATTRIBUTE voidsljit_generate_code (struct sljit_compiler *compiler)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature (sljit_s32 feature_type)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter (struct sljit_compiler *compiler, sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context (struct sljit_compiler *compiler, sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void (struct sljit_compiler *compiler)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0 (struct sljit_compiler *compiler, sljit_s32 op)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1 (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw dstw, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2 (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw dstw, sljit_s32 src1, sljit_sw src1w, sljit_s32 src2, sljit_sw src2w)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src1, sljit_sw src1w, sljit_s32 src2, sljit_sw src2w)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index (sljit_s32 reg)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index (sljit_s32 reg)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom (struct sljit_compiler *compiler, void *instruction, sljit_u32 size)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1 (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw dstw, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2 (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw dstw, sljit_s32 src1, sljit_sw src1w, sljit_s32 src2, sljit_sw src2w)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter (struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw)
 
SLJIT_API_FUNC_ATTRIBUTE struct sljit_labelsljit_emit_label (struct sljit_compiler *compiler)
 
SLJIT_API_FUNC_ATTRIBUTE struct sljit_jumpsljit_emit_jump (struct sljit_compiler *compiler, sljit_s32 type)
 
SLJIT_API_FUNC_ATTRIBUTE struct sljit_jumpsljit_emit_call (struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 arg_types)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump (struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall (struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 arg_types, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags (struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw dstw, sljit_s32 type)
 
SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov (struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 dst_reg, sljit_s32 src, sljit_sw srcw)
 
SLJIT_API_FUNC_ATTRIBUTE struct sljit_constsljit_emit_const (struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)
 
SLJIT_API_FUNC_ATTRIBUTE struct sljit_put_labelsljit_emit_put_label (struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw)
 

Macro Definition Documentation

◆ ADD

#define ADD   (OPC1(0x2) | OPC3(0x00))

Definition at line 134 of file sljitNativeSPARC_common.c.

◆ ADDC

#define ADDC   (OPC1(0x2) | OPC3(0x08))

Definition at line 135 of file sljitNativeSPARC_common.c.

◆ ALT_KEEP_CACHE

#define ALT_KEEP_CACHE   0x00040

Definition at line 491 of file sljitNativeSPARC_common.c.

◆ AND

#define AND   (OPC1(0x2) | OPC3(0x01))

Definition at line 136 of file sljitNativeSPARC_common.c.

◆ ANDN

#define ANDN   (OPC1(0x2) | OPC3(0x05))

Definition at line 137 of file sljitNativeSPARC_common.c.

◆ ARCH_32_64

#define ARCH_32_64 (   a,
  b 
)    b

Definition at line 662 of file sljitNativeSPARC_common.c.

◆ ARG_TEST

#define ARG_TEST   0x00020

Definition at line 490 of file sljitNativeSPARC_common.c.

◆ BYTE_DATA

#define BYTE_DATA   0x02

Definition at line 479 of file sljitNativeSPARC_common.c.

◆ CALL

#define CALL   (OPC1(0x1))

Definition at line 138 of file sljitNativeSPARC_common.c.

◆ CUMULATIVE_OP

#define CUMULATIVE_OP   0x00080

Definition at line 492 of file sljitNativeSPARC_common.c.

◆ D

#define D (   d)    ((sljit_ins)reg_map[d] << 25)

Definition at line 112 of file sljitNativeSPARC_common.c.

◆ DA

#define DA (   d)    ((sljit_ins)(d) << 25)

Definition at line 115 of file sljitNativeSPARC_common.c.

◆ DOP

#define DOP (   op)    ((sljit_ins)(op) << 5)

Definition at line 124 of file sljitNativeSPARC_common.c.

◆ DOUBLE_DATA

#define DOUBLE_DATA   0x10

Definition at line 485 of file sljitNativeSPARC_common.c.

◆ DR

#define DR (   dr)    (reg_map[dr])

Definition at line 127 of file sljitNativeSPARC_common.c.

◆ DRF

#define DRF (   dr,
  flags 
)    ((sljit_s32)(reg_map[dr] | ((flags) & SET_FLAGS)))

Definition at line 128 of file sljitNativeSPARC_common.c.

◆ FABSS

#define FABSS   (OPC1(0x2) | OPC3(0x34) | DOP(0x09))

Definition at line 139 of file sljitNativeSPARC_common.c.

◆ FADDD

#define FADDD   (OPC1(0x2) | OPC3(0x34) | DOP(0x42))

Definition at line 140 of file sljitNativeSPARC_common.c.

◆ FADDS

#define FADDS   (OPC1(0x2) | OPC3(0x34) | DOP(0x41))

Definition at line 141 of file sljitNativeSPARC_common.c.

◆ FCMPD

#define FCMPD   (OPC1(0x2) | OPC3(0x35) | DOP(0x52))

Definition at line 142 of file sljitNativeSPARC_common.c.

◆ FCMPS

#define FCMPS   (OPC1(0x2) | OPC3(0x35) | DOP(0x51))

Definition at line 143 of file sljitNativeSPARC_common.c.

◆ FD

#define FD (   d)    ((sljit_ins)freg_map[d] << 25)

Definition at line 113 of file sljitNativeSPARC_common.c.

◆ FDIVD

#define FDIVD   (OPC1(0x2) | OPC3(0x34) | DOP(0x4e))

Definition at line 144 of file sljitNativeSPARC_common.c.

◆ FDIVS

#define FDIVS   (OPC1(0x2) | OPC3(0x34) | DOP(0x4d))

Definition at line 145 of file sljitNativeSPARC_common.c.

◆ FDN

#define FDN (   d)    (((sljit_ins)freg_map[d] | 0x1) << 25)

Definition at line 114 of file sljitNativeSPARC_common.c.

◆ FDTOI

#define FDTOI   (OPC1(0x2) | OPC3(0x34) | DOP(0xd2))

Definition at line 146 of file sljitNativeSPARC_common.c.

◆ FDTOS

#define FDTOS   (OPC1(0x2) | OPC3(0x34) | DOP(0xc6))

Definition at line 147 of file sljitNativeSPARC_common.c.

◆ FITOD

#define FITOD   (OPC1(0x2) | OPC3(0x34) | DOP(0xc8))

Definition at line 148 of file sljitNativeSPARC_common.c.

◆ FITOS

#define FITOS   (OPC1(0x2) | OPC3(0x34) | DOP(0xc4))

Definition at line 149 of file sljitNativeSPARC_common.c.

◆ FLOAT_DATA

#define FLOAT_DATA (   op)    ((sljit_ins)DOUBLE_DATA | (((sljit_ins)(op) & SLJIT_32) >> 7))

Definition at line 1140 of file sljitNativeSPARC_common.c.

◆ FLOAT_TMP_MEM_OFFSET

#define FLOAT_TMP_MEM_OFFSET   (22 * sizeof(sljit_sw))

Definition at line 1142 of file sljitNativeSPARC_common.c.

◆ FMOVS

#define FMOVS   (OPC1(0x2) | OPC3(0x34) | DOP(0x01))

Definition at line 150 of file sljitNativeSPARC_common.c.

◆ FMULD

#define FMULD   (OPC1(0x2) | OPC3(0x34) | DOP(0x4a))

Definition at line 151 of file sljitNativeSPARC_common.c.

◆ FMULS

#define FMULS   (OPC1(0x2) | OPC3(0x34) | DOP(0x49))

Definition at line 152 of file sljitNativeSPARC_common.c.

◆ FNEGS

#define FNEGS   (OPC1(0x2) | OPC3(0x34) | DOP(0x05))

Definition at line 153 of file sljitNativeSPARC_common.c.

◆ FS1

#define FS1 (   s1)    ((sljit_ins)freg_map[s1] << 14)

Definition at line 117 of file sljitNativeSPARC_common.c.

◆ FS2

#define FS2 (   s2)    ((sljit_ins)freg_map[s2])

Definition at line 120 of file sljitNativeSPARC_common.c.

◆ FS2N

#define FS2N (   s2)    ((sljit_ins)freg_map[s2] | 0x1)

Definition at line 121 of file sljitNativeSPARC_common.c.

◆ FSTOD

#define FSTOD   (OPC1(0x2) | OPC3(0x34) | DOP(0xc9))

Definition at line 154 of file sljitNativeSPARC_common.c.

◆ FSTOI

#define FSTOI   (OPC1(0x2) | OPC3(0x34) | DOP(0xd1))

Definition at line 155 of file sljitNativeSPARC_common.c.

◆ FSUBD

#define FSUBD   (OPC1(0x2) | OPC3(0x34) | DOP(0x46))

Definition at line 156 of file sljitNativeSPARC_common.c.

◆ FSUBS

#define FSUBS   (OPC1(0x2) | OPC3(0x34) | DOP(0x45))

Definition at line 157 of file sljitNativeSPARC_common.c.

◆ GPR_REG

#define GPR_REG   0x0f

Definition at line 484 of file sljitNativeSPARC_common.c.

◆ HALF_DATA

#define HALF_DATA   0x04

Definition at line 480 of file sljitNativeSPARC_common.c.

◆ IMM

#define IMM (   imm)    (((sljit_ins)(imm) & 0x1fff) | IMM_ARG)

Definition at line 125 of file sljitNativeSPARC_common.c.

◆ IMM_ARG

#define IMM_ARG   0x2000

Definition at line 123 of file sljitNativeSPARC_common.c.

◆ IMM_OP

#define IMM_OP   0x00100

Definition at line 493 of file sljitNativeSPARC_common.c.

◆ INT_DATA

#define INT_DATA   0x06

Definition at line 481 of file sljitNativeSPARC_common.c.

◆ JMPL

#define JMPL   (OPC1(0x2) | OPC3(0x38))

Definition at line 158 of file sljitNativeSPARC_common.c.

◆ LDD

#define LDD   (OPC1(0x3) | OPC3(0x03))

Definition at line 159 of file sljitNativeSPARC_common.c.

◆ LDDF

#define LDDF   (OPC1(0x3) | OPC3(0x23))

Definition at line 160 of file sljitNativeSPARC_common.c.

◆ LDF

#define LDF   (OPC1(0x3) | OPC3(0x20))

Definition at line 161 of file sljitNativeSPARC_common.c.

◆ LDUW

#define LDUW   (OPC1(0x3) | OPC3(0x00))

Definition at line 162 of file sljitNativeSPARC_common.c.

◆ LOAD_DATA

#define LOAD_DATA   0x01

Definition at line 477 of file sljitNativeSPARC_common.c.

◆ MEM_MASK

#define MEM_MASK   0x1f

Definition at line 488 of file sljitNativeSPARC_common.c.

◆ MOVE_OP

#define MOVE_OP   0x00200

Definition at line 494 of file sljitNativeSPARC_common.c.

◆ NOP

#define NOP   (OPC1(0x0) | OPC2(0x04))

Definition at line 163 of file sljitNativeSPARC_common.c.

◆ OPC1

#define OPC1 (   opcode)    ((sljit_ins)(opcode) << 30)

Definition at line 129 of file sljitNativeSPARC_common.c.

◆ OPC2

#define OPC2 (   opcode)    ((sljit_ins)(opcode) << 22)

Definition at line 130 of file sljitNativeSPARC_common.c.

◆ OPC3

#define OPC3 (   opcode)    ((sljit_ins)(opcode) << 19)

Definition at line 131 of file sljitNativeSPARC_common.c.

◆ OR

#define OR   (OPC1(0x2) | OPC3(0x02))

Definition at line 164 of file sljitNativeSPARC_common.c.

◆ ORN

#define ORN   (OPC1(0x2) | OPC3(0x06))

Definition at line 165 of file sljitNativeSPARC_common.c.

◆ RDY

#define RDY   (OPC1(0x2) | OPC3(0x28) | S1A(0))

Definition at line 166 of file sljitNativeSPARC_common.c.

◆ REG2_SOURCE

#define REG2_SOURCE   0x01000

Definition at line 498 of file sljitNativeSPARC_common.c.

◆ REG_DEST

#define REG_DEST   0x00800

Definition at line 497 of file sljitNativeSPARC_common.c.

◆ RESTORE

#define RESTORE   (OPC1(0x2) | OPC3(0x3d))

Definition at line 167 of file sljitNativeSPARC_common.c.

◆ S1

#define S1 (   s1)    ((sljit_ins)reg_map[s1] << 14)

Definition at line 116 of file sljitNativeSPARC_common.c.

◆ S1A

#define S1A (   s1)    ((sljit_ins)(s1) << 14)

Definition at line 118 of file sljitNativeSPARC_common.c.

◆ S2

#define S2 (   s2)    ((sljit_ins)reg_map[s2])

Definition at line 119 of file sljitNativeSPARC_common.c.

◆ S2A

#define S2A (   s2)    ((sljit_ins)(s2))

Definition at line 122 of file sljitNativeSPARC_common.c.

◆ SAVE

#define SAVE   (OPC1(0x2) | OPC3(0x3c))

Definition at line 168 of file sljitNativeSPARC_common.c.

◆ SELECT_FOP

#define SELECT_FOP (   op,
  single,
  double 
)    ((op & SLJIT_32) ? single : double)

Definition at line 1141 of file sljitNativeSPARC_common.c.

◆ SET_FLAGS

#define SET_FLAGS   OPC3(0x10)

Definition at line 132 of file sljitNativeSPARC_common.c.

◆ SETHI

#define SETHI   (OPC1(0x0) | OPC2(0x04))

Definition at line 169 of file sljitNativeSPARC_common.c.

◆ SIGNED_DATA

#define SIGNED_DATA   0x08

Definition at line 482 of file sljitNativeSPARC_common.c.

◆ SIMM_MAX

#define SIMM_MAX   (0x0fff)

Definition at line 203 of file sljitNativeSPARC_common.c.

◆ SIMM_MIN

#define SIMM_MIN   (-0x1000)

Definition at line 204 of file sljitNativeSPARC_common.c.

◆ SINGLE_DATA

#define SINGLE_DATA   0x12

Definition at line 486 of file sljitNativeSPARC_common.c.

◆ SLL

#define SLL   (OPC1(0x2) | OPC3(0x25))

Definition at line 170 of file sljitNativeSPARC_common.c.

◆ SLL_W

#define SLL_W   SLLX

Definition at line 200 of file sljitNativeSPARC_common.c.

◆ SLLX

#define SLLX   (OPC1(0x2) | OPC3(0x25) | (1 << 12))

Definition at line 171 of file sljitNativeSPARC_common.c.

◆ SLOW_DEST

#define SLOW_DEST   0x08000

Definition at line 501 of file sljitNativeSPARC_common.c.

◆ SLOW_SRC1

#define SLOW_SRC1   0x02000

Definition at line 499 of file sljitNativeSPARC_common.c.

◆ SLOW_SRC2

#define SLOW_SRC2   0x04000

Definition at line 500 of file sljitNativeSPARC_common.c.

◆ SRA

#define SRA   (OPC1(0x2) | OPC3(0x27))

Definition at line 172 of file sljitNativeSPARC_common.c.

◆ SRAX

#define SRAX   (OPC1(0x2) | OPC3(0x27) | (1 << 12))

Definition at line 173 of file sljitNativeSPARC_common.c.

◆ SRC2_IMM

#define SRC2_IMM   0x00400

Definition at line 495 of file sljitNativeSPARC_common.c.

◆ SRL

#define SRL   (OPC1(0x2) | OPC3(0x26))

Definition at line 174 of file sljitNativeSPARC_common.c.

◆ SRLX

#define SRLX   (OPC1(0x2) | OPC3(0x26) | (1 << 12))

Definition at line 175 of file sljitNativeSPARC_common.c.

◆ STD

#define STD   (OPC1(0x3) | OPC3(0x07))

Definition at line 176 of file sljitNativeSPARC_common.c.

◆ STDF

#define STDF   (OPC1(0x3) | OPC3(0x27))

Definition at line 177 of file sljitNativeSPARC_common.c.

◆ STF

#define STF   (OPC1(0x3) | OPC3(0x24))

Definition at line 178 of file sljitNativeSPARC_common.c.

◆ STW

#define STW   (OPC1(0x3) | OPC3(0x04))

Definition at line 179 of file sljitNativeSPARC_common.c.

◆ SUB

#define SUB   (OPC1(0x2) | OPC3(0x04))

Definition at line 180 of file sljitNativeSPARC_common.c.

◆ SUBC

#define SUBC   (OPC1(0x2) | OPC3(0x0c))

Definition at line 181 of file sljitNativeSPARC_common.c.

◆ TA

#define TA   (OPC1(0x2) | OPC3(0x3a) | (8 << 25))

Definition at line 182 of file sljitNativeSPARC_common.c.

◆ TMP_FREG1

#define TMP_FREG1   (SLJIT_NUMBER_OF_FLOAT_REGISTERS + 1)

Definition at line 97 of file sljitNativeSPARC_common.c.

◆ TMP_FREG2

#define TMP_FREG2   (SLJIT_NUMBER_OF_FLOAT_REGISTERS + 2)

Definition at line 98 of file sljitNativeSPARC_common.c.

◆ TMP_LINK

#define TMP_LINK   (SLJIT_NUMBER_OF_REGISTERS + 5)

Definition at line 95 of file sljitNativeSPARC_common.c.

◆ TMP_REG1

#define TMP_REG1   (SLJIT_NUMBER_OF_REGISTERS + 2)

Definition at line 90 of file sljitNativeSPARC_common.c.

◆ TMP_REG2

#define TMP_REG2   (SLJIT_NUMBER_OF_REGISTERS + 3)

Definition at line 91 of file sljitNativeSPARC_common.c.

◆ TMP_REG3

#define TMP_REG3   (SLJIT_NUMBER_OF_REGISTERS + 4)

Definition at line 92 of file sljitNativeSPARC_common.c.

◆ WORD_DATA

#define WORD_DATA   0x00

Definition at line 478 of file sljitNativeSPARC_common.c.

◆ WRY

#define WRY   (OPC1(0x2) | OPC3(0x30) | DA(0))

Definition at line 183 of file sljitNativeSPARC_common.c.

◆ XNOR

#define XNOR   (OPC1(0x2) | OPC3(0x07))

Definition at line 185 of file sljitNativeSPARC_common.c.

◆ XOR

#define XOR   (OPC1(0x2) | OPC3(0x03))

Definition at line 184 of file sljitNativeSPARC_common.c.

Typedef Documentation

◆ sljit_ins

Definition at line 34 of file sljitNativeSPARC_common.c.

Function Documentation

◆ sljit_emit_call()

SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call ( struct sljit_compiler compiler,
sljit_s32  type,
sljit_s32  arg_types 
)

Definition at line 1498 of file sljitNativeSPARC_common.c.

◆ sljit_emit_cmov()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov ( struct sljit_compiler compiler,
sljit_s32  type,
sljit_s32  dst_reg,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 1619 of file sljitNativeSPARC_common.c.

◆ sljit_emit_const()

SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const ( struct sljit_compiler compiler,
sljit_s32  dst,
sljit_sw  dstw,
sljit_sw  init_value 
)

Definition at line 1633 of file sljitNativeSPARC_common.c.

Here is the call graph for this function:

◆ sljit_emit_enter()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter ( struct sljit_compiler compiler,
sljit_s32  options,
sljit_s32  arg_types,
sljit_s32  scratches,
sljit_s32  saveds,
sljit_s32  fscratches,
sljit_s32  fsaveds,
sljit_s32  local_size 
)

Definition at line 511 of file sljitNativeSPARC_common.c.

◆ sljit_emit_fast_enter()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter ( struct sljit_compiler compiler,
sljit_s32  dst,
sljit_sw  dstw 
)

Definition at line 1352 of file sljitNativeSPARC_common.c.

◆ sljit_emit_fop1()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1 ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  dst,
sljit_sw  dstw,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 1211 of file sljitNativeSPARC_common.c.

◆ sljit_emit_fop2()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2 ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  dst,
sljit_sw  dstw,
sljit_s32  src1,
sljit_sw  src1w,
sljit_s32  src2,
sljit_sw  src2w 
)

Definition at line 1267 of file sljitNativeSPARC_common.c.

◆ sljit_emit_icall()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall ( struct sljit_compiler compiler,
sljit_s32  type,
sljit_s32  arg_types,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 1550 of file sljitNativeSPARC_common.c.

◆ sljit_emit_ijump()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump ( struct sljit_compiler compiler,
sljit_s32  type,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 1514 of file sljitNativeSPARC_common.c.

◆ sljit_emit_jump()

SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump ( struct sljit_compiler compiler,
sljit_s32  type 
)

Definition at line 1451 of file sljitNativeSPARC_common.c.

◆ sljit_emit_label()

SLJIT_API_FUNC_ATTRIBUTE struct sljit_label* sljit_emit_label ( struct sljit_compiler compiler)

Definition at line 1371 of file sljitNativeSPARC_common.c.

◆ sljit_emit_op0()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0 ( struct sljit_compiler compiler,
sljit_s32  op 
)

Definition at line 941 of file sljitNativeSPARC_common.c.

◆ sljit_emit_op1()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1 ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  dst,
sljit_sw  dstw,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 990 of file sljitNativeSPARC_common.c.

◆ sljit_emit_op2()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2 ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  dst,
sljit_sw  dstw,
sljit_s32  src1,
sljit_sw  src1w,
sljit_s32  src2,
sljit_sw  src2w 
)

Definition at line 1032 of file sljitNativeSPARC_common.c.

Here is the caller graph for this function:

◆ sljit_emit_op2u()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  src1,
sljit_sw  src1w,
sljit_s32  src2,
sljit_sw  src2w 
)

Definition at line 1074 of file sljitNativeSPARC_common.c.

Here is the call graph for this function:

◆ sljit_emit_op_custom()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom ( struct sljit_compiler compiler,
void instruction,
sljit_u32  size 
)

Definition at line 1127 of file sljitNativeSPARC_common.c.

◆ sljit_emit_op_flags()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  dst,
sljit_sw  dstw,
sljit_s32  type 
)

Definition at line 1573 of file sljitNativeSPARC_common.c.

◆ sljit_emit_op_src()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 1088 of file sljitNativeSPARC_common.c.

◆ sljit_emit_put_label()

SLJIT_API_FUNC_ATTRIBUTE struct sljit_put_label* sljit_emit_put_label ( struct sljit_compiler compiler,
sljit_s32  dst,
sljit_sw  dstw 
)

Definition at line 1654 of file sljitNativeSPARC_common.c.

◆ sljit_emit_return()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return ( struct sljit_compiler compiler,
sljit_s32  op,
sljit_s32  src,
sljit_sw  srcw 
)

Definition at line 641 of file sljitNativeSPARC_common.c.

◆ sljit_emit_return_void()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void ( struct sljit_compiler compiler)

Definition at line 632 of file sljitNativeSPARC_common.c.

◆ sljit_generate_code()

SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code ( struct sljit_compiler compiler)

Definition at line 297 of file sljitNativeSPARC_common.c.

◆ sljit_get_float_register_index()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index ( sljit_s32  reg)

Definition at line 1121 of file sljitNativeSPARC_common.c.

◆ sljit_get_platform_name()

SLJIT_API_FUNC_ATTRIBUTE const char* sljit_get_platform_name ( void  )

Definition at line 27 of file sljitNativeSPARC_common.c.

◆ sljit_get_register_index()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index ( sljit_s32  reg)

Definition at line 1115 of file sljitNativeSPARC_common.c.

◆ sljit_has_cpu_feature()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature ( sljit_s32  feature_type)

Definition at line 448 of file sljitNativeSPARC_common.c.

◆ sljit_set_context()

SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context ( struct sljit_compiler compiler,
sljit_s32  options,
sljit_s32  arg_types,
sljit_s32  scratches,
sljit_s32  saveds,
sljit_s32  fscratches,
sljit_s32  fsaveds,
sljit_s32  local_size 
)

Definition at line 620 of file sljitNativeSPARC_common.c.