ARM: Change signature for vmov.32 function in the assembler
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 14 Feb 2013 12:28:02 +0000 (12:28 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 14 Feb 2013 12:28:02 +0000 (12:28 +0000)
commit250ebdc2be89666c910747d9546fa0fee3a78600
treec0ba88e7f8b8596bff6b0f12fe8ea13a629933fd
parent3d81dec91d2f63ad1b2b518c641b516e2cd17235
ARM: Change signature for vmov.32 function in the assembler

The assembler has 8 different vmov variants. The one for vmov.32 and for moving
an immediate into a double reg only differs in the type of the second
paremeter: vmov.32 takes an int, the other takes a double.

The situation is dangerous because C++ will happily implicitly convert between
int and double.

This patch changes the signature of the vmov.32 assembler function so that it
cannot be confused with the other vmovs.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/12255031
Patch from Hans Wennborg <hans@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/assembler-arm.cc
src/arm/assembler-arm.h
test/cctest/test-assembler-arm.cc
test/cctest/test-disasm-arm.cc