|
From: Julian S. <js...@ac...> - 2005-02-17 09:47:07
|
Yesterday I managed to run 'hello world' on amd64 using the Vex-based
tree. This required executing 19370 basic blocks of amd64 code (1564
blocks translated). It means the basic integer instruction set is
beginning to work reliably. See the log below.
Almost everything else is still broken on amd64. Be assured that
Maximum Effort (tm) is being applied to get to something usable as
soon as possible; it will be a while, however.
J
sewardj@grinder:~/VgSVN/trunk$ cat hello64.c
#include <stdio.h>
int main ( void ) {
printf("\nhello, %lu-bit world\n\n", 8 * sizeof(char*));
return 0;
}
sewardj@grinder:~/VgSVN/trunk$ gcc -Wall -g -o hello64 hello64.c
sewardj@grinder:~/VgSVN/trunk$ ./Inst/bin/valgrind --tool=none -v ./hello64
[... misc debugging junk deleted ...]
==27320== Nulgrind, a binary JIT-compiler.
==27320== Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote.
==27320== Using valgrind-SVN >= 3207, a dynamic binary instrumentation
framework.
==27320== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==27320== For more details, rerun with: -v
==27320==
--27320-- ignoring --pointercheck (unimplemented)
[... misc debugging junk deleted ...]
hello, 64-bit world
==27320==
--27320-- tt/tc: 3130 tt lookups requiring 3159 probes
--27320-- tt/tc: 3130 fast-cache updates, 2 flushes
--27320-- translate: new 1564 (30850 -> 280640; ratio 90:10)
--27320-- translate: dumped 0 (0 -> ??)
--27320-- translate: discarded 0 (0 -> ??)
--27320-- dispatch: 19370 jumps (bb entries).
--27320-- 28/1635 major/minor sched events.
--27320-- sanity: 29 cheap, 2 expensive checks.
|