Commit addc9e1f authored by Adam Kallai's avatar Adam Kallai Committed by Commit Bot

Remove superfluous bit_cast from TurboAssembler::Fmov

Bug: None
Change-Id: I78bb392d78c9ec968a0763dd9767f4b0ceb374a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2157380Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67285}
parent 1c57bca1
...@@ -713,7 +713,7 @@ void TurboAssembler::Fmov(VRegister vd, float imm) { ...@@ -713,7 +713,7 @@ void TurboAssembler::Fmov(VRegister vd, float imm) {
} else { } else {
UseScratchRegisterScope temps(this); UseScratchRegisterScope temps(this);
Register tmp = temps.AcquireW(); Register tmp = temps.AcquireW();
Mov(tmp, bit_cast<uint32_t>(imm)); Mov(tmp, bits);
Fmov(vd, tmp); Fmov(vd, tmp);
} }
} else { } else {
......
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