RTEMS | dhrystone: Prevent procedure merging (#5058)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Jul 2 09:48:42 UTC 2024



Sebastian Huber created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5058

Assignee: Sebastian Huber

## Summary

>From the Dhrystone RATIONAL file:

```
o No procedure merging

  Although Dhrystone contains some very short procedures where execution would
  benefit  from  procedure  merging (inlining, macro expansion of procedures),
  procedure merging is not to be used.  The reason is that the  percentage  of
  procedure  and  function  calls  is  part of the "Dhrystone distribution" of
  statements contained in [1].  This restriction does not hold for the  string
  functions  of  the  C  version  since ANSI C allows an implementation to use
  inline code for these functions.
```

We have to add `-fno-inline` to the CFLGAS.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5058
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240702/a6e54e03/attachment.htm>


More information about the bugs mailing list