In Fedora 36 on Parallels on a Core i9-based Mac, GTK4 apps are failing on an F16C extension instruction for converting between 32-bit and 16-bit floats for graphics drawing. This extracted code fails in the Parallels VM but works on the native MacOS. Linux's /proc/cpuinfo
lists the f16c
extension as present.
Expected output:
% make && ./borf
make: `borf' is up to date.
orig: -1.000000 128.500000 15000.000000 150000.000000
made small...
half as ints: bc00 5804 7353 7c00
made big again...
post: -1.000000 128.500000 15000.000000 inf