[omniORB] Issue transfering double over the network on x86_64/arvm8

Thomas Braun thomas.braun at byte-physics.de
Fri Feb 3 11:35:42 UTC 2023


Am 03.02.2023 um 11:45 schrieb Duncan Grisby:
> On Thu, 2023-02-02 at 20:25 +0100, Thomas Braun via omniORB-list wrote:

[...]

> If you look in include/omniORB4/CORBA_sysdep.h you'll see this:
> 
> 
> // __VFP_FP__ means that the floating point format in use is that of the ARM
> // VFP unit, which is native-endian IEEE-754.
> #if defined(__arm__)
> #  if defined(__armv5teb__) || defined(__VFP_FP__)
> #    define NO_OMNI_MIXED_ENDIAN_DOUBLE
> #  else
> #    define OMNI_MIXED_ENDIAN_DOUBLE
> #  endif
> #endif
> 
> 
> I would have hoped that __VFP_FP__ was defined in Apple's compiler, but
> this would suggest that it is not. I can check what is defined on an M1
> system later today, but if you want to look sooner, that is the place
> to check.

Yes OMNI_MIXED_ENDIAN_DOUBLE is defined on my M1.




More information about the omniORB-list mailing list