簡體   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