Initial addition of the half precision code.

This was downloaded from
https://code.google.com/p/cellperformance-snippets/