qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1892081] [NEW] Performance improvement when using "QEMU_FLATTEN" with softfloat type conversions
@ 2020-08-18 18:36 Ahmed Karaman
  2020-08-18 18:37 ` [Bug 1892081] " Ahmed Karaman
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ahmed Karaman @ 2020-08-18 18:36 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Attached below is a matrix multiplication program for double data
types. The program performs the casting operation "(double)rand()"
when generating random numbers.

This operation calls the integer to float softfloat conversion
function "int32_to_float_64".

Adding the "QEMU_FLATTEN" attribute to the function definition
decreases the instructions per call of the function by about 63%.

Attached are before and after performance screenshots from
KCachegrind.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "matmult_double.c"
   https://bugs.launchpad.net/bugs/1892081/+attachment/5402577/+files/matmult_double.c

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

Title:
  Performance improvement when using "QEMU_FLATTEN" with softfloat type
  conversions

Status in QEMU:
  New

Bug description:
  Attached below is a matrix multiplication program for double data
  types. The program performs the casting operation "(double)rand()"
  when generating random numbers.

  This operation calls the integer to float softfloat conversion
  function "int32_to_float_64".

  Adding the "QEMU_FLATTEN" attribute to the function definition
  decreases the instructions per call of the function by about 63%.

  Attached are before and after performance screenshots from
  KCachegrind.

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


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

end of thread, other threads:[~2021-08-25  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 18:36 [Bug 1892081] [NEW] Performance improvement when using "QEMU_FLATTEN" with softfloat type conversions Ahmed Karaman
2020-08-18 18:37 ` [Bug 1892081] " Ahmed Karaman
2020-08-18 18:37 ` Ahmed Karaman
2020-10-18 20:26 ` Richard Henderson
2021-05-04 19:39 ` Thomas Huth
2021-06-23 17:32 ` Richard Henderson
2021-08-25  7:17 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).