Next: , Previous: , Up: Optimizing Infix Binary Operators   [Index]


3.9.7.13 Variable Primary To Constant Secondary Unary Transfer

The struct x1f4_1stscope_type operator definition extension is to include the X1f4_E4_NXCA_LIST bit in its bits1 bits list field. The remaining optimization parameters are to be introduced via the struct x1f4_operator_type first extension, in a struct x1f4_ndbA_type definition. That is, the extension1 field of the struct x1f4_operator_type operator description must point a struct x1f4_1stscope_type record, whose ndbA_data field must point a struct x1f4_ndbA_type record, in turn describing the optimization parameters.

See struct x1f4_1stscope_type.

See struct x1f4_ndbA_type.

See struct x1f4_operator_type.

See Operator First Extension Scope Flags.

The optimization transforms expressions like:

-c * 2
(-c * e) * (f * 2)

into:

c * -2
(c * e) * (f * -2)