.prologue Directive

Syntax

.prologue flag

Description

The .prologue directive marks the end of the prologue section of a procedure. The .prologue directive is also used by the instruction scheduling optimization. The scheduler will not move instructions across the boundary set up by the .prologue directive.

A flag of 0 indicates that the procedure does not use $gp; the caller does not need to set up $pv prior to calling the procedure or restore $gp on return from the procedure.

A flag of 1 indicates that the procedure does use $gp; the caller must set up $pv prior to calling the procedure and restore $gp on return from the procedure.

On Windows NT, the flag value is ignored and the behavior is as if the flag value were 0.