Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches

2018-12-31 Thread Programmingkid
> On Dec 31, 2018, at 12:00 PM, qemu-devel-requ...@nongnu.org wrote: > > Message: 2 > Date: Mon, 31 Dec 2018 16:50:47 +0100 > From: "=?UTF-8?B?S8WRdsOhZ8OzIFpvbHTDoW4=?=" > To: Programmingkid > Cc: QEMU Developers , Gerd Hoffmann > > Subject: Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1

Re: [Qemu-devel] Qemu-devel Digest, Vol 189, Issue 424

2018-12-31 Thread Programmingkid
> On Dec 31, 2018, at 12:00 PM, qemu-devel-requ...@nongnu.org wrote: > > Message: 2 > Date: Mon, 31 Dec 2018 16:50:47 +0100 > From: "=?UTF-8?B?S8WRdsOhZ8OzIFpvbHTDoW4=?=" > To: Programmingkid > Cc: QEMU Developers , Gerd Hoffmann > > Subject: Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1

Re: [Qemu-devel] [PATCH 1/2] tests: tcg: mips: Move source files to new location

2018-12-31 Thread Philippe Mathieu-Daudé
On 12/27/18 2:12 PM, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > New directory organization is as follows: > > tests > tcg > mips > user > isa > r5900 > ase > dsp > system > ase > dsp > > New file names are u

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-31 Thread Joseph Myers
On Fri, 28 Dec 2018, Adhemerval Zanella wrote: > >> Currently we only have nios2 and csky (unfortunately). But since generic > >> definition for off_t and off64_t still assumes non-LFS support, all new > >> 32-bits ports potentially might carry the issue. > > > > For csky, we could still change

Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches

2018-12-31 Thread Kővágó Zoltán
On 2018-12-29 01:49, Programmingkid wrote: > >> On Dec 28, 2018, at 7:19 PM, Zoltán Kővágó wrote: >> >> On 2018-12-29 01:12, Programmingkid wrote: >>> On Dec 28, 2018, at 3:05 PM, Kővágó Zoltán wrote: On 2018-12-28 01:46, Programmingkid wrote: > >> On Dec 27, 2018, at 8:33

[Qemu-devel] [PULL v2 39/44] disas: nanoMIPS: Reorder declarations and definitions of gpr decoders

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Reorder declarations and definitions of gpr decoders by number of input bits of corresponding encoding type. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 200 ++--- disas/na

[Qemu-devel] [PULL v2 38/44] disas: nanoMIPS: Comment the decoder of 'gpr1' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr1' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 21 + 1 file changed, 21 insertions(+) diff --git a/disas/nanomips.cpp b/disas/na

[Qemu-devel] [PULL v2 43/44] tests/tcg: mips: Test R5900 three-operand MADDU

2018-12-31 Thread Aleksandar Markovic
From: Fredrik Noring Test R5900 three-operand MADDU. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Fredrik Noring --- tests/tcg/mips/mipsr5900/Makefile | 1 + tests/tcg/mips/mipsr5900/maddu.c | 37 + 2 files changed,

[Qemu-devel] [PULL v2 37/44] disas: nanoMIPS: Rename the decoder of 'gpr1' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr1' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 4 ++-- disas/nanomips.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/disas

[Qemu-devel] [PULL v2 34/44] disas: nanoMIPS: Comment the decoder of 'gpr2.reg1' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr2.reg1' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 22 ++ 1 file changed, 22 insertions(+) diff --git a/disas/nanomips.cpp b/di

[Qemu-devel] [PULL v2 30/44] disas: nanoMIPS: Comment the decoder of 'gpr4' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr4' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 26 ++ 1 file changed, 26 insertions(+) diff --git a/disas/nanomips.cpp b/dis

[Qemu-devel] [PULL v2 29/44] disas: nanoMIPS: Rename the decoder of 'gpr4' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr4' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 20 ++-- disas/nanomips.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-)

[Qemu-devel] [PULL v2 41/44] tests/tcg: mips: Test R5900 three-operand MADD

2018-12-31 Thread Aleksandar Markovic
From: Fredrik Noring Test R5900 three-operand MADD. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Fredrik Noring --- tests/tcg/mips/mipsr5900/Makefile | 1 + tests/tcg/mips/mipsr5900/madd.c | 45 +++ 2 files changed,

[Qemu-devel] [PULL v2 31/44] disas: nanoMIPS: Rename the decoder of 'gpr4.zero' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr4.zero' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 10 +- disas/nanomips.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff

[Qemu-devel] [PULL v2 44/44] tests/tcg: mips: Test R5900 three-operand MADDU1

2018-12-31 Thread Aleksandar Markovic
From: Fredrik Noring Test R5900 three-operand MADDU1. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Fredrik Noring --- tests/tcg/mips/mipsr5900/maddu.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --gi

[Qemu-devel] [PULL v2 21/44] disas: nanoMIPS: Fix an FP-related misnomer 2

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename NMD::extract_fs_15_14_13_12_11(uint64 instruction) to NMD::extract_fs_20_19_18_17_16(uint64 instruction). Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 242 ++--- disa

