All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu
@ 2016-06-08  9:12 Christophe Lyon
  2016-06-09 18:41 ` [Qemu-devel] [Bug 1590336] " Peter Maydell
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Christophe Lyon @ 2016-06-08  9:12 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hello,

It seems that qemu-arm does not reject some v8-only instructions as it
should, but executes them "correctly".

For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

objdump says:
   1074c:       f3fa05a0        vrintz.f32      d16, d16
and qemu -d in_asm says:
0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

The problem is still present in qemu-2.6.0

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1590336

Title:
  qemu-arm does not reject vrintz on non-v8 cpu

Status in QEMU:
  New

Bug description:
  Hello,

  It seems that qemu-arm does not reject some v8-only instructions as it
  should, but executes them "correctly".

  For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
  vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

  objdump says:
     1074c:       f3fa05a0        vrintz.f32      d16, d16
  and qemu -d in_asm says:
  0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

  The problem is still present in qemu-2.6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1590336/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1590336] Re: qemu-arm does not reject vrintz on non-v8 cpu
  2016-06-08  9:12 [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu Christophe Lyon
@ 2016-06-09 18:41 ` Peter Maydell
  2016-06-09 19:14 ` Christophe Lyon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2016-06-09 18:41 UTC (permalink / raw)
  To: qemu-devel

Should be fixed by http://patchwork.ozlabs.org/patch/633105/

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1590336

Title:
  qemu-arm does not reject vrintz on non-v8 cpu

Status in QEMU:
  New

Bug description:
  Hello,

  It seems that qemu-arm does not reject some v8-only instructions as it
  should, but executes them "correctly".

  For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
  vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

  objdump says:
     1074c:       f3fa05a0        vrintz.f32      d16, d16
  and qemu -d in_asm says:
  0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

  The problem is still present in qemu-2.6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1590336/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1590336] Re: qemu-arm does not reject vrintz on non-v8 cpu
  2016-06-08  9:12 [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu Christophe Lyon
  2016-06-09 18:41 ` [Qemu-devel] [Bug 1590336] " Peter Maydell
@ 2016-06-09 19:14 ` Christophe Lyon
  2016-06-09 20:52   ` Peter Maydell
  2016-06-20 15:58 ` Peter Maydell
  2017-01-17 18:34 ` Thomas Huth
  3 siblings, 1 reply; 6+ messages in thread
From: Christophe Lyon @ 2016-06-09 19:14 UTC (permalink / raw)
  To: qemu-devel

I confirm your patch does fix the problem.

You may still want to fix the disassembler such that it dumps the right
instruction, but that would be a separate fix.

Thanks for your quick support.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1590336

Title:
  qemu-arm does not reject vrintz on non-v8 cpu

Status in QEMU:
  New

Bug description:
  Hello,

  It seems that qemu-arm does not reject some v8-only instructions as it
  should, but executes them "correctly".

  For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
  vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

  objdump says:
     1074c:       f3fa05a0        vrintz.f32      d16, d16
  and qemu -d in_asm says:
  0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

  The problem is still present in qemu-2.6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1590336/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1590336] Re: qemu-arm does not reject vrintz on non-v8 cpu
  2016-06-09 19:14 ` Christophe Lyon
@ 2016-06-09 20:52   ` Peter Maydell
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2016-06-09 20:52 UTC (permalink / raw)
  To: Bug 1590336; +Cc: QEMU Developers

On 9 June 2016 at 20:14, Christophe Lyon <christophe.lyon@linaro.org> wrote:
> You may still want to fix the disassembler such that it dumps the right
> instruction, but that would be a separate fix.

Unfortunately the disassembler is the pre-GPLv3 binutils one,
so we can't just update it (and I'm not particularly inclined
to independently re-implement all the 32-bit instruction set
changes post that change).

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1590336] Re: qemu-arm does not reject vrintz on non-v8 cpu
  2016-06-08  9:12 [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu Christophe Lyon
  2016-06-09 18:41 ` [Qemu-devel] [Bug 1590336] " Peter Maydell
  2016-06-09 19:14 ` Christophe Lyon
@ 2016-06-20 15:58 ` Peter Maydell
  2017-01-17 18:34 ` Thomas Huth
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2016-06-20 15:58 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1590336

Title:
  qemu-arm does not reject vrintz on non-v8 cpu

Status in QEMU:
  Fix Committed

Bug description:
  Hello,

  It seems that qemu-arm does not reject some v8-only instructions as it
  should, but executes them "correctly".

  For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
  vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

  objdump says:
     1074c:       f3fa05a0        vrintz.f32      d16, d16
  and qemu -d in_asm says:
  0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

  The problem is still present in qemu-2.6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1590336/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1590336] Re: qemu-arm does not reject vrintz on non-v8 cpu
  2016-06-08  9:12 [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu Christophe Lyon
                   ` (2 preceding siblings ...)
  2016-06-20 15:58 ` Peter Maydell
@ 2017-01-17 18:34 ` Thomas Huth
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2017-01-17 18:34 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1590336

Title:
  qemu-arm does not reject vrintz on non-v8 cpu

Status in QEMU:
  Fix Released

Bug description:
  Hello,

  It seems that qemu-arm does not reject some v8-only instructions as it
  should, but executes them "correctly".

  For instance, while compiling/running some of the GCC ARM instrinsics tests, we noticed that
  vrintz should be rejected on cortex-a9 for instance, while it is executed as if the instruction was supported.

  objdump says:
     1074c:       f3fa05a0        vrintz.f32      d16, d16
  and qemu -d in_asm says:
  0x0001074c:  f3fa05a0      vabal.u<illegal width 64>    q8, d26, d16

  The problem is still present in qemu-2.6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1590336/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-17 18:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-08  9:12 [Qemu-devel] [Bug 1590336] [NEW] qemu-arm does not reject vrintz on non-v8 cpu Christophe Lyon
2016-06-09 18:41 ` [Qemu-devel] [Bug 1590336] " Peter Maydell
2016-06-09 19:14 ` Christophe Lyon
2016-06-09 20:52   ` Peter Maydell
2016-06-20 15:58 ` Peter Maydell
2017-01-17 18:34 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.