qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e76c75: qdev: Fix 32-bit compilation in print


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e76c75: qdev: Fix 32-bit compilation in print_size
Date: Wed, 31 Jul 2013 07:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e76c756fd3d3b652c6a65ebe16f2bfb25b8d025e
      
https://github.com/qemu/qemu/commit/e76c756fd3d3b652c6a65ebe16f2bfb25b8d025e
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Fix 32-bit compilation in print_size

Signed-off-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 1197cbb9eda1dc82e2fa1815ca62bc3de158353e
      
https://github.com/qemu/qemu/commit/1197cbb9eda1dc82e2fa1815ca62bc3de158353e
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M hw/core/qdev-properties.c

  Log Message:
  -----------
  qdev: Use clz in print_size

We can compute a floor log2 value with clz rather than a division loop.

Signed-off-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/75e2a4baf153...1197cbb9eda1

reply via email to

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