Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Ard Biesheuvel
(+ Leif) Exec summary: strange QEMU bug triggered by RELEASE_GCC5 code, which is caused by a spurious write to the NOR flash at runtime. The latter is also a bug, in Tianocore. On 18 August 2016 at 16:36, Peter Maydell wrote: > On 18 August 2016 at 15:15, Ard Biesheuvel wrote: >> On 18 August 2

Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Peter Maydell
On 18 August 2016 at 15:15, Ard Biesheuvel wrote: > On 18 August 2016 at 16:10, Peter Maydell wrote: >> On 16 August 2016 at 13:08, Ard Biesheuvel wrote: >>> Bad ram pointer 0x54 >>> Aborted (core dumped) >> >> So the reason this happens is that get_page_addr_code() doesn't >> correctly handle t

Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Peter Maydell
On 16 August 2016 at 13:08, Ard Biesheuvel wrote: > Bad ram pointer 0x54 > Aborted (core dumped) So the reason this happens is that get_page_addr_code() doesn't correctly handle the case of the memory region being a ROM that's not in ROMD mode. That is, the flash memory can be either in "reads ma

Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Ard Biesheuvel
On 18 August 2016 at 16:10, Peter Maydell wrote: > On 16 August 2016 at 13:08, Ard Biesheuvel wrote: >> Bad ram pointer 0x54 >> Aborted (core dumped) > > So the reason this happens is that get_page_addr_code() doesn't > correctly handle the case of the memory region being a > ROM that's not in RO

Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Ard Biesheuvel
On 18 August 2016 at 12:40, Peter Maydell wrote: > On 16 August 2016 at 13:08, Ard Biesheuvel wrote: >> I am hitting this strange issue when executing the UEFI firmware for >> QEMU mach-virt/AArch64. This only occurs when building the firmware >> with GCC5 in RELEASE mode, but the failure mode su

Re: [Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-18 Thread Peter Maydell
On 16 August 2016 at 13:08, Ard Biesheuvel wrote: > I am hitting this strange issue when executing the UEFI firmware for > QEMU mach-virt/AArch64. This only occurs when building the firmware > with GCC5 in RELEASE mode, but the failure mode suggests that this may > not be relevant. Yeah, we shoul

[Qemu-devel] QEMU TCG issue when executing UEFI

2016-08-16 Thread Ard Biesheuvel
Hello all, I am hitting this strange issue when executing the UEFI firmware for QEMU mach-virt/AArch64. This only occurs when building the firmware with GCC5 in RELEASE mode, but the failure mode suggests that this may not be relevant. Running a aarch64-softmmu QEMU built from today's master, I g

Re: [Qemu-devel] QEMU TCG can't Generate Hardware Floating Point Instructions?

2014-08-15 Thread Peter Maydell
On 11 August 2014 15:49, 傅 ㄏㄏ wrote: > I am studying some research about QEMU's TCG and also trace a part of code > translating TCG IRs to QEMU's host instructions recently. > I found that TCG use integer instructions to simulate the guest's floating > point instructions instead of exploiting th

[Qemu-devel] QEMU TCG can't Generate Hardware Floating Point Instructions?

2014-08-11 Thread Alvin Fu
Dear all, I am studying some research about QEMU's TCG and also trace a part of code translating TCG IRs to QEMU's host instructions recently. I found that TCG use integer instructions to simulate the guest's floating point instructions instead of exploiting the FPU instructions supported by the h

[Qemu-devel] QEMU TCG can't Generate Hardware Floating Point Instructions?

2014-08-11 Thread 傅 ㄏㄏ
Dear all,    I am studying some research about QEMU's TCG and also trace a part of code translating TCG IRs to QEMU's host instructions recently. I found that TCG use integer instructions to simulate the guest's floating point instructions instead of exploiting the FPU instructions supported by t

Re: [Qemu-devel] QEmu TCG SIMD extension?

2013-03-06 Thread Peter Maydell
On 6 March 2013 16:18, Paolo Bonzini wrote: > Il 06/03/2013 04:47, Peter Maydell ha scritto: >> I think my opinions are still the same -- interesting idea, but getting >> it to work with a set of IR ops which aren't target or host specific >> and getting it to give correct bit-for-bit results, rou

Re: [Qemu-devel] QEmu TCG SIMD extension?

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 04:47, Peter Maydell ha scritto: > On 6 March 2013 11:30, 陳韋任 (Wei-Ren Chen) wrote: >> While searching for QEMU SIMD issues, I found there was a paper presented >> in 2011 [1], and the source code is also public on [2]. However, it seems >> this project doesn't make any progress sinc

Re: [Qemu-devel] QEmu TCG SIMD extension?

2013-03-06 Thread Wei-Ren Chen
On Wed, Mar 06, 2013 at 11:47:58AM +0800, Peter Maydell wrote: > On 6 March 2013 11:30, 陳韋任 (Wei-Ren Chen) wrote: > > While searching for QEMU SIMD issues, I found there was a paper presented > > in 2011 [1], and the source code is also public on [2]. However, it seems > > this project doesn't mak

Re: [Qemu-devel] QEmu TCG SIMD extension?

2013-03-05 Thread Peter Maydell
On 6 March 2013 11:30, 陳韋任 (Wei-Ren Chen) wrote: > While searching for QEMU SIMD issues, I found there was a paper presented > in 2011 [1], and the source code is also public on [2]. However, it seems > this project doesn't make any progress since last year. I update their > change to upstream and

[Qemu-devel] QEmu TCG SIMD extension?

2013-03-05 Thread Wei-Ren Chen
Hi all, While searching for QEMU SIMD issues, I found there was a paper presented in 2011 [1], and the source code is also public on [2]. However, it seems this project doesn't make any progress since last year. I update their change to upstream and you can download from here: $ git clone git:/

[Qemu-devel] qemu/tcg tcg.h

2008-03-16 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/16 19:21:08 Modified files: tcg: tcg.h Log message: Increase max temps limit CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg.h?cvsroot=qemu&r1=1.5&r2=1.6

[Qemu-devel] qemu/tcg tcg-op.h

2008-03-16 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/16 19:16:37 Modified files: tcg: tcg-op.h Log message: Add discard_ptr and discard_tl CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=qemu&r1=1.9&r2=1.10

[Qemu-devel] qemu/tcg tcg-op.h

2008-03-13 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/13 20:46:42 Modified files: tcg: tcg-op.h Log message: Add tcg_const_tl CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=qemu&r1=1.8&r2=1.9

[Qemu-devel] qemu/tcg tcg.c i386/tcg-target.c sparc/tcg-targ...

2008-03-13 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/13 17:34:19 Modified files: tcg: tcg.c tcg/i386 : tcg-target.c tcg/sparc : tcg-target.c tcg/x86_64 : tcg-target.c Log message: Fix i32 memo

[Qemu-devel] qemu/tcg README

2008-03-12 Thread Aurelien Jarno
CVSROOT:/sources/qemu Module name:qemu Changes by: Aurelien Jarno 08/03/12 21:40:02 Modified files: tcg: README Log message: TCG README fixes (Stuart Brady) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/README?cvsroot=qemu&r1=1.3&r

[Qemu-devel] qemu/tcg tcg.c sparc/tcg-target.c sparc/tcg-tar...

2008-03-08 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/08 13:33:42 Modified files: tcg: tcg.c tcg/sparc : tcg-target.c tcg-target.h Log message: Add function prologue, fix pointer load on Sparc64 host CVSWeb URLs: http://

[Qemu-devel] qemu/tcg/sparc tcg-target.c

2008-03-07 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/07 18:21:40 Modified files: tcg/sparc : tcg-target.c Log message: Update based on Stuart Brady's comments CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/sparc/tcg-target.c?cvsr

[Qemu-devel] qemu/tcg tcg-op.h

2008-03-04 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 08/03/04 23:52:48 Modified files: tcg: tcg-op.h Log message: 32-bit host sign extension fix (Juergen Lock). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=q

[Qemu-devel] qemu/tcg tcg-op.h

2008-03-02 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/03/02 18:20:59 Modified files: tcg: tcg-op.h Log message: Add brcond_tl CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=qemu&r1=1.6&r2=1.7

[Qemu-devel] qemu/tcg/x86_64 tcg-target.c

2008-02-29 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/29 19:36:08 Modified files: tcg/x86_64 : tcg-target.c Log message: Fix compiler warning CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/x86_64/tcg-target.c?cvsroot=qemu&r1=1.3&r2

[Qemu-devel] qemu/tcg/sparc tcg-target.c

2008-02-29 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/29 19:34:39 Modified files: tcg/sparc : tcg-target.c Log message: Fix register references (Igor Kovalenko) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/sparc/tcg-target.c?cvs

Re: [Qemu-devel] qemu/tcg/sparc

2008-02-28 Thread Igor Kovalenko
On Wed, Feb 27, 2008 at 8:51 PM, Blue Swirl <[EMAIL PROTECTED]> wrote: > CVSROOT:/cvsroot/qemu > Module name:qemu > Changes by: Blue Swirl 08/02/27 17:51:14 > > New directory: > tcg/sparc > I found a couple of typos with register references, please apply the following

[Qemu-devel] qemu/tcg/sparc

2008-02-27 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/27 17:51:14 New directory: tcg/sparc CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/sparc/?cvsroot=qemu

[Qemu-devel] qemu/tcg tcg-op.h

2008-02-25 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/25 18:29:20 Modified files: tcg: tcg-op.h Log message: Fix mixed defines CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=qemu&r1=1.5&r2=1.6

[Qemu-devel] qemu/tcg tcg-op.h

2008-02-20 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/20 18:01:24 Modified files: tcg: tcg-op.h Log message: Fix andi, optimize addi and subi zero cases CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg-op.h?cvsroot=qemu&r

[Qemu-devel] qemu/tcg tcg.c

2008-02-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 08/02/17 08:45:04 Modified files: tcg: tcg.c Log message: Fix typo CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg.c?cvsroot=qemu&r1=1.6&r2=1.7

[Qemu-devel] qemu/tcg tcg.c

2008-02-04 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/04 22:03:16 Modified files: tcg: tcg.c Log message: win32: suppress alloca() warning CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/tcg.c?cvsroot=qemu&r1=1.3&r2

[Qemu-devel] qemu/tcg README tcg-op.h tcg-opc.h tcg.c tcg.h

2008-02-03 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/04 00:37:54 Modified files: tcg: README tcg-op.h tcg-opc.h tcg.c tcg.h Log message: fixed sign extensions - added explicit side effect op flag - added discard instruction

[Qemu-devel] qemu/tcg/i386 tcg-target.c

2008-02-03 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/03 21:06:23 Modified files: tcg/i386 : tcg-target.c Log message: compare fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/i386/tcg-target.c?cvsroot=qemu&r1=1.1&r2=1

[Qemu-devel] qemu/tcg/x86_64 tcg-target.c

2008-02-03 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/03 21:06:03 Modified files: tcg/x86_64 : tcg-target.c Log message: compare fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/x86_64/tcg-target.c?cvsroot=qemu&r1=1.1&r2

[Qemu-devel] qemu/tcg README

2008-02-01 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/01 13:01:47 Modified files: tcg: README Log message: typos CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/README?cvsroot=qemu&r1=1.1&r2=1.2

[Qemu-devel] qemu/tcg LICENSE README TODO tcg-dyngen.c tcg-o...

2008-02-01 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/01 10:05:41 Added files: tcg: LICENSE README TODO tcg-dyngen.c tcg-op.h tcg-opc.h tcg-runtime.c tcg.c tcg.h tcg/i386 : tcg-target.c tcg-targe

[Qemu-devel] qemu/tcg/x86_64

2008-02-01 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/01 10:03:48 New directory: tcg/x86_64 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/x86_64/?cvsroot=qemu

[Qemu-devel] qemu/tcg/i386

2008-02-01 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/01 10:03:47 New directory: tcg/i386 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/i386/?cvsroot=qemu

[Qemu-devel] qemu/tcg

2008-02-01 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/02/01 10:03:35 New directory: tcg CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/tcg/?cvsroot=qemu