qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c29b1b: target-xtensa: fix missing errno code


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c29b1b: target-xtensa: fix missing errno codes for mingw32
Date: Sat, 08 Sep 2012 02:30:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c29b1bee4b025f51f02cc9f521ca19cb5f3eb432
      
https://github.com/qemu/qemu/commit/c29b1bee4b025f51f02cc9f521ca19cb5f3eb432
  Author: Max Filippov <address@hidden>
  Date:   2012-09-08 (Sat, 08 Sep 2012)

  Changed paths:
    M target-xtensa/xtensa-semi.c

  Log Message:
  -----------
  target-xtensa: fix missing errno codes for mingw32

Put the following errno value mappings under #ifdef:

xtensa-semi.c: In function 'errno_h2g':
xtensa-semi.c:113: error: 'ENOTBLK' undeclared (first use in this function)
xtensa-semi.c:113: error: (Each undeclared identifier is reported only once
xtensa-semi.c:113: error: for each function it appears in.)
xtensa-semi.c:113: error: array index in initializer not of integer type
xtensa-semi.c:113: error: (near initialization for 'guest_errno')
xtensa-semi.c:124: error: 'ETXTBSY' undeclared (first use in this function)
xtensa-semi.c:124: error: array index in initializer not of integer type
xtensa-semi.c:124: error: (near initialization for 'guest_errno')
xtensa-semi.c:134: error: 'ELOOP' undeclared (first use in this function)
xtensa-semi.c:134: error: array index in initializer not of integer type
xtensa-semi.c:134: error: (near initialization for 'guest_errno')

Signed-off-by: Max Filippov <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 5acfc8320fdd455c3ee5c21fe7d3403dbc755372
      
https://github.com/qemu/qemu/commit/5acfc8320fdd455c3ee5c21fe7d3403dbc755372
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-08 (Sat, 08 Sep 2012)

  Changed paths:
    M target-sparc/fop_helper.c

  Log Message:
  -----------
  target-sparc: fix fcmp{s,d,q} instructions wrt exception

fcmp{s,d,q} instructions are supposed to ignore quiet NaN (contrary to
the fcmpe{s,d,q} instructions), but the current code is wrongly setting
the NV exception in that case. Moreover the current code is duplicated:
first the arguments are checked for NaN to generate an exception, and
later in case the comparison is unordered (which can only happens if one
of the argument is a NaN), the same check is done to generate an
exception.

Fix that by calling clear_float_exceptions() followed by
check_ieee_exceptions() as for the other floating point instructions.
Use the _compare_quiet functions for fcmp{s,d,q} and the _compare ones
for fcmpe{s,d,q}. Simplify the flag setting by not clearing a flag that
is set the line just below.

This fix allows the math glibc testsuite to pass.

Cc: Blue Swirl <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: ce6c760c37b9a88db87c5b9b9bf39ca866e570f6
      
https://github.com/qemu/qemu/commit/ce6c760c37b9a88db87c5b9b9bf39ca866e570f6
  Author: Fabien Chouteau <address@hidden>
  Date:   2012-09-08 (Sat, 08 Sep 2012)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  Add MAINTAINERS entry for leon3

Signed-off-by: Fabien Chouteau <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c001ed15f7bf...ce6c760c37b9

reply via email to

[Prev in Thread] Current Thread [Next in Thread]