[PATCH] x86_64 vm without gas

Ludwig Nussel ludwig.nussel at suse.de
Fri Jun 29 10:12:06 EDT 2007


Hi,

As you may or may not know Novell this week allowed us to hack on
whatever fun project we wanted. So I decided to write an x86_64
assembler for use in ioquake3. Surely I would have been faster by
just replacing all those assembler instructions in vm_x86_64.c with
their literal opcodes like vm_x86.c does it but that would have been
no fun :-) The code lacks design (ie q&d) as I took an *cough*
iterative approach to write the assembler. Anyways, here's a first
version. One can start a map, walk around and shoot. Demo four works
but it (as usual) crashes with bots. Anyways, here's a first version
for the brave.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioq3_vm_x86_64_assembler.diff
Type: text/x-diff
Size: 39041 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20070629/e86fc1df/attachment.bin>


More information about the quake3 mailing list