Re: [Qemu-devel] [Consult] tilegx: About floating point instructions

2015-08-08 Thread Chen Gang
On 8/9/15 09:10, Chen Gang wrote: > > On 8/9/15 01:23, Chen Gang wrote: >> Hello all: >> >> Below is my current idea for all floating point insns. For me, it is not >> the precise implementation, even not completely implement -- assume pack >> insns can only for packing (u)int32_t when they are us

Re: [Qemu-devel] [Consult] tilegx: About floating point instructions

2015-08-08 Thread Chen Gang
On 8/9/15 01:23, Chen Gang wrote: > Hello all: > > Below is my current idea for all floating point insns. For me, it is not > the precise implementation, even not completely implement -- assume pack > insns can only for packing (u)int32_t when they are used individually: > > fsingle_add1

Re: [Qemu-devel] [Consult] tilegx: About floating point instructions

2015-08-08 Thread Chen Gang
Hello all: Below is my current idea for all floating point insns. For me, it is not the precise implementation, even not completely implement -- assume pack insns can only for packing (u)int32_t when they are used individually: fsingle_add1; return calc flags, save calc result to env.

Re: [Qemu-devel] [RFC v4 5/9] configure: Enable/disable new qemu_{ld, st} excl insns

2015-08-08 Thread Peter Maydell
On 8 August 2015 at 13:44, Aurelien Jarno wrote: > On 2015-08-07 19:03, Alvise Rigo wrote: >> Introduce the new --enable-tcg-ldst-excl configure option to enable the >> LL/SC operations only for those backends that support them. >> >> Suggested-by: Jani Kokkonen >> Suggested-by: Claudio Fontana

[Qemu-devel] [PATCH 1/3] vga: mask addresses in non-VESA modes to 256k

2015-08-08 Thread Paolo Bonzini
This allows setting the start address to a high value, and reading the bottom of the screen from the beginning of VRAM. Commander Keen 4 ("Goodbye, Galaxy!") relies on this behavior. Signed-off-by: Paolo Bonzini --- hw/display/vga-helpers.h | 52 ++--

[Qemu-devel] [PATCH 0/3] vga: first round of hardware emulation fixes

2015-08-08 Thread Paolo Bonzini
During the last Christmas holidays I spent some time fixing VGA emulation with old games and old software in general. In particular I fixed Commander Keen 4, Jazz Jackrabbit and GW Basic. I never had the time to post the patches, however. Here is a start, it's enough to fix GW Basic SCREEN 2 and

[Qemu-devel] [PATCH 3/3] vga: fix CGA 640x200 mode

2015-08-08 Thread Paolo Bonzini
SeaBIOS programs the CGA 2-color 640x200 mode with 0xC1 in the maximum scan line register. Ordinarily, this would mean 100 vertical lines, but the CGA modes ignore bits 4:0 (DOSBox's BIOS also uses 0xC1). Unfortunately, the test used to catch CGA modes worked for 4-color 320x200 graphics, but not

[Qemu-devel] [PATCH 2/3] vga: remove unused macros

2015-08-08 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- hw/display/vga.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/hw/display/vga.c b/hw/display/vga.c index 5965ab2..19dcb6b 100644 --- a/hw/display/vga.c +++ b/hw/display/vga.c @@ -101,12 +101,6 @@ const uint8_t gr_mask[16] = { #endif #ifdef

Re: [Qemu-devel] [RFC v4 6/9] tcg-i386: Implement excl variants of qemu_{ld, st}

2015-08-08 Thread Aurelien Jarno
On 2015-08-07 19:03, Alvise Rigo wrote: > Implement exclusive variants of qemu_{ld,st}_{i32,i64} for tcg-i386. > The lookup for the proper memory helper has been rewritten to take > into account the new exclusive helpers. > > Suggested-by: Jani Kokkonen > Suggested-by: Claudio Fontana > Signed-o

Re: [Qemu-devel] [PATCH v2] qemu-doc.texi: Add usb sound card info

2015-08-08 Thread Programmingkid
On Aug 8, 2015, at 2:04 AM, Markus Armbruster wrote: > Copying USB maintainer... > > Programmingkid writes: > >> Add info on usb sound card to qemu documentation. >> >> Signed-off-by: John Arbuckle >> >> --- >> Changed 'thru' to 'through' >> >> qemu-doc.texi |5 - >> 1 files changed

Re: [Qemu-devel] [RFC v4 5/9] configure: Enable/disable new qemu_{ld, st} excl insns

2015-08-08 Thread Aurelien Jarno
On 2015-08-07 19:03, Alvise Rigo wrote: > Introduce the new --enable-tcg-ldst-excl configure option to enable the > LL/SC operations only for those backends that support them. > > Suggested-by: Jani Kokkonen > Suggested-by: Claudio Fontana > Signed-off-by: Alvise Rigo > --- > configure | 21 ++