#include <limits>
#ifdef V8_ENABLE_MAGLEV
#include "src/execution/simulator.h"
#include "src/maglev/maglev-assembler-inl.h"
#include "src/maglev/maglev-assembler.h"
#include "test/unittests/maglev/maglev-test.h"
namespace v8 {
namespace internal {
namespace maglev {
class MaglevAssemblerTest : public MaglevTest { … };
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32One) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32Zero) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32Large) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32TooLarge) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32Negative) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32NegativeZero) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToUint32NotItegral) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32One) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32MinusOne) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32Zero) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32Large) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32Small) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32NegativeZero) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32NotItegral) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32TooLarge) { … }
TEST_F(MaglevAssemblerTest, TryTruncateDoubleToInt32TooSmall) { … }
}
}
}
#endif