[Qemu-devel] [PULL v2 33/44] disas: nanoMIPS: Rename the decoder of 'gpr2.reg1' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr2.reg1' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 6 +++--- disas/nanomips.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[Qemu-devel] [PULL v2 19/44] disas: nanoMIPS: Name some functions in a more descriptive way

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename some functions that have names that are hard to understand. Reviewed-by: Aleksandar Rikalo Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 112 ++--- disas/nanomips.h |

[Qemu-devel] [PULL v2 32/44] disas: nanoMIPS: Comment the decoder of 'gpr4.zero' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr4.zero' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 27 +++ 1 file changed, 27 insertions(+) diff --git a/disas/nanomips.cpp

[Qemu-devel] [PULL v2 28/44] disas: nanoMIPS: Comment the decoder of 'gpr3.src.store' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr3.src.store' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 32 1 file changed, 32 insertions(+) diff --git a/disas/na

[Qemu-devel] [PULL v2 20/44] disas: nanoMIPS: Fix an FP-related misnomer 1

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename NMD::extract_fd_10_9_8_7_6(uint64 instruction) to NMD::extract_fd_15_14_13_12_11(uint64 instruction). Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 142 ++--- disas/na

[Qemu-devel] [PULL v2 27/44] disas: nanoMIPS: Rename the decoder of 'gpr3.src.store' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr3.src.store' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 10 +- disas/nanomips.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-)

[Qemu-devel] [PULL v2 25/44] disas: nanoMIPS: Rename the decoder of 'gpr3' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr3' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 96 +++--- disas/nanomips.h | 2 +- 2 files changed,

[Qemu-devel] [PULL v2 26/44] disas: nanoMIPS: Comment the decoder of 'gpr3' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr3' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 51 --- 1 file changed, 48 insertions(+), 3 deletions(

[Qemu-devel] [PULL v2 42/44] tests/tcg: mips: Test R5900 three-operand MADD1

2018-12-31 Thread Aleksandar Markovic
From: Fredrik Noring Test R5900 three-operand MADD1. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Fredrik Noring --- tests/tcg/mips/mipsr5900/madd.c | 43 - 1 file changed, 38 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [PULL v2 09/44] target/mips: MXU: Add handlers for logic instructions

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add translation handlers for four logic MXU instructions. It should be noted that there is an error in MXU documentation (dated June 2017) regarding opcodes for this group of instructions. This was confirmed by running tests on hardware, and also by looking up other rel

[Qemu-devel] [PULL v2 16/44] disas: nanoMIPS: Remove functions that are not used

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Some functions were not used at all. Compiler doesn't complain since they are class memebers. Remove them - no future usage is planned. Reviewed-by: Aleksandar Rikalo Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 208 --

[Qemu-devel] [PULL v2 10/44] target/mips: MXU: Add handlers for max/min instructions

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add translation handlers for six max/min MXU instructions. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 298 1 file changed, 277 insertions(+), 21 deletions(-) diff --g

[Qemu-devel] [PULL v2 40/44] disas: nanoMIPS: Add a note on documentation

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add "nanoMIPS32 Instruction Set Technical Reference Manual" as a reference. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 7 +++ 1 file changed, 7 insertions(+) diff --git a/disas/nanomips.cpp b/disas/nanomips.cpp ind

