Commit 97c357aa authored by ahaas's avatar ahaas Committed by Commit bot

[x64] Regression test for https://codereview.chromium.org/1877133004

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/1919263002

Cr-Commit-Position: refs/heads/master@{#35807}
parent c4706658
......@@ -5393,6 +5393,12 @@ TEST(RunTruncateFloat64ToWord32P) {
}
}
TEST(RunTruncateFloat64ToWord32SignExtension) {
BufferedRawMachineAssemblerTester<int32_t> r;
r.Return(r.Int32Sub(r.TruncateFloat64ToWord32(r.Float64Constant(-1.0)),
r.Int32Constant(0)));
CHECK_EQ(-1, r.Call());
}
TEST(RunChangeFloat32ToFloat64) {
BufferedRawMachineAssemblerTester<double> m(MachineType::Float32());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment