Contenuto principale

Compromessi in termini di efficienza del codice

Trovare dei compromessi nella generazione di codice ottimizzato

Migliorare l'efficienza del codice generato rimuovendo il codice che esegue calcoli su numeri subnormali o che protegge da eventuali discrepanze tra i risultati della simulazione e quelli della generazione di codice.

Impostazioni modello

espandi tutto

LevelOptimization level for generated code
PriorityControl application of optimizations based on priority
Remove Code from Tunable Parameter Expressions That Saturate Out-of-Range ValuesControl generation of protective code that saturates out-of-range tunable parameter expression values
Remove code that protects against division arithmetic exceptionsControl generation of protective code for division arithmetic exceptions
Remove code from floating-point to integer conversions with saturation that maps NaN to zeroControl generation of protective code that handles floating-point to integer conversion for NaN values
Remove code from floating-point to integer conversions that wraps out-of-range valuesControl generation of wrapping code that handles out-of-range floating-point to integer conversion values
Code replacement librariesLibraries that define code optimizations for specific target environment
Simulation behavior for denormal numbersOption to emulate hardware handling of denormal numbers

Argomenti