UNREG: PprC: Add support for adjacent floats

Authored by jrtc27 on Nov 7 2018, 1:52 PM.



When two 32-bit floats are adjacent for a 64-bit target, there is no
padding between them to force alignment, so we must combine their bit
representations into a single word.

Diff Detail

rGHC Glasgow Haskell Compiler
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
jrtc27 created this revision.Nov 7 2018, 1:52 PM
simonmar accepted this revision.Nov 9 2018, 2:10 AM

I think we'll need to do something much more general than this in the future when we have a mixture of Int8#, Int16#, etc. fields that need to be packed into words. Happy to go with this for now though.

This revision is now accepted and ready to land.Nov 9 2018, 2:10 AM
This revision was automatically updated to reflect the committed changes.