The CHECK_ULP Pragma

The CHECK_ULP pragma enables/disables ULP Advisor rules at the source level. This pragma has the same effect as using the --advice:power option.

The syntax of the pragma in C is:

#pragma CHECK_ULP (" {all|none|rulespec} ")

The rulespec parameter is a comma-separated list of rule numbers. See Section 5.4 for the syntax. See www.ti.com/ulpadvisor for a list of rules.

The RESET_ULP pragma can be used to reset any CHECK_ULP pragmas; see Section 5.11.26.