Jump to content

  • Log In with Google      Sign In   
  • Create Account

There is no escape from the Washu



C++ Quiz #4

  Posted by Washu, 18 November 2014 · 331 views

<p>This is a test of your knowledge of C++, not of your compiler's knowledge of C++. Using a compiler during this test will likely give you the wrong answers, or at least incomplete ones.</p>

<ol>
<li>What is the value of i after the first numbered line is evaluated? </li>
<li>What do you expect...


C++ Quiz #3

  Posted by Washu, 18 November 2014 · 131 views

<p>This is a test of your knowledge of C++, not of your compiler’s knowledge of C++. Using a compiler during this test will likely give you the wrong answers, or at least incomplete ones.</p>

<p>Given the following code: </p>

<pre><code class="language-c++">class Base {
public:
virtual ~...


C++ Quiz #2

  Posted by Washu, 18 November 2014 · 131 views

<p>This is a test of your knowledge of C++, not of your compiler’s knowledge of C++. Using a compiler during this test will likely give you the wrong answers, or at least incomplete ones.</p>

<ol>
<li><p>Using the code below as a reference, explain what behavior should be expected of each of the commented...


SlimGen and You, Part ADD EAX, [EAX] of N

  Posted by Washu, 14 September 2014 · 211 views
ScapeCode
So far I’ve covered how SlimGen works and the difficulties in doing what it does, including calling convention issues that one must be made aware of when writing replacement methods for use with SlimGen.
So the next question arises, just how much of a difference can using SlimGen make? Well, a lot of that will depend on the developer and their skill level...


SlimGen and You, Part ADD AL, [RAX] of N

  Posted by Washu, 14 September 2014 · 145 views
ScapeCode
The question does arise though, when using SlimGen and writing your SSE replacement methods, what kind of calling convention does the CLR use?
The CLR uses a version of fastcall. On x86 processors this means that the first two parameters (that are DWORD or smaller) are passed in ECX and EDX. However, and this is where the CLR differs from standard fastcal...






Recent Entries

Recent Comments

December 2014 »

S M T W T F S
 123456
78910111213
1415161718 19 20
21222324252627
28293031   
PARTNERS