[Qemu-devel] qemu exec-all.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 08/02/03 17:35:41 Modified files: . : exec-all.h Log message: Fix opparam_buf size estimate. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.74&r2=1.75
[Qemu-devel] qemu exec-all.h osdep.h qemu-common.h translate...
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/19 00:38:33 Modified files: . : exec-all.h osdep.h qemu-common.h translate-op.c darwin-user: qemu.h Log message: Avoid duplicated definitions: move common definitions from exec-all.h and qemu-common.h to osdep.h. Include this header in translate-op.c. Make sure it's included first in darwin-user/qemu.h. To avoid discarded inlining bug, define inline as always_inline and always_inline as (( attribute (always_inline) )) __inline__. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.71&r2=1.72 http://cvs.savannah.gnu.org/viewcvs/qemu/osdep.h?cvsroot=qemu&r1=1.10&r2=1.11 http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-common.h?cvsroot=qemu&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/qemu/translate-op.c?cvsroot=qemu&r1=1.3&r2=1.4 http://cvs.savannah.gnu.org/viewcvs/qemu/darwin-user/qemu.h?cvsroot=qemu&r1=1.1&r2=1.2
Re: [Qemu-devel] qemu exec-all.h host-utils.c host-utils.h targe...
On Sun, 2007-11-04 at 02:24 +, Jocelyn Mayer wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Jocelyn Mayer 07/11/04 02:24:58 > > Modified files: > . : exec-all.h host-utils.c host-utils.h > target-alpha : op.c > target-i386: helper.c > > Log message: > For consistency, move muls64 / mulu64 prototypes to host-utils.h > Make x86_64 optimized versions inline. Following this patch, I also got optimized versions of muls64 / mulu64 / clz64 for PowerPC 64 and clz32 for PowerPC 32 hosts. Seems like it could be useful... -- J. Mayer <[EMAIL PROTECTED]> Never organized Index: host-utils.h === RCS file: /sources/qemu/qemu/host-utils.h,v retrieving revision 1.3 diff -u -d -d -p -r1.3 host-utils.h --- host-utils.h 4 Nov 2007 02:24:57 - 1.3 +++ host-utils.h 4 Nov 2007 02:26:34 - @@ -40,6 +40,25 @@ static always_inline void muls64 (uint64 : "=d" (*phigh), "=a" (*plow) : "a" (a), "0" (b)); } +#elif defined(__powerpc64__) +#define __HAVE_FAST_MULU64__ +static always_inline void mulu64 (uint64_t *plow, uint64_t *phigh, + uint64_t a, uint64_t b) +{ +__asm__ ("mulld %1, %2, %3 \n\t" + "mulhdu %0, %2, %3 \n\t" + : "=r"(*phigh), "=r"(*plow) + : "r"(a), "r"(b)); +} +#define __HAVE_FAST_MULS64__ +static always_inline void muls64 (uint64_t *plow, uint64_t *phigh, + uint64_t a, uint64_t b) +{ +__asm__ ("mulld %1, %2, %3 \n\t" + "mulhd %0, %2, %3 \n\t" + : "=r"(*phigh), "=r"(*plow) + : "r"(a), "r"(b)); +} #else void muls64(int64_t *phigh, int64_t *plow, int64_t a, int64_t b); void mulu64(uint64_t *phigh, uint64_t *plow, uint64_t a, uint64_t b); @@ -50,7 +69,19 @@ void mulu64(uint64_t *phigh, uint64_t *p cope with that. */ /* Binary search for leading zeros. */ +#if defined(__powerpc__) +#define __HAVE_FAST_CLZ32__ +static always_inline int clz32 (uint32_t val) +{ +int cnt; + +__asm__ ("cntlzw %0, %1 \n\t" + : "=r"(cnt) + : "r"(val)); +return cnt; +} +#else static always_inline int clz32(uint32_t val) { int cnt = 0; @@ -80,12 +111,26 @@ static always_inline int clz32(uint32_t } return cnt; } +#endif static always_inline int clo32(uint32_t val) { return clz32(~val); } +#if defined(__powerpc64__) +#define __HAVE_FAST_CLZ64__ +static always_inline int clz64 (uint32_t val) +{ +int cnt; + +__asm__ ("cntlzd %0, %1 \n\t" + : "=r"(cnt) + : "r"(val)); + +return cnt; +} +#else static always_inline int clz64(uint64_t val) { int cnt = 0; @@ -98,6 +143,7 @@ static always_inline int clz64(uint64_t return cnt + clz32(val); } +#endif static always_inline int clo64(uint64_t val) {
[Qemu-devel] qemu exec-all.h host-utils.c host-utils.h targe...
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/04 02:24:58 Modified files: . : exec-all.h host-utils.c host-utils.h target-alpha : op.c target-i386: helper.c Log message: For consistency, move muls64 / mulu64 prototypes to host-utils.h Make x86_64 optimized versions inline. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.69&r2=1.70 http://cvs.savannah.gnu.org/viewcvs/qemu/host-utils.c?cvsroot=qemu&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/qemu/host-utils.h?cvsroot=qemu&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/qemu/target-alpha/op.c?cvsroot=qemu&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper.c?cvsroot=qemu&r1=1.92&r2=1.93
[Qemu-devel] qemu exec-all.h target-mips/cpu.h target-mips/o...
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/10/20 19:45:44 Modified files: . : exec-all.h target-mips: cpu.h op_helper.c Log message: Handle IBE on MIPS properly. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.68&r2=1.69 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/cpu.h?cvsroot=qemu&r1=1.49&r2=1.50 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_helper.c?cvsroot=qemu&r1=1.66&r2=1.67
[Qemu-devel] qemu exec-all.h vl.h hw/ppc.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 14:44:52 Modified files: . : exec-all.h vl.h hw : ppc.c Log message: Fix compilation on Darwin platform, avoiding the use of gcc function attributes (problem reported by Andreas Farber). : -- CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.65&r2=1.66 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.272&r2=1.273 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc.c?cvsroot=qemu&r1=1.27&r2=1.28
[Qemu-devel] qemu exec-all.h vl.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 12:17:25 Modified files: . : exec-all.h vl.h Log message: always_inline gcc directive can be useful. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.64&r2=1.65 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.268&r2=1.269
[Qemu-devel] qemu exec-all.h target-alpha/cpu.h target-ppc/c...
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/20 09:44:49 Modified files: . : exec-all.h target-alpha : cpu.h target-ppc : cpu.h Log message: Move likely and unlikely macros in a common place (Aurelien Jarno). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.61&r2=1.62 http://cvs.savannah.gnu.org/viewcvs/qemu/target-alpha/cpu.h?cvsroot=qemu&r1=1.5&r2=1.6 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemu&r1=1.54&r2=1.55
[Qemu-devel] qemu exec-all.h exec.c target-sparc/cpu.h targe...
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/05/17 19:30:10 Modified files: . : exec-all.h exec.c target-sparc : cpu.h op_helper.c translate.c Log message: Enable faults for unassigned memory accesses and unimplemented ASIs CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.55&r2=1.56 http://cvs.savannah.gnu.org/viewcvs/qemu/exec.c?cvsroot=qemu&r1=1.94&r2=1.95 http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/cpu.h?cvsroot=qemu&r1=1.36&r2=1.37 http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_helper.c?cvsroot=qemu&r1=1.26&r2=1.27 http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cvsroot=qemu&r1=1.56&r2=1.57
[Qemu-devel] qemu exec-all.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/10 00:33:40 Modified files: . : exec-all.h Log message: Fix wrong branch condition in MIPS testandset. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.53&r2=1.54
[Qemu-devel] qemu exec-all.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 23:40:45 Modified files: . : exec-all.h Log message: Another #elif'ication. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.52&r2=1.53
[Qemu-devel] qemu exec-all.h gdbstub.c linux-user/main.c tar...
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/02/28 22:37:42 Modified files: . : exec-all.h gdbstub.c linux-user : main.c target-mips: cpu.h exec.h mips-defs.h op.c op_helper.c op_mem.c translate.c Log message: MIPS FPU dynamic activation, part 1, by Herve Poussineau. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.49&r2=1.50 http://cvs.savannah.gnu.org/viewcvs/qemu/gdbstub.c?cvsroot=qemu&r1=1.48&r2=1.49 http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.98&r2=1.99 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/cpu.h?cvsroot=qemu&r1=1.21&r2=1.22 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/exec.h?cvsroot=qemu&r1=1.17&r2=1.18 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/mips-defs.h?cvsroot=qemu&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op.c?cvsroot=qemu&r1=1.24&r2=1.25 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_helper.c?cvsroot=qemu&r1=1.30&r2=1.31 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_mem.c?cvsroot=qemu&r1=1.5&r2=1.6 http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/translate.c?cvsroot=qemu&r1=1.34&r2=1.35 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h translate-all.c
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/12/05 19:56:07 Modified files: . : exec-all.h translate-all.c Log message: correct MIPS state restoring (Daniel Jacobowitz) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.43&tr2=1.44&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/translate-all.c.diff?tr1=1.13&tr2=1.14&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu ./exec-all.h target-arm/op.c target-arm/tr...
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/10/30 21:39:19 Modified files: . : exec-all.h target-arm : op.c translate.c target-mips: op.c translate.c target-ppc : op.c translate.c Log message: suppressed JUMP_TB (Paul Brook) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.38&tr2=1.39&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-arm/op.c.diff?tr1=1.14&tr2=1.15&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-arm/translate.c.diff?tr1=1.27&tr2=1.28&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-mips/op.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-mips/translate.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op.c.diff?tr1=1.20&tr2=1.21&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/translate.c.diff?tr1=1.35&tr2=1.36&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/09/04 16:54:47 Modified files: . : exec-all.h Log message: disabled LDT test (kqemu 0.7.2 no longer needs it) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.37&tr2=1.38&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu exec-all.h kqemu.c vl.c
Please add "if (kqemu_fd)" before the CancelIo call in kqemu.c, otherwise the call will fail every time for non-KQEMU case (which can slow down things a bit). - Filip Fabrice Bellard wrote: CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/09/03 17:55:47 Modified files: . : exec-all.h kqemu.c vl.c Log message: kqemu_cpu_interrupt support for win32 (Filip Navara) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.36&tr2=1.37&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/kqemu.c.diff?tr1=1.7&tr2=1.8&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/vl.c.diff?tr1=1.134&tr2=1.135&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h kqemu.c vl.c
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/09/03 17:55:47 Modified files: . : exec-all.h kqemu.c vl.c Log message: kqemu_cpu_interrupt support for win32 (Filip Navara) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.36&tr2=1.37&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/kqemu.c.diff?tr1=1.7&tr2=1.8&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/vl.c.diff?tr1=1.134&tr2=1.135&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu exec-all.h
Ozan Türkyılmaz wrote: i have a request cound you put cvs checkouts to another maling list ? Ozan Türkyılmaz, do you have any idea what you're actually talking about?? I'd suggest that you first find out #0) who Fabrice Bellard is and #1) what he is doing here! On 21/08/05, Fabrice Bellard <[EMAIL PROTECTED]> wrote: CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/08/21 09:37:35 ___ Qemu-devel mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu exec-all.h
Hi, On Sun, 21 Aug 2005, Ozan Türky?lmaz wrote: > i have a request > cound you put cvs checkouts to another maling list ? I veto that. I find it highly informative what patches Fabrice applied, and it has a high relevance to the name of the list. Ciao, Dscho___ Qemu-devel mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/08/21 15:19:36 Modified files: . : exec-all.h Log message: compilation fix for gcc3.4 on win32 (Paul Brook) CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.35&tr2=1.36&r1=text&r2=text ___ Qemu-devel mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu exec-all.h
i have a request cound you put cvs checkouts to another maling list ? On 21/08/05, Fabrice Bellard <[EMAIL PROTECTED]> wrote: > CVSROOT:/cvsroot/qemu > Module name:qemu > Branch: > Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/08/21 09:37:35 > > Modified files: > . : exec-all.h > > Log message: > added kqemu_set_notdirty() > > CVSWeb URLs: > http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.34&tr2=1.35&r1=text&r2=text > > > > ___ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Ozan ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/08/21 09:37:35 Modified files: . : exec-all.h Log message: added kqemu_set_notdirty() CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.34&tr2=1.35&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu exec-all.h
How much is it useful? is it a good enough solution to install win9x with kqemu? Thanks, Hetz > Modified files: > . : exec-all.h > > Log message: > temporary work around for 16 bit code in kqemu ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/07/24 14:14:53 Modified files: . : exec-all.h Log message: temporary work around for 16 bit code in kqemu CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.33&tr2=1.34&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/07/02 13:31:24 Modified files: . : exec-all.h Log message: correct __builtin_expect definition - increased code gen buffer size for x86 CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.31&tr2=1.32&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu exec-all.h
CVSROOT:/cvsroot/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 05/04/17 18:32:14 Modified files: . : exec-all.h Log message: removed unused stuff CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/exec-all.h.diff?tr1=1.30&tr2=1.31&r1=text&r2=text ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel