c如何实现__int128,_OWORD这种数据类型?

请教一下::
c如何实现__int128,_OWORD这种数据类型??
oc中的基础数据类型,好像最大也就int64,如何实现一个int128的类型
QWORD类型之外,如何实现一个OWORD类型?

#include <stdint.h>
typedef union _FPReg {
    __int128_t q;
    struct {
        double d1;
        double d2;
    } d;
    struct {
        float f1;
        float f2;
        float f3;
        float f4;
    } f;
} FPReg;
4 个赞

谢谢大神解惑。

严肃地说。Clang/LLVM是提供了int128的滋瓷的。__uint128_t

帮你查了下,clang里是这么用的

原始应该是GCC自己搞的拓展

1 个赞

为什么这个 int128 复制过来,会报错。。