compiler-optimization
Visual Studio 2008 not Aligning Stack Variables?
I\'m trying to read an avi file in OpenCV 2.1, VS2008 standard for 2 days now with no luck. I constantly get this message in the program console:[详细]
2023-01-08 00:33 分类:问答Is there a (Linux) g++ equivalent to the /fp:precise and /fp:fast flags used in Visual Studio?
Background: Many years ago, I inherited a codebase that was using the Visual Studio (VC++) flag \'/fp:fast\' to produce faster code in a particular calculation-heavy library. Unfortunately, \'/fp:fas[详细]
2023-01-06 18:33 分类:问答Controlling read and write access width to memory mapped registers in C
I\'m using and x86 based core to manipulate a 32-bit memory mapped register.My hardware beha开发者_如何学Pythonves correctly only if the CPU generates 32-bit wide reads and writes to this register.The[详细]
2023-01-03 15:43 分类:问答Is it possible to implement bitwise operators using integer arithmetic?
I am facing a rather peculiar problem. I am working on a compiler for an architecture that doesn\'t support bitwise operations. However, it handles signed 16-bit integer arithmetics and I was wonderin[详细]
2023-01-02 16:18 分类:问答How would I instruct extconf.rb to use additional g++ optimization flags, and which are advisable?
I\'m using Rice to write a C++ extension for a Ruby gem. The extension is in the form of a shared object (.so) file.[详细]
2023-01-02 15:18 分类:问答Is profile guided optimization possible with shared libraries in gcc?
I recently rolled out a new Toolchain on Linux, with gcc 4.5.0 and binutils 2.20 with gold. Now I was curious about this new thing PGO. While it\'s clear how it works with executables, I\'ve not been[详细]
2023-01-02 14:41 分类:问答Float compile-time calculation not happening?
A little test program: #include <iostream> const float TEST_FLOAT = 1/60; const float TEST_A = 1; con开发者_如何学运维st float TEST_B = 60;[详细]
2023-01-02 06:44 分类:问答Is ToString() optimized by compiler?
Suppose I\'ve following Code: Console.WriteLine(\"Value1: \" + SomeEnum.Value1.ToString() + \"\\r\\nValue2: \" +[详细]
2023-01-02 05:04 分类:问答Can a conforming C# compiler optimize away a local (but unused) variable if it is the only strong reference to an object?
See also these related resources: Does the .NET garbage collector perform predictive analysis of code? (on Stack Overflow)[详细]
2022-12-28 12:26 分类:问答Which free C compiler gives options for greater optimizations?
Can you please give me some comparison between C compilers especially with respec开发者_开发知识库t to optimization?Actually there aren\'t many free compilers around. gcc is \"the\" free compiler and[详细]
2022-12-27 05:48 分类:问答
加载中,请稍侯......