Public bug reported:

[qemu/target-arm/helper.c:5493]: (style) Expression '(X & 0x1f) !=
0xf80f0000' is always true.

Source code is

        (env->uncached_cpsr & CPSR_M) != CPSR_USER &&

but

./qemu/target-arm/cpu.h:#define CPSR_M (0x1fU)

./qemu/target-arm/cpu.h:#define CPSR_USER (CPSR_NZCV | CPSR_Q | CPSR_GE)

** 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/1550503

Title:
  target-arm/helper.c:5493: bad test ?

Status in QEMU:
  New

Bug description:
  [qemu/target-arm/helper.c:5493]: (style) Expression '(X & 0x1f) !=
  0xf80f0000' is always true.

  Source code is

          (env->uncached_cpsr & CPSR_M) != CPSR_USER &&

  but

  ./qemu/target-arm/cpu.h:#define CPSR_M (0x1fU)

  ./qemu/target-arm/cpu.h:#define CPSR_USER (CPSR_NZCV | CPSR_Q |
  CPSR_GE)

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

Reply via email to