4 ms·
At the moment LLVM bit code generated by Clang is still architecture dependent (e.g. sizeof() still generates code that depends on the architecture).
by pg314 11y ago
At the moment LLVM bit code generated by Clang is still architecture dependent (e.g. sizeof() still generates code that depends on the architecture).
- willvarfar 11y agoBut modern CPUs are all converging on 64-bits, for example. Use of SIMD intrinsics are a tougher nut, but I've actually been playing with them at an IR level for hobby stuff and I declare its not intractable.
- mappu 11y agoConverging on 64-bit CPUs doesn't mean converging on standard `sizeof()` values (c.f. windows x86_64 ABI is LLP64 but linux x86_64 ABI is LP64)
- willvarfar 11y agoIt's easy to loose sight of the fact that we are talking about 64bit OS X here... The diff between ir that targeted x86-64 and arm64 and so on is something Apple has some control over. I know, I play with a hobby llvm backend that retargets.
- crucialfelix 11y agotrue, I didn't mean that it would solve a future 32 v 64 problem.