Post by zhangxudong 在C语言中,sizeof(int)不管在32位或64位都是4。楼上的是不是冤枉龙芯了。
使用道具 举报
Post by 超级用户 谁说的?这个绝对和CPU以及编译器有关。 你用DOS的C编译器试试看。
AMD64 Technology 64 Architecture Programmer’s Manual Volume 1: Application Programming
Default Operand Size. For most instructions, the default operand size in 64-bit mode is 32 bits.To access the full 64-bit operand size, most instructions must contain a REX prefix.
Post by 超级用户 Emmm, Is it a Intel Arch ? But I think GonSon is based on MIPS-64.
本版积分规则 发表回复 回帖后跳转到最后一页