summary refs log tree commit diff
path: root/test/fpcnv.ssa
AgeCommit message (Collapse)Author
2022-01-28fix test/fpcnv (wrong spacing)Quentin Carbonneaux
2022-01-28implement float -> unsigned castsBor Grošelj Simić
amd64 lacks instruction for this so it has to be implemented with float -> signed casts. The approach is borrowed from llvm.
2022-01-28implement unsigned -> float castsBor Grošelj Simić
amd64 lacks an instruction for this so it has to be implemented with signed -> float casts: - Word casting is done by zero-extending the word to a long and then doing a regular signed cast. - Long casting is done by dividing by two with correct rounding if the highest bit is set and casting that to float, then adding 1 to mantissa with integer addition
2016-04-22refine fp conversion instructionsQuentin Carbonneaux
2016-03-28implement export controlQuentin Carbonneaux
2016-03-27extract tests out of srcQuentin Carbonneaux