In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces you how to understand Wind River Diab, the content is very detailed, interested friends can use for reference, hope to be helpful to you.
The Wind River Diab compiler is an operating system-independent tool suite that includes C _ compiler, assembler, linker, instruction-set simulator, ANSI C and C++ function libraries (library). Wind River Diab compiler is designed based on DIAB compiler technology, which is widely used in a variety of applications with very strict requirements and responsible for performing key tasks. There are a large number of application examples in industrial automation, national defense aviation, automobile internal control and other related systems.
The Diab compiler suite includes high-performance C and C++ tools that provide state-of-the-art optimization techniques to quickly create more reliable code. Diab compilers and other tools have faster execution and provide built-in customizable detection capabilities that can be used to detect code problems earlier. Through the powerful linker, the code and data in memory can be better organized, and hundreds of command line options and compilation instructions can be provided to meet the customization needs of software projects on any device. Special options are also provided for compatibility with other tools and code migration.
Important compiler features and extensions
■ has a large number of compiler controls and options to make compiler operations and code generation more flexible
A large number of functions and extensions of ■ for embedded device developers
■ customized optimizations and features for each processor of the x86 series
■ 's extensive compile-time checks to detect suspicious and non-portable structures
■ 's strong analytical ability to locate code bottlenecks. The analysis information can also be automatically used as feedback to the compiler for more positive optimization.
■ C++ template, exception, and runtime type information
High performance optimization
A variety of optimizations, some of which are unique to the Diab compiler, can produce faster and more compact code. Special optimizations include excellent inter-process register allocation, inlining, and reachability analysis. Optimization is divided into three categories: local, function level and program level.
Local optimization within ■ code block
Constant folding Constant folding
Divisible optimization Integer divide optimization
Local common subexpression eliminates Local common sub-expression elimination
Local strength reduction Local strength reduction
Convert Minor transformations slightly
Peephole optimized Peep-hole optimizations
Switch optimized Switch optimizations
Global Optimization in ■ function
Automatic increment / decrement optimization Auto increment/decrement optimizations
Automatic register allocation Automatic register allocation
Complex branch optimization Complex branch optimization
Conditional Code Optimization Condition code optimization
Constant propagation Constant propagation
Dead code cancellation Dead code elimination
Delayed branch optimization Delayed branches optimization
Delay register saves Delayed register saving
Entry and exit code eliminates Entry/exit code removal
Extended optimized Extend optimization
Global common subexpression eliminates Global common sub-expression elimination
Global variable storage latency Global variable store delay
Life cycle Analysis (Coloring) Lifetime analysis (coloring)
Link register optimization Link register optimization
Cyclic countdown to optimize Loop count-down optimization
Loop invariant code mobile Loop invariant code motion
Optimizing Loop statics optimization with cyclic static variables
Cycle strength reduction Loop strength reduction
Loop unfold Loop unrolling
Memory read and write optimized Memory read/write optimizations
Reorder code scheduling Reordering code scheduling
Restart optimized Restart optimization
Branched chain optimization Branch-chain optimization
Spatial optimization Space optimization
Split optimized Split optimization
Register structure and bit domain member Structure and bit-field member to registers
Tail recursive Tail recursion
Tail Challenge Optimization Tail jump optimization
No variable propagation Undefined variable propagation is defined
Delete Unused assignment deletion without using assignment
Variable location optimization Variable location optimization
Variable propagation Variable propagation
Global optimization between ■ functions
Parameter address optimization Argument address optimization
Function inline Function inlining
Optimization of Glue function optimization by bonding function
Inter-program optimization Interprocedural optimizations
Optimized Literal synthesis optimization for text synthesis
Local data area optimization Local data area optimization
Analysis and feedback optimization of Profiling feedback optimization
Transplantability
The ■ compiler implements the ANSI C++ standard (ISO/IEC FDIS 14882), including exceptions, templates, and runtime type information (RTTI)
■ for C modules, the compiler is fully compliant with the ANSI X3.159-1989 standard (that is, ANSI C), with extensions compatible with other compilers to simplify the migration of Legacy code
■ standard C programs can be compiled with the strict ANSI option, which turns off extensions and simplifies the language to the standard core. Alternatively, you can use extensions to gradually upgrade the program as needed
■ produces exactly the same binary output, independent of the Host platform
On how to understand Wind River Diab to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.