Skip to content

WIP: Make Int64#/Word64 and Int32#/Word32# useful on all architectures

John Ericson requested to merge Ericson2314/ghc:int32-int64 into master

After rearranging things to make a more readable diff, I add some primpos for these, and switch boxed Int64/Word64 to always use Int64#/Word64#. The smaller boxed number types (8, 16, and 32 bits) still used Int# for now; that can be changed later.

This is much more straightforward for downstream than my earlier attempt to excise MachDeps.h from primtops.txt.pp.

Fixes #11953 (closed), #17377 (closed), #17375 (closed)

CC @carter

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to Notes and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a Note and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • replace this message with a description motivating your change

If you have any questions don't hesitate to open your merge request and inquire in a comment. If your patch isn't quite done yet please do add prefix your MR title with WIP:.

Edited by John Ericson

Merge request reports