aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-04-13 10:28:01 +0100
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-04-13 10:47:26 +0100
commit14f27ee6c97c585018882ac8f1f5f2d64618ba66 (patch)
treed86d20c6c095b1b8aaf3bdce6bd52a04c1c5f490 /gcc/fortran/resolve.c
parenta1ccbae63cdf25b8ff66da18ed0d081cb9411ccf (diff)
downloadgcc-14f27ee6c97c585018882ac8f1f5f2d64618ba66.zip
gcc-14f27ee6c97c585018882ac8f1f5f2d64618ba66.tar.gz
gcc-14f27ee6c97c585018882ac8f1f5f2d64618ba66.tar.bz2
MSP430: Fix memory offsets used by %C and %D asm output operand modifiers
The %C and %D operand modifiers are supposed to access the 3rd and 4th words of a 64-bit value, so for memory references they need to offset the given address by 4 and 6 bytes respectively. gcc/ChangeLog: 2020-04-13 Jozef Lawrynowicz <jozef.l@mittosystems.com> * config/msp430/msp430.c (msp430_print_operand): Offset a %C memory reference by 4 bytes, and %D memory reference by 6 bytes. gcc/testsuite/ChangeLog: 2020-04-13 Jozef Lawrynowicz <jozef.l@mittosystems.com> * gcc.target/msp430/operand-modifiers.c: New test.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions