Re: FW: [PATCH] rl78 umaxdi3 improvement

2018-01-19 Thread DJ Delorie
"Sebastian Perta" writes: > * config/rl78/rl78.md: New define_expand "umaxdi3". > * config/rl78/rl78.md: New define_expand "smaxdi3". > * config/rl78/rl78.md: New define_expand "smindi3". > * config/rl78/rl78.md: New define_expand "umindi3". >

FW: [PATCH] rl78 umaxdi3 improvement

2017-12-07 Thread Sebastian Perta
Hello, The following patch improves both the speed and code size for 64 bit unsigned max for RL78: it emits a library function call instead of emitting code for the 64 bit max for every single time. The unsigned max function which was added in libgcc is hand written, so more optimal than what