qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f42c22: fpu: Replace int64 typedef with int64


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f42c22: fpu: Replace int64 typedef with int64_t
Date: Fri, 22 Jan 2016 08:30:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f42c222482b651400f0fa417eb174da1c9502c1c
      
https://github.com/qemu/qemu/commit/f42c222482b651400f0fa417eb174da1c9502c1c
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M target-mips/msa_helper.c

  Log Message:
  -----------
  fpu: Replace int64 typedef with int64_t

Replace the int64 softfloat-specific typedef with int64_t.
This change was made with

find include fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\bint64\b/int64_t/g'

together with manual removal of the typedef definition, and
manual undoing of some mis-hits where macro arguments were
being used for token pasting rather than as a type.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Message-id: address@hidden


  Commit: 182f42fdc219e6481654fcfb73b17e4b4e63b6ff
      
https://github.com/qemu/qemu/commit/182f42fdc219e6481654fcfb73b17e4b4e63b6ff
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M target-alpha/fpu_helper.c
    M target-mips/kvm.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  fpu: Replace uint64 typedef with uint64_t

Replace the uint64 softfloat-specific typedef with uint64_t.
This change was made with

find include fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\buint64\b/uint64_t/g'

together with manual removal of the typedef definition, and
manual undoing of some mis-hits where macro arguments were
being used for token pasting rather than as a type.

Note that the target-mips/kvm.c and target-s390x/kvm.c changes are fixing
code that should not have been using the uint64 type in the first place.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Acked-by: James Hogan <address@hidden>
Message-id: address@hidden


  Commit: f4014512cda682a9d0c75310d278d7ae96b0505c
      
https://github.com/qemu/qemu/commit/f4014512cda682a9d0c75310d278d7ae96b0505c
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat.c
    M hw/ipmi/isa_ipmi_bt.c
    M hw/ipmi/isa_ipmi_kcs.c
    M include/fpu/softfloat.h
    M target-mips/msa_helper.c

  Log Message:
  -----------
  fpu: Replace int32 typedef with int32_t

Replace the int32 softfloat-specific typedef with int32_t.
This change was made with

find hw include fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\bint32\b/int32_t/g'

together with manual removal of the typedef definition, and
manual undoing of some mis-hits where macro arguments were
being used for token pasting rather than as a type.

The uses in hw/ipmi/ should not have been using this type at all.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Acked-by: James Hogan <address@hidden>
Message-id: address@hidden


  Commit: 3a87d00910ef64a2eece4aad25d96ea10683fc5c
      
https://github.com/qemu/qemu/commit/3a87d00910ef64a2eece4aad25d96ea10683fc5c
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat.c
    M hw/i386/pc.c
    M hw/misc/imx25_ccm.c
    M hw/misc/imx31_ccm.c
    M hw/net/vmxnet3.c
    M hw/ppc/spapr_events.c
    M include/fpu/softfloat.h
    M include/hw/i386/pc.h
    M tests/vhost-user-test.c

  Log Message:
  -----------
  fpu: Replace uint32 typedef with uint32_t

Replace the uint32 softfloat-specific typedef with uint32_t.
This change was made with

find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\buint32\b/uint32_t/g'

together with manual removal of the typedef definition,
manual undoing of various mis-hits, and another couple of
fixes found via test compilation.

All the uses in hw/ were using the wrong type by mistake.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Acked-by: James Hogan <address@hidden>
Message-id: address@hidden


  Commit: 8f506c709adb7d3bed4ebefefe9487c156192a64
      
https://github.com/qemu/qemu/commit/8f506c709adb7d3bed4ebefefe9487c156192a64
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat-macros.h
    M fpu/softfloat-specialize.h
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  fpu: Replace int8 typedef with int8_t

Replace the int8 softfloat-specific typedef with int8_t.
This change was made with

find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\bint8\b/int8_t/g'

together with manual removal of the typedef definition, and
manual undoing of various mis-hits.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Acked-by: James Hogan <address@hidden>
Message-id: address@hidden


  Commit: d341d9f3062c74d74c94ebe6359f067bed8311ba
      
https://github.com/qemu/qemu/commit/d341d9f3062c74d74c94ebe6359f067bed8311ba
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M crypto/secret.c
    M hw/net/vmware_utils.h
    M include/fpu/softfloat.h
    M migration/ram.c

  Log Message:
  -----------
  fpu: Replace uint8 typedef with uint8_t

Replace the uint8 softfloat-specific typedef with uint8_t.
This change was made with

find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 
's/\buint8\b/uint8_t/g'

together with manual removal of the typedef definition and
manual fixing of more erroneous uses found via test compilation.

It turns out that the only code using this type is an accidental
use where uint8_t was intended anyway...

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Leon Alrae <address@hidden>
Acked-by: James Hogan <address@hidden>
Message-id: address@hidden


  Commit: 7ceac86f49b564954f5bde477c4281f407be1399
      
https://github.com/qemu/qemu/commit/7ceac86f49b564954f5bde477c4281f407be1399
  Author: Aurelien Jarno <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M fpu/softfloat.c

  Log Message:
  -----------
  softfloat: fix return type of roundAndPackFloat16

The roundAndPackFloat16 function should return a float16 value, not a
float32 one. Fix that.

Cc: Peter Maydell <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 047e363b05679724d6b784c6ec6310697fe48ba0
      
https://github.com/qemu/qemu/commit/047e363b05679724d6b784c6ec6310697fe48ba0
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-22 (Fri, 22 Jan 2016)

  Changed paths:
    M crypto/secret.c
    M fpu/softfloat-macros.h
    M fpu/softfloat-specialize.h
    M fpu/softfloat.c
    M hw/i386/pc.c
    M hw/ipmi/isa_ipmi_bt.c
    M hw/ipmi/isa_ipmi_kcs.c
    M hw/misc/imx25_ccm.c
    M hw/misc/imx31_ccm.c
    M hw/net/vmware_utils.h
    M hw/net/vmxnet3.c
    M hw/ppc/spapr_events.c
    M include/fpu/softfloat.h
    M include/hw/i386/pc.h
    M migration/ram.c
    M target-alpha/fpu_helper.c
    M target-mips/kvm.c
    M target-mips/msa_helper.c
    M target-s390x/kvm.c
    M tests/vhost-user-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-softfloat-20160122' 
into staging

softfloat:
 * drop confusing softfloat-only types
 * fix return type of roundAndPackFloat16

# gpg: Signature made Fri 22 Jan 2016 15:15:17 GMT using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"
# gpg:                 aka "Peter Maydell <address@hidden>"
# gpg:                 aka "Peter Maydell <address@hidden>"

* remotes/pmaydell/tags/pull-softfloat-20160122:
  softfloat: fix return type of roundAndPackFloat16
  fpu: Replace uint8 typedef with uint8_t
  fpu: Replace int8 typedef with int8_t
  fpu: Replace uint32 typedef with uint32_t
  fpu: Replace int32 typedef with int32_t
  fpu: Replace uint64 typedef with uint64_t
  fpu: Replace int64 typedef with int64_t

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3c2c85ec4b11...047e363b0567

reply via email to

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