More pages: 1 ...
11 ...
21 ...
31 ...
41 ...
51 ...
61 ...
71 ...
77 78 79 80 81 82
83 84 85 86 87 ...
91 ...
101 ...
111 ...
121 ...
131 ...
141 ...
151 ...
161 ...
171 ...
181 ...
191 ...
201 ...
211 ...
221 ...
231 ...
241 ...
251 ...
261 ...
271 ...
281 ...
291 ...
301 ...
311 ...
321 ...
331 ...
341 ...
351 ...
361 ...
365
Query Failed
Martin Vilcans
Friday, February 19, 2010
At least it doesn't generate invalid code, which has happened to me at least once in Visual C++ 2.0. (Way back.)
Arseny Kapoulkine
Friday, February 19, 2010
First rule of member function optimization: never access (r/w) your class members in an inner loop unless you must. This is a hidden indirection, therefore it contains implicit aliasing and god knows what else. In some situations like this, compiler can produce good code, but the probability of failure is higher.
You can change your ctor to operate as before, but store all results in a local, i.e.
uint32 hash = 0;
hash = hash * 65599 + str[0];
... etc
m_Hash = hash;
It will likely solve the problem.
FMoreira
Thursday, February 18, 2010
"I also noticed that 64bits that the code that VS2010 RC generates is much more faster than the 32bits code."
should be read: I also noticed that the 64bits code that VS2010 RC generates is much more faster than the 32bits code.
FMoreira
Thursday, February 18, 2010
that assembly code results from a release build?
I've been doing some performances tests using both C++ and Assembly (SIMD) and some times the compiler ends up doing something closer to what you've just described. when I compile in release mode it generates correct code!
I also noticed that 64bits that the code that VS2010 RC generates is much more faster than the 32bits code. Even more faster than hand-tuned assembly...
these conclusions were all taken from some performances tests that I did with 4x4 matrices operations.
Seth
Monday, February 8, 2010
Good to hear. I'm glad PIX has improved support for DX11.
Microsoft has really done a great job evolving Direct3D into a beautiful API. The generality of the new tessellation functionality is something to be admired.
macnihilist
Saturday, February 6, 2010
WOOT!
I just resurrected my 8800GTX in the oven.
GPU-Z readings look ok and I played Dragon Age and Cod4 for about an hour now.
Thank for the hint, I never would have thought about that.

john cooper
Monday, January 25, 2010
hello~
Ming
Tuesday, January 12, 2010
Hi Humus,
The design of your Framework3 is great and I would like to take it as the reference of the rendering part of our company's 3d engine (under development).
I would like to ask what are the major features in Framework4 and when will it be released? Is there any big API changes between Framework3 and Framework4?
Thanks
More pages: 1 ...
11 ...
21 ...
31 ...
41 ...
51 ...
61 ...
71 ...
77 78 79 80 81 82
83 84 85 86 87 ...
91 ...
101 ...
111 ...
121 ...
131 ...
141 ...
151 ...
161 ...
171 ...
181 ...
191 ...
201 ...
211 ...
221 ...
231 ...
241 ...
251 ...
261 ...
271 ...
281 ...
291 ...
301 ...
311 ...
321 ...
331 ...
341 ...
351 ...
361 ...
365