[Qemu-devel] [PULL v2 15/44] disas: nanoMIPS: Fix preamble text in nanomips.* files

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix several mistakes in preambles of nanomips disassembler source files. Reviewed-by: Aleksandar Rikalo Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 7 --- disas/nanomips.h | 7 --- 2 files changed, 8 insertions(

[Qemu-devel] [PULL v2 36/44] disas: nanoMIPS: Comment the decoder of 'gpr2.reg2' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Comment the decoder of 'gpr2.reg2' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 22 ++ 1 file changed, 22 insertions(+) diff --git a/disas/nanomips.cpp b/di

[Qemu-devel] [PULL v2 35/44] disas: nanoMIPS: Rename the decoder of 'gpr2.reg2' gpr encoding type

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename the decoder of 'gpr2.reg2' gpr encoding type in nanoMIPS disassembler. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 6 +++--- disas/nanomips.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[Qemu-devel] [PULL v2 11/44] target/mips: MXU: Add handler for an align instruction

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add translation handler for S32ALNI MXU instruction. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 197 +++- 1 file changed, 194 insertions(+), 3 deletions(-) diff --git a/ta

[Qemu-devel] [PULL v2 00/44] MIPS pull request for December 2018 - v2

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic The following changes since commit 9b2e891ec5ccdb4a7d583b77988848282606fdea: Merge remote-tracking branch 'remotes/marcel/tags/rdma-pull-request' into staging (2018-12-22 11:25:31 +) are available in the git repository at: https://github.com/AMarkovic/qemu ta

[Qemu-devel] [PULL v2 17/44] disas: nanoMIPS: Fix a function misnomer

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix wrong function name. The convention in these files is that names of extraction functions should reflect bit patterns they are extracting. Reviewed-by: Aleksandar Rikalo Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 264

[Qemu-devel] [PULL v2 04/44] MAINTAINERS: Add Aleksandar Rikalo as a reviewer for MIPS content

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add Aleksandar Rikalo as a reviewer for MIPS content. Aleksandar brings to us more than six years of experience in working on a variety of development tools for MIPS architectures, and will greatly help QEMU community understand and support intricacies of MIPS better. A

[Qemu-devel] [PULL v2 06/44] target/mips: MXU: Add missing opcodes/decoding for LX* instructions

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add missing opcodes and decoding engine for LXB, LXH, LXW, LXBU, and LXHU instructions. They were for some reason forgotten in previous commits. The MXU opcode list and decoding engine should be now complete. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Marko

[Qemu-devel] [PULL v2 24/44] disas: nanoMIPS: Fix order of more invocations

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix order of extraction function invocations so that extraction goes from MSB side to LSB side of the given instruction coding content. This is desireable because of consistency and easier visual spotting of errors. After this patch, all such invocations should be in th

[Qemu-devel] [PULL v2 23/44] disas: nanoMIPS: Name more functions in a more descriptive way

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename more functions that have names that are hard to understand. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 212 ++--- disas/nanomips.h | 28 +++ 2 files changed,

[Qemu-devel] [PULL v2 02/44] MAINTAINERS: target/mips: Add filter for mips in email subjects

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to redirect mails (sent to qemu-devel) containing "mips" in the subject line to MIPS maintainers and reviewers. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAIN

[Qemu-devel] [PULL v2 12/44] target/mips: Support R5900 three-operand MADD and MADDU instructions

2018-12-31 Thread Aleksandar Markovic
From: Philippe Mathieu-Daudé The three-operand MADD and MADDU are specific to Sony R5900 core, and Toshiba TX19/TX39/TX79 cores as well. The "32-Bit TX System RISC TX39 Family Architecture manual" is available at https://wiki.qemu.org/File:DSAE0022432.pdf Reviewed-by: Aleksandar Markovic Signe

[Qemu-devel] [PULL v2 22/44] disas: nanoMIPS: Fix an FP-related misnomer 3

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename NMD::extract_ft_20_19_18_17_16(uint64 instruction) to NMD::extract_ft_25_24_23_22_21(uint64 instruction). Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic --- disas/nanomips.cpp | 258 ++--- disa

[Qemu-devel] [PULL v2 07/44] target/mips: MXU: Add generic naming for optn2 constants

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add generic naming involving generig suffixes OPTN0, OPTN1, OPTN2, OPTN3 for four optn2 constants. Existing suffixes WW, LW, HW, XW are not quite appropriate for some instructions using optn2. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target

[Qemu-devel] [PULL v2 13/44] target/mips: Support R5900 three-operand MADD1 and MADDU1 instructions

2018-12-31 Thread Aleksandar Markovic
From: Fredrik Noring The three-operand MADD and MADDU are specific to R5900 cores. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Fredrik Noring --- target/mips/translate.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ta

[Qemu-devel] [PULL v2 08/44] target/mips: MXU: Improve the comment containing MXU overview

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Improve textual description of MXU extension. These are mostly comment formatting changes. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 74 + 1 file changed, 44 insertion

[Qemu-devel] [PULL v2 05/44] atomics: Set ATOMIC_REG_SIZE=8 for MIPS n32

2018-12-31 Thread Aleksandar Markovic
From: Paul Burton ATOMIC_REG_SIZE is currently defined as the default sizeof(void *) for all MIPS host builds, including those using the n32 ABI. n32 is the MIPS64 ILP32 ABI and as such tcg/mips/tcg-target.h defines TCG_TARGET_REG_BITS as 64 for n32 builds. If we attempt to build QEMU for an n32

[Qemu-devel] [PULL v2 03/44] MAINTAINERS: target/mips: Reorder items alphabetically

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Reorder items alphabetically for better visibility. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index bf82eb3..39fb1ae

[Qemu-devel] [PULL v2 01/44] MAINTAINERS: target/mips: Add MIPS files under default-configs directory

2018-12-31 Thread Aleksandar Markovic
From: Aleksandar Markovic Add following files as maintained within the main MIPS target section in MAINTAINERS: default-configs/mips64el-linux-user.mak default-configs/mips64-linux-user.mak default-configs/mipsn32el-linux-user.mak default-configs/mipsn32-linux-user.mak default-configs/mipsel-lin

[Qemu-devel] [PULL v2 14/44] disas: nanoMIPS: Fix types and format strings

2018-12-31 Thread Aleksandar Markovic
From: Stefan Weil Use POSIX types and format strings. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Stefan Weil --- disas/nanomips.cpp | 20 disas/nanomips.h | 10 +- 2 files changed, 17 insertions(+), 13 deletions(-) diff

Re: [Qemu-devel] [PATCH 0/6] target/mips: Amend MXU support

2018-12-31 Thread Aleksandar Markovic
> From: Aleksandar Markovic > Subject: Re: [PATCH 0/6] target/mips: Amend MXU support > > > From: Aleksandar Markovic > > Subject: [PATCH 0/6] target/mips: Amend MXU support > > > > From: Aleksandar Markovic > > > > Various updates to MXU ASE support. > > > > Aleksandar Markovic (6): > > target