replace rdtsc as in HEAD
authorUlf Möller <ulf@openssl.org>
Thu, 8 Mar 2001 16:49:03 +0000 (16:49 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 8 Mar 2001 16:49:03 +0000 (16:49 +0000)
crypto/rand/rand_win.c

index 8850b9ae916c89f76f89a63d32b67369de5a9feb..106853462552abedac910e2eec95f88133c5e625 100644 (file)
@@ -577,7 +577,8 @@ static void readtimer(void)
        if (have_tsc) {
          __try {
            __asm {
-             rdtsc
+             _emit 0x0f
+             _emix 0x31
              mov cyclecount, eax
              }
            RAND_add(&cyclecount, sizeof(cyclecount), 1);