Cosmos/source/XSharp.Compiler/XS.FPU.cs
Matthijs ter Woord 335ed4c0b2 .
2016-06-16 17:25:26 -04:00

39 lines
751 B
C#

using Cosmos.Assembler.x86;
using Cosmos.Assembler.x86.SSE;
using Cosmos.Assembler.x86.x87;
using static XSharp.Compiler.XSRegisters;
namespace XSharp.Compiler
{
public partial class XS
{
public static class FPU
{
public static void FloatCompareAndSet(RegisterFPU register)
{
new FloatCompareAndSet
{
DestinationReg = register.RegEnum
};
}
public static void FloatStoreAndPop(RegisterFPU register)
{
new FloatStoreAndPop
{
DestinationReg = register.RegEnum
};
}
public static void FloatAbs()
{
new FloatABS();
}
public static void FloatInit()
{
new FloatInit();
}
}
}
}