Cosmos/source/XSharp.Compiler/XS.FPU.cs
Matthijs ter Woord ac1f59034d .
2016-06-17 12:58:26 -04:00

44 lines
834 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();
}
public static void FloatNegate()
{
new FloatNegate();
}
}
}
}