Gentoo Archives: gentoo-user

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] ddcxinfo-knoppix on amd64
Date: Wed, 28 Nov 2007 02:52:07
Message-Id: e38d12ff0711271840q60b815c4l717e2f8414c6b72b@mail.gmail.com
1 Anyone have any clue on how to force use of r32 registers instead of
2 default (r64) registers? I need this to get ddcxinfo-knoppix working
3 on amd64.
4
5 The code block in particular is in ddcxinfo-knoppix-0.6/lrmi.c:
6 asm volatile ("std; ins*" : "=D" (edi) : "d" (edx), "0", (edi));
7 It's too much work for me to port all of the asm to 64-bit so how do I
8 force the register sizes to be 32-bit?
9
10 --
11 Andrey Vul
12 int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
13 o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
14 hail ioccc
15 --
16 gentoo-user@g.o mailing list