Can we have ucent ?

kinke noone at nowhere.com
Thu Nov 1 01:23:21 UTC 2018


On Wednesday, 31 October 2018 at 22:02:34 UTC, Basile B. wrote:
> the guy has to do it for DMD and communicate with the LDC/GDC 
> devels so that they put the specific backend things.

LDC (and most likely GDC too) wouldn't have to do much, just 
making use of the `i128` type. The arithmetic operations and 
conversions from/to floating-point are most likely lowered to 
runtime calls anyway, e.g., __multi3 for multiplication 
(https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/multi3.c). DMD could even simply use LLVM's compiler-rt builtins library containing those implementations too instead of going through the trouble of porting them to D.




More information about the Digitalmars-d mailing list