Movatterモバイル変換


[0]ホーム

URL:


Next:, Previous:, Up:Stack Layout and Calling Conventions   [Contents][Index]


17.9.10 Caller-Saves Register Allocation

If you enable it, GCC can save registers around function calls. Thismakes it possible to use call-clobbered registers to hold variables thatmust live across calls.

Macro:HARD_REGNO_CALLER_SAVE_MODE(regno,nregs)

A C expression specifying which mode is required for savingnregsof a pseudo-register in call-clobbered hard registerregno. Ifregno is unsuitable for caller save,VOIDmode should bereturned. For most machines this macro need not be defined since GCCwill select the smallest suitable mode.


[8]ページ先頭

©2009-2026 Movatter.jp