зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1019831: SIMD x86-x64: Define ScratchSimdRegister and ReturnSimdRegister; r=sunfish
--HG-- extra : rebase_source : 1f4ab09a434863c4a8078cbfde98405f94d83d9f
This commit is contained in:
Родитель
d4fbf1f7ec
Коммит
b6b43c6d43
|
@ -94,8 +94,10 @@ static MOZ_CONSTEXPR_VAR Register FramePointer = InvalidReg;
|
||||||
static MOZ_CONSTEXPR_VAR Register ReturnReg = r0;
|
static MOZ_CONSTEXPR_VAR Register ReturnReg = r0;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ReturnFloat32Reg = { FloatRegisters::d0, VFPRegister::Single };
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnFloat32Reg = { FloatRegisters::d0, VFPRegister::Single };
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = { FloatRegisters::d0, VFPRegister::Double};
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = { FloatRegisters::d0, VFPRegister::Double};
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnSimdReg = InvalidFloatReg;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = { FloatRegisters::d30, VFPRegister::Single };
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = { FloatRegisters::d30, VFPRegister::Single };
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = { FloatRegisters::d15, VFPRegister::Double };
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = { FloatRegisters::d15, VFPRegister::Double };
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchSimdReg = InvalidFloatReg;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchUIntReg = { FloatRegisters::d15, VFPRegister::UInt };
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchUIntReg = { FloatRegisters::d15, VFPRegister::UInt };
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchIntReg = { FloatRegisters::d15, VFPRegister::Int };
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchIntReg = { FloatRegisters::d15, VFPRegister::Int };
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,8 @@ static MOZ_CONSTEXPR_VAR FloatRegister ReturnFloat32Reg = xmm0;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = xmm15;
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = xmm15;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = xmm0;
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = xmm0;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = xmm15;
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = xmm15;
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnSimdReg = xmm0;
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchSimdReg = xmm15;
|
||||||
|
|
||||||
// Avoid rbp, which is the FramePointer, which is unavailable in some modes.
|
// Avoid rbp, which is the FramePointer, which is unavailable in some modes.
|
||||||
static MOZ_CONSTEXPR_VAR Register ArgumentsRectifierReg = r8;
|
static MOZ_CONSTEXPR_VAR Register ArgumentsRectifierReg = r8;
|
||||||
|
|
|
@ -47,6 +47,8 @@ static MOZ_CONSTEXPR_VAR FloatRegister ReturnFloat32Reg = xmm0;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = xmm7;
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchFloat32Reg = xmm7;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = xmm0;
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnDoubleReg = xmm0;
|
||||||
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = xmm7;
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchDoubleReg = xmm7;
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ReturnSimdReg = xmm0;
|
||||||
|
static MOZ_CONSTEXPR_VAR FloatRegister ScratchSimdReg = xmm7;
|
||||||
|
|
||||||
// Avoid ebp, which is the FramePointer, which is unavailable in some modes.
|
// Avoid ebp, which is the FramePointer, which is unavailable in some modes.
|
||||||
static MOZ_CONSTEXPR_VAR Register ArgumentsRectifierReg = esi;
|
static MOZ_CONSTEXPR_VAR Register ArgumentsRectifierReg = esi;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче