DescriptionSubzero: Build a better bitcast.
The x86 lowering of bitcast between integers and floats forced the transfer through a stack slot (the original implementer *cough* *cough* wasn't aware of the movd instruction). This requires excess instructions, but also a store to memory followed immediately by a load from that location is very slow.
This fixes the problem by using the movd instruction instead.
BUG= none
R=jpp@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=a1410df95992d58e06ccdacd62896dd2a7bffb93
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|