diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2019-06-16 21:24:56 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozefl@gcc.gnu.org> | 2019-06-16 21:24:56 +0000 |
commit | 0fcc78f79e85b816480e0425cc8d7c496e739e88 (patch) | |
tree | 588d5986dd2a505d0fff820371c546025752c25e /gcc/tree-ssa-alias.c | |
parent | 1409f3b0f39baa489d4cc467a3489dfe78653ec4 (diff) | |
download | gcc-0fcc78f79e85b816480e0425cc8d7c496e739e88.zip gcc-0fcc78f79e85b816480e0425cc8d7c496e739e88.tar.gz gcc-0fcc78f79e85b816480e0425cc8d7c496e739e88.tar.bz2 |
MSP430: Implement 64-bit shifts in assembly code
gcc/ChangeLog:
2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/msp430.c (msp430_expand_helper): Setup arguments which
describe how to perform MSPABI compliant 64-bit shift.
* config/msp430/msp430.md (ashldi3): New define_expand.
(ashrdi3): New define_expand.
(lshrdi3): New define_expand.
libgcc/ChangeLog:
2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/slli.S (__mspabi_sllll): New library function for
performing a logical left shift of a 64-bit value.
* config/msp430/srai.S (__mspabi_srall): New library function for
performing a arithmetic right shift of a 64-bit value.
* config/msp430/srll.S (__mspabi_srlll): New library function for
performing a logical right shift of a 64-bit value.
gcc/testsuite/ChangeLog:
2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc.target/msp430/mspabi_sllll.c: New test.
* gcc.target/msp430/mspabi_srall.c: New test.
* gcc.target/msp430/mspabi_srlll.c: New test.
* gcc.c-torture/execute/shiftdi-2.c: New test.
From-SVN: r272360
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions