On 06.01.2014 07:52, Wenchao Xia wrote:
@@ -781,10 +784,10 @@ static void vnc_dpy_copy(DisplayChangeListener *dcl,
if ((s = w - w_lim) == 0)
break;
} else if (!x) {
-s = (16 - (dst_x % 16));
+s = (16 -
On 6 January 2014 07:56, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote:
On Mon, Jan 6, 2014 at 5:41 PM, Peter Maydell peter.mayd...@linaro.org
wrote:
That raises some more general design questions:
* how is this expected to interact with rom blob loading, -machine
firmware=,
On Mon, Dec 30, 2013 at 01:29:08PM +0800, Hu Tao wrote:
When cluster size is big enough it can lead offset overflow
in qcow2_alloc_clusters_at(). This patch fixes it.
ping. and be more descriptive:
The allocation each time is stopped at L2 table boundary(see handle_alloc()),
so the possible
Le 6 janvier 2014 à 02:57, André Hentschel n...@dawncrow.de a écrit :
From: André Hentschel n...@dawncrow.de
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: André Hentschel n...@dawncrow.de
[...]
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index cf08db5..b36f99c
ping~~
On Sat, Dec 21, 2013 at 9:47 AM, Jia Liu pro...@gmail.com wrote:
Hi Anthony,
This is my OpenRISC patch queue for 1.8, it have been well tested, please
pull.
Thanks to Richard Henderson, he made the LD/ST updated.
Thanks to Stefan Weil, he fixed a typo.
Regards,
Jia
The
On 6 January 2014 08:45, Laurent Vivier laur...@vivier.eu wrote:
Le 6 janvier 2014 à 02:57, André Hentschel n...@dawncrow.de a écrit :
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index cf08db5..b36f99c 100644
--- a/linux-user/syscall_defs.h
+++
Sorry, I propably just was lucky. It doesn't work without hugepages
also. The only thing I can do to make the 7870XT operate correclty under
guest is to make it show
qemu-system-x86_64: vfio_dma_map(0x7f01db7deec0, 0xc, 0xaff4,
0x2aaac00c) = -16 (Device or resource busy)
errors on
On 2014年01月05日 20:02, Amos Kong wrote:
This patch introduces a new monitor command to query QMP schema
information, the return data is a range of schema structs, which
contains the useful metadata to help management to check supported
features, QMP commands detail, etc.
It parses all json
On 12/27/2013 12:44 PM, Alexey Kardashevskiy wrote:
On 12/27/2013 02:12 AM, Michael S. Tsirkin wrote:
On Fri, Dec 27, 2013 at 01:59:19AM +1100, Alexey Kardashevskiy wrote:
On 12/27/2013 12:48 AM, Michael S. Tsirkin wrote:
On Thu, Dec 26, 2013 at 11:51:04PM +1100, Alexey Kardashevskiy wrote:
于 2014/1/6 2:02, Peter Lieven 写道:
vnc_update_client currently scans the dirty bitmap of each client
bitwise which is a very costly operation if only few bits are dirty.
vnc_refresh_server_surface does almost the same.
this patch optimizes both by utilizing the heavily optimized
function
On 2014年01月06日 14:48, Peter Lieven wrote:
On 06.01.2014 06:31, Fam Zheng wrote:
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/013 |9 -
tests/qemu-iotests/013.out |2 +-
2 files changed, 5 insertions(+), 6
This is the command line:
qemu-system-armw -M versatilepb -kernel ..\BaseQemu\zImage -hda
..\BaseQemu\rootfs.squashfs -hdb ..\BaseQemu\flash.ext3 -append root=/dev/sda
r -net tap,ifname=TAP,script=no -net nic
I talked with the developer here and it seems that the bad speed is mainly due
to
On 2014年01月05日 20:02, Amos Kong wrote:
QMP schema is defined in a json file, it will be parsed by
qapi scripts and generate C files.
We want to return the schema information to management,
this patch converts the json file to a string table in a
C head file, then we can use the json content in
On 2 January 2014 01:57, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote:
When using QEMU in some terminal environments, char back-ends for serial
devices can return EAGAIN for non trivial periods. This coupled with use
of qemu_chr_fe_write_all() is a leading cause of:
main-loop:
Le 6 janvier 2014 à 10:14, Peter Maydell peter.mayd...@linaro.org a écrit :
On 6 January 2014 08:45, Laurent Vivier laur...@vivier.eu wrote:
Le 6 janvier 2014 à 02:57, André Hentschel n...@dawncrow.de a écrit :
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index
On 21 December 2013 06:09, Christoffer Dall christoffer.d...@linaro.org wrote:
Implement support to save/restore the ARM KVM VGIC state from the
kernel. The basic appraoch is to transfer state from the in-kernel VGIC
to the emulated arm-gic state representation and let the standard QEMU
On Fri, 03 Jan 2014 09:08:21 +1100
Alexey Kardashevskiy a...@ozlabs.ru wrote:
Please read the rest of this thread. It does not visibly break things but
with this patch QEMU starts calling unassigned_mem_accepts() (normally
silent) which is not a good sign.
Hmm... this is only because
Implement an initial minimal set of EL0-visible system registers:
* NZCV
* FPCR
* FPSR
* CTR_EL0
* DCZID_EL0
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
---
target-arm/cpu.h
From: Claudio Fontana claudio.font...@linaro.org
this patch adds support for C3.5.4 - C3.5.5
Conditional compare (both immediate and register)
Signed-off-by: Claudio Fontana claudio.font...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
Don't conditionalise GEM instantiation on networking attachments. The
device should always be present even if not attached to a network.
This allows for probing of the device by expectant guests (such as
OS's). This is needed because sysbus
From: Christoffer Dall christoffer.d...@linaro.org
TRIGGER can really mean mean anything (e.g. was it triggered, is it
level-triggered, is it edge-triggered, etc.). Rename to EDGE_TRIGGER to
make the code comprehensible without looking up the data structure.
Reviewed-by: Peter Maydell
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
If the UART back-end blocks, buffer in the Tx FIFO to try again later.
This stops the IO-thread busy waiting on char back-ends (which causes
all sorts of performance problems).
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
From: Christoffer Dall christoffer.d...@linaro.org
To make the code slightly cleaner to look at and make the save/restore
code easier to understand, introduce this function to set the priority of
interrupts.
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Christoffer Dall
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
There is an inline duplication of the raw_read and raw_write function
bodies. Fix by just calling raw_read/raw_write instead.
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
From: Michael S. Tsirkin m...@redhat.com
commit 5ce4f35781028ce1aee3341e6002f925fdc7aaf3
target-arm: A64: add set_pc cpu method
introduces an array aarch64_cpus which is zero
size if this code is built without CONFIG_USER_ONLY.
In particular an attempt to iterate over this array produces a
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
uart_rx_reset() called immediately above already does this. Remove.
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Message-id:
05e30826496cf2579084ed801ac0b2c0d0a3071f.1388626249.git.peter.crosthwa...@xilinx.com
Signed-off-by:
From: Alexander Graf ag...@suse.de
This patch adds emulation for the fmov instruction working on scalars
with an immediate payload.
Signed-off-by: Alexander Graf ag...@suse.de
[WN: Commit message tweak, rebase and use new infrastructure.]
Signed-off-by: Will Newton will.new...@linaro.org
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
Populate the TxFIFO with the Tx data before sending. Prepares
support for proper Tx flow control implementation.
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Message-id:
From: Alexander Graf ag...@suse.de
This patch adds emulation for the Floating-point data-processing (3 source)
group of instructions.
Signed-off-by: Alexander Graf ag...@suse.de
[WN: Commit message tweak, merged single and double precision patches.
Implement using muladd as suggested by Richard
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
Rename this field to match the many other uses of rx. Xilinx
docmentation (UG585) also refers to this as RxFIFO.
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Message-id:
From: Alex Bennée alex.ben...@linaro.org
This adds support for the pre/post-index ld/st forms with immediate
offsets as well as the un-scaled immediate form (which are all
variations on the same 9-bit immediate instruction form).
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by:
From: Alexander Graf ag...@suse.de
When dumping the current CPU state, we can also get a request
to dump the FPU state along with the CPU's integer state.
Add support to dump the VFP state when that flag is set, so that
we can properly debug code that modifies floating point registers.
Add a top level decoder skeleton for FP instructions.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-arm/translate-a64.c | 170 -
1 file changed, 169 insertions(+), 1 deletion(-)
diff
From: Sergey Fedorov s.fedo...@samsung.com
Use c13_context field instead of c13_fcse for CONTEXTIDR register
definition.
Signed-off-by: Sergey Fedorov s.fedo...@samsung.com
Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Message-id:
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
As per current QOM conventions.
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Message-id:
a1e31bd62e9709ffb9b3efc6c120f83f30b7a660.1388626249.git.peter.crosthwa...@xilinx.com
Signed-off-by: Peter Maydell
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
This tx timer implementation is flawed. Despite the controller
attempting to time the guest visable assertion of the TX-empty status
bit (and corresponding interrupt) the controller is still transmitting
characters instantaneously. There is
From: Alexander Graf ag...@suse.de
When setting rounding modes we currently just hardcode the numeric values
for rounding modes in a big switch statement.
With AArch64 support coming, we will need to refer to these rounding modes
at different places throughout the code though, so let's better
From: Claudio Fontana claudio.font...@linaro.org
The AArch64 linux-user support was written before but merged after
commit 4ce6243dc621 which cleaned up the handling of the clone()
syscall argument order, so we failed to notice that AArch64 also needs
TARGET_CLONE_BACKWARDS to be defined. Add
From: Claudio Fontana claudio.font...@linaro.org
This adds decoding support for C3.6.24 FP conditional select.
Signed-off-by: Claudio Fontana claudio.font...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
From: Alexander Graf ag...@suse.de
Add decoding for the exception generating instructions, and implement
SVC (syscalls) and BRK (software breakpoint).
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell
The AArch64 equivalent of the traditional AArch32
cp15 coprocessor registers is the set of instructions
MRS/MSR/SYS/SYSL, which cover between them both true
system registers and the operations with side effects
such as cache maintenance which in AArch32 are mixed
in with other cp15 registers.
Add a config for aarch64-linux-user, thereby enabling it as
a valid target.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Alexander Graf ag...@suse.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
default-configs/aarch64-linux-user.mak | 3 +++
1 file changed, 3
From: Claudio Fontana claudio.font...@linaro.org
This adds decoding support for C3.6.23 FP Conditional Compare.
Signed-off-by: Claudio Fontana claudio.font...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
From: Alex Bennée alex.ben...@linaro.org
This adds support for the load/store forms using a register offset.
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-arm/translate-a64.c |
From: Alex Bennée alex.ben...@linaro.org
This patch adds emulation for the mov wide instructions
(MOVN, MOVZ, MOVK).
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
In preparation for adding support for A64 load/store exclusive instructions,
widen the fields in the CPU state struct that deal with address and data values
for exclusives from 32 to 64 bits. Although in practice AArch64 and AArch32
exclusive accesses will be generally separate there are some odd
The A64 128 bit vector registers are stored as a pair of
uint64_t values in the register array. This means that if
we're directly loading or storing a value of size less than
64 bits we must adjust the offset appropriately to account
for whether the host is bigendian or not. Provide utility
From: Claudio Fontana claudio.font...@linaro.org
Add decoding support for C3.6.22 Floating-point compare.
Signed-off-by: Claudio Fontana claudio.font...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-arm/helper-a64.c
On Sun, Dec 29, 2013 at 02:32:50PM +0200, Marcel Apfelbaum wrote:
It seems that iasl has an issue when disassembles
some ACPI tables using the command line:
iasl -e DSDT -e SSDT -d HPET
I opened a bug on iasl project:
https://github.com/acpica/acpica/issues/20
Modified the iasl command
From: Alexander Graf ag...@suse.de
Adds support for Load Register (literal), both normal
and SIMD/FP forms.
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson
Il 06/01/2014 06:36, Li Guang ha scritto:
dma_memory_write() work?
what about cpu_physical_memory_write_rom ?
Sorry, I missed that load_image_targphys is already doing the right
thing on reset.
Paolo
Il 06/01/2014 08:56, Peter Crosthwaite ha scritto:
What are the guidelines for when to use one or the other?
-machine firmware= if you want to load a firmware blob in a board
specific way. This if you want to place a blob in memory at an
arbitrary location on reset.
-machine firmware= is
On 06.01.2014 11:09, Fam Zheng wrote:
On 2014年01月06日 14:48, Peter Lieven wrote:
On 06.01.2014 06:31, Fam Zheng wrote:
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/013 |9 -
tests/qemu-iotests/013.out |2 +-
2
The framebuffer is needlessly mapped (PROT_READ | PROT_WRITE), map it
PROT_READ instead.
The framebuffer is unmapped by replacing the framebuffer pages with
anonymous shared memory, calling mmap. Check for return errors and print
a warning.
Signed-off-by: Stefano Stabellini
Update the generic cpreg support code to also handle AArch64:
AArch64-visible registers coexist in the same hash table with
AArch32-visible ones, with a bit in the hash key distinguishing
them.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Peter Crosthwaite
From: Michael Matz m...@suse.de
This implement exclusive loads/stores for aarch64 along the lines of
arm32 and ppc implementations. The exclusive load remembers the address
and loaded value. The exclusive store throws an an exception which uses
those values to check for equality in a proper
From: Alex Bennée alex.ben...@linaro.org
Implement the non-carry forms of addition and subtraction
(immediate, extended register and shifted register).
This includes the code to calculate NZCV if the instruction
calls for setting the flags.
Signed-off-by: Alex Bennée alex.ben...@linaro.org
On 2014年01月06日 20:21, Peter Lieven wrote:
On 06.01.2014 11:09, Fam Zheng wrote:
On 2014年01月06日 14:48, Peter Lieven wrote:
On 06.01.2014 06:31, Fam Zheng wrote:
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/013 |9 -
From: Alexander Graf ag...@suse.de
This patch adds emulation for the Floating-point data-processing (2 source)
group of instructions.
Signed-off-by: Alexander Graf ag...@suse.de
[WN: Commit message tweak, merge single and double precision patches. Rebase
and update to new infrastructure.
Commit bcf2b7d introduced new 256k seabios files. However,
they were not installed.
Signed-off-by: Peter Lieven p...@kamp.de
---
Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index bdff4e4..807054b 100644
--- a/Makefile
+++ b/Makefile
@@
On 2 January 2014 22:21, Tom Musta tommu...@gmail.com wrote:
This patch adds the float32_to_uint64() routine, which converts a
32-bit floating point number to an unsigned 64 bit number.
This contribution can be licensed under either the softfloat-2a or -2b
license.
Signed-off-by: Tom Musta
Hi all
This idea is to modify QEMU's Makefiles, plus implementing some stubs to
make it possible to tailor QEMU to a smaller binary.
The current setup for Xen on X86 is to build i386-softmmu, and uses this
single binary for two purposes:
1. serves as device emulator for HVM guest.
2. serves as
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
The can_receive logic was only taking into account the RxFIFO
occupancy. RxFIFO population is only used for the echo and normal modes
however. Improve the logic to correctly return the true number of
receivable characters based on the current
From: Peter Crosthwaite peter.crosthwa...@xilinx.com
This should be rechecked on bus write accesses as such accesses may
change the underlying state that generates the interrupt. Particular
relevant for when the guest touches the interrupt status or mask.
Signed-off-by: Peter Crosthwaite
From: Alex Bennée alex.ben...@linaro.org
Now the AArch64 targets are in mainline we can include them in our
Travis test matrix.
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
.travis.yml | 1 +
1 file changed, 1 insertion(+)
diff
Refactor the code in various functions which calculates rounding
increments given the current rounding mode, so that instead of a
set of nested if statements we have a simple switch statement.
This will give us a clean place to add the case for the new
tiesAway rounding mode.
Signed-off-by: Peter
On 6 January 2014 12:54, Peter Lieven p...@kamp.de wrote:
Commit bcf2b7d introduced new 256k seabios files. However,
they were not installed.
This is a dup of this patch by Eduardo from last month:
http://patchwork.ozlabs.org/patch/299233/
thanks
-- PMM
Ping -- who's going to take this patch? Maybe it should
go via -trivial?
thanks
-- PMM
On 9 December 2013 23:33, Eduardo Habkost ehabk...@redhat.com wrote:
The default machine-type (pc-i440fx-2.0) now requires bios-256k.bin, but
make install isn't installing it, so qemu-system-x86_64 won't run
On 01/05/2014 09:39 PM, Stefan Hajnoczi wrote:
Commit 9117b47717ad208b12786ce88eacb013f9b3dd1c (qcow2: Change default
for new images to compat=1.1) changed the default qcow2 image format
version but forgot to update qemu-doc.texi and qemu-img.texi.
Signed-off-by: Stefan Hajnoczi
On 6 January 2014 13:17, Peter Lieven p...@kamp.de wrote:
On 06.01.2014 14:12, Peter Maydell wrote:
On 6 January 2014 12:54, Peter Lieven p...@kamp.de wrote:
Commit bcf2b7d introduced new 256k seabios files. However,
they were not installed.
This is a dup of this patch by Eduardo from last
On 06.01.2014 14:17, Peter Maydell wrote:
On 6 January 2014 13:17, Peter Lieven p...@kamp.de wrote:
On 06.01.2014 14:12, Peter Maydell wrote:
On 6 January 2014 12:54, Peter Lieven p...@kamp.de wrote:
Commit bcf2b7d introduced new 256k seabios files. However,
they were not installed.
This is
On Mon, 2014-01-06 at 13:43 +0200, Michael S. Tsirkin wrote:
On Sun, Dec 29, 2013 at 02:32:50PM +0200, Marcel Apfelbaum wrote:
It seems that iasl has an issue when disassembles
some ACPI tables using the command line:
iasl -e DSDT -e SSDT -d HPET
I opened a bug on iasl project:
On Mon, Jan 6, 2014 at 10:54 PM, Wei Liu wei.l...@citrix.com wrote:
Hi all
This idea is to modify QEMU's Makefiles, plus implementing some stubs to
make it possible to tailor QEMU to a smaller binary.
The current setup for Xen on X86 is to build i386-softmmu, and uses this
single binary for
On Mon, 2014-01-06 at 12:54 +, Wei Liu wrote:
Hi all
This idea is to modify QEMU's Makefiles, plus implementing some stubs to
make it possible to tailor QEMU to a smaller binary.
The current setup for Xen on X86 is to build i386-softmmu, and uses this
single binary for two purposes:
From: Alexander Graf ag...@suse.de
This patch adds emulation for the Data-processing (3 source)
family of instructions, namely MADD, MSUB, SMADDL, SMSUBL, SMULH,
UMADDL, UMSUBL, UMULH.
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by:
From: Will Newton will.new...@linaro.org
Add support for the AArch64 floating-point - integer conversion
instructions to disas_fpintconv. In the process we can rearrange
and simplify the detection of unallocated encodings a little.
We also correct a typo in the instruction encoding diagram for
This patch adds support for those instructions in the Floating-point
data-processing (1 source) group which are simple 32-bit-to-32-bit
or 64-bit-to-64-bit operations (ie everything except FCVT between
single/double/half precision).
We put the new round-to-int helpers in helper.c because they
From: Will Newton will.new...@linaro.org
Use the helpers provided for getting the correct FPSR and FPCR
values for the signal context.
Signed-off-by: Will Newton will.new...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
From: Alexander Graf ag...@suse.de
This patch adds emulation for the instruction group labeled
Floating-point - fixed-point conversions in the ARM ARM.
Namely this includes the instructions SCVTF, UCVTF, FCVTZS, FCVTZU
(scalar, fixed-point).
Signed-off-by: Alexander Graf ag...@suse.de
[WN:
Add the float to 16 bit integer conversion routines. These can be
trivially implemented in terms of the int32_to_float* routines, but
providing them makes our API more symmetrical and can simplify callers.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
include/fpu/softfloat.h | 21
From: Alex Bennée alex.ben...@linaro.org
This adds support for the forms of ld/st with a 12 bit
unsigned immediate offset.
Signed-off-by: Alex Bennée alex.ben...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
From: Will Newton will.new...@linaro.org
Define the full set of floating point to fixed point conversion
helpers required to support AArch64.
Signed-off-by: Will Newton will.new...@linaro.org
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
From: Tom Musta tommu...@gmail.com
This patch adds the float32_to_uint64() routine, which converts a
32-bit floating point number to an unsigned 64 bit number.
This contribution can be licensed under either the softfloat-2a or -2b
license.
Signed-off-by: Tom Musta tommu...@gmail.com
changes since commit f976b09ea2493fd41c98aaf6512908db0bae:
PPC: Fix compilation with TCG debug (2013-12-22 19:15:55 +0100)
are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git
tags/pull-target-arm-20140106
for you to fetch changes up
The common pattern for system registers in a 64-bit capable ARM
CPU is that when in AArch32 the cp15 register is a view of the
bottom 32 bits of the 64-bit AArch64 system register; writes in
AArch32 leave the top half unchanged. The most natural way to
model this is to have the state field in the
From: Tom Musta tommu...@gmail.com
The float64_to_uint32 has several flaws:
- for numbers between 2**32 and 2**64, the inexact exception flag
may get incorrectly set. In this case, only the invalid flag
should be set.
test pattern: 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38
- for
From: Tom Musta tommu...@gmail.com
The comment preceding the float64_to_uint64 routine suggests that
the implementation is broken. And this is, indeed, the case.
This patch properly implements the conversion of a 64-bit floating
point number to an unsigned, 64 bit integer.
This contribution
In preparation for adding conversions between float16 and float64,
factor out code currently done inline in the float16=float32
conversion functions into functions RoundAndPackFloat16 and
NormalizeFloat16Subnormal along the lines of the existing versions
for the other float types.
Note that we
From: Tom Musta tommu...@gmail.com
The float64_to_uint32_round_to_zero routine is incorrect.
For example, the following test pattern:
425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38
will erroneously set the inexact flag.
This patch re-implements the routine to use the
From: Will Newton will.new...@linaro.org
The VFP conversion helpers for A32 round to zero as this is the only
rounding mode supported. Rename these helpers to make it clear that
they round to zero and are not suitable for use in the AArch64 code.
Signed-off-by: Will Newton will.new...@linaro.org
Add support for FCVT between half, single and double precision.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
target-arm/helper.c| 20 +
target-arm/helper.h| 2 ++
target-arm/translate-a64.c | 75 +-
3 files
This patchset completes the FP emulation, leaving us with only
Neon (and CRC32) to go to complete the user-mode emulation.
Most of this is fixing issues and adding new features to softfloat.
(As usual, all Linaro authored softfloat patches are licensed under
either softfloat-2a or softfloat-2b,
Add the conversion functions float16_to_float64() and
float64_to_float16(), which will be needed for the ARM
A64 instruction set.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
fpu/softfloat.c | 75 +
include/fpu/softfloat.h | 2
Currently the int-to-float functions take types which are specified
as at least X bits wide, rather than exactly X bits wide. This is
confusing and unhelpful since it means that the callers have to include
an explicit cast to [u]intXX_t to ensure the correct behaviour. Fix
them all to take the
IEEE754-2008 specifies a new rounding mode:
roundTiesToAway: the floating-point number nearest to the infinitely
precise result shall be delivered; if the two nearest floating-point
numbers bracketing an unrepresentable infinitely precise result are
equally near, the one with larger magnitude
From: Will Newton will.new...@linaro.org
ARMv8 requires support for converting 32 and 64bit floating point
values to signed and unsigned 16bit integers.
Signed-off-by: Will Newton will.new...@linaro.org
[PMM: updated not to incorrectly set Inexact for Invalid inputs]
Signed-off-by: Peter Maydell
On 06.01.2014 11:08, Wenchao Xia wrote:
于 2014/1/6 2:02, Peter Lieven 写道:
vnc_update_client currently scans the dirty bitmap of each client
bitwise which is a very costly operation if only few bits are dirty.
vnc_refresh_server_surface does almost the same.
this patch optimizes both by
On 6 January 2014 12:54, Wei Liu wei.l...@citrix.com wrote:
In fact I've already hacked a prototype during Christmas. What's I've
done so far:
1. create target-null which only has some stubs to CPU emulation
framework.
2. add a few lines to configure / Makefiles*, create
Use the VFP_BINOP macro to provide helpers for min, max, minnum
and maxnum, rather than hand-rolling them. (The float64 max
version is not used by A32 but will be needed for A64.)
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Richard Henderson r...@twiddle.net
---
define_one_arm_cp_reg_with_opaque() has a set of nested loops which
insert a cpreg entry into the hashtable for each of the possible
opc/crn/crm values allowed by wildcard specifications. We're about
to add an extra loop to this nesting, so pull the core of the loop
(which adds a single entry to
1 - 100 of 221 matches
Mail list logo