Signed-off-by: Richard Henderson
---
target/i386/helper.h | 2 --
target/i386/int_helper.c | 11 ---
target/i386/translate.c | 31 ++-
3 files changed, 14 insertions(+), 30 deletions(-)
diff --git a/target/i386/helper.h b/target/i386/helper.h
index bd9b2
The ISA manual documents the output is undefined if the input was zero.
However, we document in target-i386 that the behavior of real silicon
is to preserve the contents of the output register. We also mention
that there are real applications that depend on this. That this is
baked into silicon
Signed-off-by: Richard Henderson
---
tcg/s390/tcg-target.h | 2 +-
tcg/s390/tcg-target.inc.c | 36 +++-
2 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index 3ac2dc9..22500ba 100644
--- a/tcg/s390/t
Cc: qemu-...@nongnu.org
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target.h | 10 +---
tcg/ppc/tcg-target.inc.c | 67
2 files changed, 73 insertions(+), 4 deletions(-)
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index 69
Use the new primitives for RISBG.
Signed-off-by: Richard Henderson
---
target/s390x/translate.c | 34 ++
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 02bc705..6cebb7e 100644
--- a/target/
The number of actual invocations of ctpop itself does not warrent
an opcode, but it is very helpful for POWER7 to use in generating
an expansion for ctz.
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
tcg-runtime.c| 10 ++
tcg/aarch64/tcg-target.h | 2 ++
tcg
Previously we could not have different constraints for different ISA levels,
which prevented us from eliding the matching constraint for shifts.
We do now have to make sure that the operands match for constant shifts.
We can also handle some small left shifts via lea.
Signed-off-by: Richard Hende
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index f41ed2c..9e26bb7 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1105,6 +1105,21 @@ void tcg_optimize(TCGContext *s)
Use a switch instead of searching a table. Share constraints between
32-bit and 64-bit, when at all possible.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.inc.c | 340 +++---
1 file changed, 198 insertions(+), 142 deletions(-)
diff --git a/tc
Signed-off-by: Richard Henderson
---
target/i386/cc_helper.c | 3 +++
target/i386/cpu.h| 1 +
target/i386/ops_sse.h| 26 --
target/i386/ops_sse_header.h | 1 -
target/i386/translate.c | 13 +++--
5 files changed, 15 insertions(+), 2
Cc: Max Filippov
Signed-off-by: Richard Henderson
---
target/xtensa/translate.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index 5c719a4..5a93705 100644
--- a/target/xtensa/translate.c
+++ b/target/xtensa/
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.inc.c | 197 ++
1 file changed, 95 insertions(+), 102 deletions(-)
diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c
index e497bef..83572ac 100644
--- a/tcg/i386/tcg-target.inc.c
This is the same concept as, and same markup as, the
early clobber markup in gcc.
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
tcg/tcg.c | 34 ++
tcg/tcg.h | 1 +
2 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/tcg/tcg.c b/tcg/t
Particularly when andc is also available, this is two insns
shorter than using clz to compute ctz.
Signed-off-by: Richard Henderson
---
tcg/tcg-op.c | 100 +++
1 file changed, 60 insertions(+), 40 deletions(-)
diff --git a/tcg/tcg-op.c b/t
The number of actual invocations does not warrent an opcode,
and the backends generating it. But at least we can eliminate
redundant helpers.
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
tcg-runtime.c | 10 ++
tcg/tcg-op.c | 28
tc
Tested-by: Bastian Koppelmann
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
target/tricore/helper.h| 1 -
target/tricore/op_helper.c | 5 -
target/tricore/translate.c | 2 +-
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/tricore/helper.h b/t
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.h | 5 +++--
tcg/i386/tcg-target.inc.c | 12 +++-
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index b8f73f5..21d96ec 100644
--- a/tcg/i386/tcg-target.h
+++ b/tcg
This will allow the target to tailor the constraints to the
auto-detected ISA extensions.
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
tcg/aarch64/tcg-target.inc.c | 14 ++--
tcg/arm/tcg-target.inc.c | 14 ++--
tcg/i386/tcg-target.inc.c| 14 ++--
tcg/ia64/tc
Cc: qemu-...@nongnu.org
Signed-off-by: Richard Henderson
---
target/ppc/helper.h | 3 +--
target/ppc/int_helper.c | 18 +++---
target/ppc/translate.c | 6 +-
3 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/target/ppc/helper.h b/target/ppc/helper.h
index 1ed1
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
target/arm/helper-a64.c| 10 --
target/arm/helper-a64.h| 2 --
target/arm/translate-a64.c | 8
3 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/target/arm/helper-a64.c b/target/arm/helper-a64.
This will let us choose how to interpret a given constraint
depending on whether the opcode is 32- or 64-bit. Which will
let us share more constraint combinations between opcodes.
At the same time, change the interface to return the advanced
pointer instead of passing it in/out by reference.
Rev
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1469978
Title:
compile qem
Signed-off-by: Richard Henderson
---
target/tilegx/helper.c| 5 -
target/tilegx/helper.h| 1 -
target/tilegx/translate.c | 2 +-
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/tilegx/helper.c b/target/tilegx/helper.c
index b6f5e29..4964bb9 100644
--- a/target/til
Cc: qemu-...@nongnu.org
Signed-off-by: Richard Henderson
---
disas/ppc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/disas/ppc.c b/disas/ppc.c
index bd05623..ed7e0d0 100644
--- a/disas/ppc.c
+++ b/disas/ppc.c
@@ -1955,6 +1955,9 @@ extract_tbr (unsigned long insn,
#define POWE
Signed-off-by: Richard Henderson
---
target/s390x/int_helper.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/target/s390x/int_helper.c b/target/s390x/int_helper.c
index 5bc470b..f26f36a 100644
--- a/target/s390x/int_helper.c
+++ b/target/s390x/int_helper.c
@@
Cc: Edgar E. Iglesias
Signed-off-by: Richard Henderson
---
target/cris/helper.h| 1 -
target/cris/op_helper.c | 5 -
target/cris/translate.c | 2 +-
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/cris/helper.h b/target/cris/helper.h
index ff35956..20d21c4 100644
---
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
include/qemu/host-utils.h | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index 46187bb..96288d0 100644
--- a/include/qemu/host-util
Signed-off-by: Richard Henderson
---
target/tilegx/helper.c| 10 --
target/tilegx/helper.h| 2 --
target/tilegx/translate.c | 4 ++--
3 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/target/tilegx/helper.c b/target/tilegx/helper.c
index b4fba9c..b6f5e29 100644
---
From: Alex Bennée
Add some unit tests for bit count functions (currently only ctpop). As
the routines are based on the Hackers Delight optimisations I based
the test patterns on their tests.
Signed-off-by: Alex Bennée
Signed-off-by: Richard Henderson
---
tests/.gitignore | 1 +
tests/
Signed-off-by: Richard Henderson
---
target/s390x/helper.h | 1 -
target/s390x/int_helper.c | 6 --
target/s390x/translate.c | 2 +-
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/target/s390x/helper.h b/target/s390x/helper.h
index 207a6e7..9102071 100644
--- a/target/s390
Signed-off-by: Richard Henderson
---
target/unicore32/helper.c| 10 --
target/unicore32/helper.h| 3 ---
target/unicore32/translate.c | 6 +++---
3 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/target/unicore32/helper.c b/target/unicore32/helper.c
index d603bde..
Reviewed-by: Alex Bennée
Signed-off-by: Richard Henderson
---
target/arm/helper-a64.c| 10 --
target/arm/helper-a64.h| 2 --
target/arm/helper.c| 5 -
target/arm/helper.h| 1 -
target/arm/translate-a64.c | 8
target/arm/translate.c | 6 +++---
Signed-off-by: Richard Henderson
---
tcg/aarch64/tcg-target.h | 8
tcg/aarch64/tcg-target.inc.c | 48
2 files changed, 52 insertions(+), 4 deletions(-)
diff --git a/tcg/aarch64/tcg-target.h b/tcg/aarch64/tcg-target.h
index 976f493..9d6b0
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.h | 8 +--
tcg/i386/tcg-target.inc.c | 125 ++
2 files changed, 120 insertions(+), 13 deletions(-)
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index f2d9955..8fff287 100644
-
Signed-off-by: Richard Henderson
---
target/alpha/helper.h | 2 --
target/alpha/int_helper.c | 5 -
target/alpha/translate.c | 2 +-
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/target/alpha/helper.h b/target/alpha/helper.h
index eed3906..d60f208 100644
--- a/target/alph
Cc: Mark Cave-Ayland
Signed-off-by: Richard Henderson
---
target/sparc/helper.c| 5 -
target/sparc/helper.h| 1 -
target/sparc/translate.c | 2 +-
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/sparc/helper.c b/target/sparc/helper.c
index 359b0b1..1d85489 100644
Cc: qemu-...@nongnu.org
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target.h | 5 +++--
tcg/ppc/tcg-target.inc.c | 12 +++-
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index 57e66cf..abd8b3d 100644
--- a/tcg/ppc/tcg
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1469924
Title:
qemu-kvm cr
From: "Longpeng(Mike)"
As the key length of xts(aes) is different with other mode of aes,
so we should check specially in cryptodev_builtin_get_aes_algo, if
it is xts mode.
Signed-off-by: Longpeng(Mike)
Reviewed-by: Gonglei
Signed-off-by: Gonglei
---
backends/cryptodev-builtin.c | 47 +++
From: "Longpeng(Mike)"
This patch add 3des-ede support for cryptodev. However this is effective
only when backend using libgcrypt/nettle, because cipher-builtin doesn't
support 3des-ede yet.
Signed-off-by: Longpeng(Mike)
Signed-off-by: Gonglei
---
backends/cryptodev-builtin.c | 12 +++
From: "Longpeng(Mike)"
This patch add xts(aes) support.
Signed-off-by: Longpeng(Mike)
Reviewed-by: Gonglei
Signed-off-by: Gonglei
---
backends/cryptodev-builtin.c | 8
1 file changed, 8 insertions(+)
diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c
index 579
From: "Longpeng(Mike)"
Single-DES is obsolete and it's broken/useless for decades, we should
remove it in cryptodev, as suggested by Daniel.
Guest who wants to use this obsolete cipher alg will use its built-in
implementation instead.
Signed-off-by: Longpeng(Mike)
Reviewed-by: Daniel P. Berrang
The following changes since commit a470b33259bf82ef2336bfcd5d07640562d3f63b:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
(2016-12-22 19:23:51 +)
are available in the git repository at:
https://github.com/gongleiarei/qemu.git tags/cryptodev-next-2016122
101 - 143 of 143 matches
Mail list logo