On 20.07.2016 13:28, Vaclav Peroutka wrote:
> 
> Hi Philipp,
> 
> thank you for the good work ! All regression tests are OK ?
> 
> Vaclav
> 

Regression tests pass. The Dhrystone self-test passes.
However, I have to admit, that to achieve this, I closely looked at what
SDCC does for Dhrystone and focused on improving thhat. So Applications
that are quite different from Dhrystone won't benefit much (e.g.
Coremark scores do not increase).

Here's what I improved to improve the Dhrystone score:

* memcpy()
* strcpy()
* strcmp()
* Multiplication of 16-bit numbers by 7 or 100¹
* Casts from booleans to int
* Peepholes that optimize out loads when a on-stack result value is read
both by an immediately following and a later instruction

Philipp

¹ this will later be generalized to other numbers that have few nonzero
bits in canonical signed digit representation (RFE #505).


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to