aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-15 21:03:10 +0000
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-18 11:03:39 +0000
commite045b85836091f2461263a3c3f4f1972b3753f9d (patch)
tree7565c2a12be4e7efaeacbc0c109dd27d4ec5fa4d /libcpp/files.c
parent30270bf042049bf6aee6184e0b7688d9ca7b479d (diff)
downloadgcc-e045b85836091f2461263a3c3f4f1972b3753f9d.zip
gcc-e045b85836091f2461263a3c3f4f1972b3753f9d.tar.gz
gcc-e045b85836091f2461263a3c3f4f1972b3753f9d.tar.bz2
MSP430: Add mul{hi,si} and {u,}mulsidi3 expanders
GCC generates better code when multiplication operations, which require library functions to perform, are caught in early in RTL, rather than leaving the operation to be mapped to a library function later on. When there is hardware multiply support, it is more efficient to perform widening multiplication using the hardware multiplier instead of letting GCC widen the arguments before calling the multiplication routine in the wider mode. gcc/ChangeLog: * config/msp430/msp430.md (mulhi3): New. (mulsi3): New. (mulsidi3): Rename to *mulsidi3_inline. (umulsidi3): Rename to *umulsidi3_inline. (mulsidi3): New define_expand. (umulsidi3): New define_expand.
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions