이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
코드 효율성 상충관계
준정규(subnormal) 숫자 계산을 수행하거나 시뮬레이션과 코드 생성 결과 간의 있을 수 있는 불일치를 방지하는 코드를 제거하여 생성 코드의 효율성을 개선합니다.
도움말 항목
- Remove Code for Out-of-Range Floating Point to Integer Conversions
If the input values in your application are in the range of the output type, remove code for out-of-range floating-point to integer conversions.
- Remove Code That Maps NaN to Integer Zero
If input values of
NaN
do not exist in your application, specify that the code generator remove code that mapsNaN
to integer zero. - Disable Nonfinite Checks or Inlining for Math Functions
Use code replacement library (CRL) customization entries to selectively disable nonfinite checks for math functions and inlining of math functions.
- Subnormal Number Execution Speed
Minimize the possibility of execution slowdowns or overruns due to subnormal number calculation latency.
- Remove Code That Guards Against Division Exceptions for Integers and Fixed-Point Data
Optimize the generated code by removing code that protects against division by zero and overflows in division
INT_MIN/-1
operations for integers and fixed-point data. - Remove Code from Tunable Parameter Expressions That Saturate Against Integer Overflow
Remove code that prevents integer overflow of tunable expression parameters for efficiency benefits.