From f02ec82d1b0efbda684905a65331033d908028be Mon Sep 17 00:00:00 2001 From: Robin Nehls Date: Sat, 21 May 2011 16:45:08 +0200 Subject: improved cross platforminess of the code for x86 --- inlineasm.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inlineasm.h b/inlineasm.h index f9dd4bc..d1cb138 100644 --- a/inlineasm.h +++ b/inlineasm.h @@ -19,6 +19,13 @@ static uint32_t optmemmeasure(char* memory, uint32_t offset) ); } +// we did no acurate implementation on 32 bit x86 +static uint32_t memmeasure(char* memory, uint32_t offset) +{ + return optmemmeasure(memory, offset); +} + + static uint64_t rdtsc() { uint64_t rdtsc; -- cgit v1.2.3-1-g7c22