gcc/libgcc/config/msp430
Jozef Lawrynowicz 0fcc78f79e 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
2019-06-16 21:24:56 +00:00
..
cmpd.c cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
cmpsi2.S Update copyright years. 2019-01-01 13:31:55 +01:00
epilogue.S Update copyright years. 2019-01-01 13:31:55 +01:00
floathidf.c cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
floathisf.c cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
floatunhidf.c cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
floatunhisf.c cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
lib2bitcountHI.c Update copyright years. 2019-01-01 13:31:55 +01:00
lib2divHI.c Update copyright years. 2019-01-01 13:31:55 +01:00
lib2divQI.c Update copyright years. 2019-01-01 13:31:55 +01:00
lib2divSI.c Update copyright years. 2019-01-01 13:31:55 +01:00
lib2hw_mul.S Update copyright years. 2019-01-01 13:31:55 +01:00
lib2mul.c Update copyright years. 2019-01-01 13:31:55 +01:00
lib2shift.c Update copyright years. 2019-01-01 13:31:55 +01:00
mpy.c gcc * config.gcc (extra_gcc_objs): Define for MSP430. 2015-12-04 17:24:30 +00:00
msp430-divmod.h Update copyright years. 2019-01-01 13:31:55 +01:00
msp430-mul.h Update copyright years. 2019-01-01 13:31:55 +01:00
slli.S MSP430: Implement 64-bit shifts in assembly code 2019-06-16 21:24:56 +00:00
srai.S MSP430: Implement 64-bit shifts in assembly code 2019-06-16 21:24:56 +00:00
srli.S MSP430: Implement 64-bit shifts in assembly code 2019-06-16 21:24:56 +00:00
t-msp430 Update copyright years. 2019-01-01 13:31:55 +01:00