News for hackers. Stuff that matters.
Re:Erlang and IBM Power8 in the cloud: super-high single-sys... by apaprocki on Wednesday October 22, 2014 @09:52PM (#8496331)
When you compile C99 apps using _Decimal{32,64,128} types, and you enable a flag on IBM's compiler to use the DFP instructions and tell it you're compiling for at least a POWER6 (e.g., -qarch=pwr6 -qtune=pwr7) it will emit the optimized code. The same types are available in C++ apps as well. (I'm not sure if GCC/LLVM also support emitting the instructions -- haven't checked.)

If higher level languages implemented in C/C++ implement their decimal support using the built-in C/C++ types, they'll get the speed boost.

There are no comments on this comment yet.