繁体   English   中英

在哪里可以找到glibc源代码项目的memcmp.c中出现的宏__insn_dword_align的定义?

[英]Where can I find the definition of the macro __insn_dword_align that occurs in memcmp.c of the glibc source code project?

glibc中函数memcmp的实现使用宏DBLALIGN(例如DBLALIG(a3,a0,srcli))来比较两个不带整数的int整数。 DBLALIGN的内容如下。 但是,在glibc源代码中找不到__insn_dword_align的定义。 我在哪里可以找到它。 谢谢!

#ifdef __tilegx__
#define DBLALIGN __insn_dblalign
#define REVBYTES __insn_revbytes
#else
#define DBLALIGN __insn_dword_align
#define REVBYTES __insn_bytex
#endif

这是内置的gcc。 参见例如这里

我找不到定义

您将找不到任何内置的定义。 这就是“内建”的含义:编译器通过名称识别内建,并直接向汇编发出所需的指令。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM