nickysn
51e6a3f45b
+ implemented OP_SHL/OP_SHR/OP_SAR/OP_ROL/OP_ROR in tcgz80.a_op_reg_reg_internal
...
git-svn-id: branches/z80@44665 -
2020-04-09 21:14:23 +00:00
nickysn
eb26cd55d4
+ implemented OP_XOR in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44661 -
2020-04-09 14:29:56 +00:00
nickysn
7a86d193cc
+ implemented OP_OR in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44660 -
2020-04-09 14:24:36 +00:00
nickysn
f00f39abef
+ implemented OP_AND in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44659 -
2020-04-09 14:21:57 +00:00
nickysn
5360770ed2
+ implemented OP_SUB in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44658 -
2020-04-09 13:41:28 +00:00
nickysn
75a2f0352e
* fixed 64-bit OP_ADD in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44657 -
2020-04-09 13:28:22 +00:00
nickysn
a419018ff0
+ handle fromsize>tosize in tcgz80.a_load_reg_reg
...
git-svn-id: branches/z80@44656 -
2020-04-09 13:23:10 +00:00
nickysn
ce56125e40
+ implemented OP_ADD in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44655 -
2020-04-09 13:16:48 +00:00
nickysn
62cc60d081
* use register L for returning 8-bit values, DEHL for 32-bit values (SDCC-compatible)
...
git-svn-id: branches/z80@44654 -
2020-04-09 00:11:39 +00:00
nickysn
3c8ed1cfbc
* use 8-bit registers for the function return regs
...
git-svn-id: branches/z80@44653 -
2020-04-09 00:07:20 +00:00
nickysn
b896d2fea2
+ implemented sign extension in tcgz80.a_load_reg_ref
...
git-svn-id: branches/z80@44652 -
2020-04-08 23:59:58 +00:00
nickysn
6fea99ac9d
+ implemented sign extension in tcgz80.a_load_ref_reg
...
git-svn-id: branches/z80@44651 -
2020-04-08 23:57:26 +00:00
nickysn
df59c070a1
+ implemented sign extension in tcgz80.a_load_reg_reg
...
git-svn-id: branches/z80@44650 -
2020-04-08 23:50:14 +00:00
nickysn
a8e047fcbb
* synchronized with trunk
...
git-svn-id: branches/z80@44649 -
2020-04-08 22:36:55 +00:00
nickysn
b84bcdaeee
+ implemented unsigned int extension in tcgz80.a_load_ref_reg
...
git-svn-id: branches/z80@44648 -
2020-04-08 22:30:35 +00:00
florian
b7374401fd
* fix taicpu.is_same_reg_move
...
git-svn-id: trunk@44647 -
2020-04-08 20:42:40 +00:00
nickysn
d0166242b3
+ support unsigned sign extension in tcgz80.a_load_reg_reg
...
git-svn-id: branches/z80@44646 -
2020-04-08 20:23:16 +00:00
nickysn
7d9658e2ba
+ support unsigned expansion in tcgz80.a_load_reg_ref
...
git-svn-id: branches/z80@44645 -
2020-04-08 20:12:17 +00:00
nickysn
5e94fbff54
+ added method make_simple_ref (empty for now, but will be implemented later)
...
git-svn-id: branches/z80@44640 -
2020-04-07 23:12:33 +00:00
nickysn
7fd807905f
+ initial implementation of pushing ref params in tcgz80.a_load_ref_cgpara
...
git-svn-id: branches/z80@44639 -
2020-04-07 22:55:33 +00:00
nickysn
c53cd30e7f
+ implemented tcgz80.a_load_reg_cgpara for pushing 1-byte parameters on the stack
...
git-svn-id: branches/z80@44638 -
2020-04-07 22:34:05 +00:00
nickysn
9573e373f2
* synchronize with trunk
...
git-svn-id: branches/z80@44637 -
2020-04-07 22:19:18 +00:00
florian
1dd914ffc8
+ initial xtensa-linux rtl
...
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
nickysn
4fc83a44d3
+ implemented byte-sized inc/dec by 1 in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44631 -
2020-04-07 01:03:02 +00:00
nickysn
0d04d198fe
+ emit warnings for unimplemented ops in tcgz80.a_op_const_reg_internal
...
git-svn-id: branches/z80@44630 -
2020-04-07 00:55:54 +00:00
nickysn
b2549b63cd
* implemented pop_parasize for the Z80 and declared stdcall to be a clearstack pocall on this arch
...
git-svn-id: branches/z80@44629 -
2020-04-07 00:07:34 +00:00
nickysn
472ac716b7
* mark the 8-bit versions of the registers as volatile when calling procedures/functions
...
git-svn-id: branches/z80@44628 -
2020-04-06 23:31:20 +00:00
nickysn
f15b54085c
* fixed tcgz80.a_load_const_cgpara for pushing params on the stack
...
git-svn-id: branches/z80@44627 -
2020-04-06 23:15:00 +00:00
nickysn
fe20a00711
* don't typecast the const to aint in taicpu.op_const_reg and .op_reg_const, because, on the Z80, aint
...
is 8-bit (we treat it as having an 8-bit ALU), but it also has 16-bit instructions and registers,
that can take 16-bit consts
git-svn-id: branches/z80@44626 -
2020-04-06 23:12:02 +00:00
nickysn
3e3a392d88
* z80 regdat files regenerated
...
git-svn-id: branches/z80@44625 -
2020-04-06 22:49:05 +00:00
nickysn
692ec2fcba
* synchronized with trunk
...
git-svn-id: branches/z80@44623 -
2020-04-06 22:14:42 +00:00
florian
f99fbafabc
+ initial thlcgxtensa.g_intf_wrapper
...
git-svn-id: trunk@44622 -
2020-04-06 20:44:33 +00:00
florian
759803f268
* improve assembler reader
...
git-svn-id: trunk@44621 -
2020-04-06 20:44:32 +00:00
florian
2e23e2b0fd
+ optimize SUB for small constants using ADDI
...
git-svn-id: trunk@44620 -
2020-04-06 20:44:32 +00:00
florian
04f3784af5
* better setting of expectloc
...
git-svn-id: trunk@44619 -
2020-04-06 20:44:31 +00:00
pierre
9dd0a1f3b5
Fix ppudump after addition of system_xtensa_linux target
...
git-svn-id: trunk@44617 -
2020-04-06 06:43:05 +00:00
nickysn
9922956115
* use the sdcc-sdldz80 linker instead of sdcc-sdld on the Z80
...
git-svn-id: branches/z80@44616 -
2020-04-05 22:33:20 +00:00
nickysn
487da972ad
+ added z80-embedded to the compiler help screen
...
git-svn-id: branches/z80@44615 -
2020-04-05 21:33:34 +00:00
florian
79f74bf8cb
+ xtensa-linux added to systems_linux
...
git-svn-id: trunk@44614 -
2020-04-05 21:12:15 +00:00
florian
4836ff29bd
+ more instructions
...
git-svn-id: trunk@44613 -
2020-04-05 21:12:14 +00:00
florian
e8fabb752a
+ basic xtensa-linux support in the compiler
...
git-svn-id: trunk@44611 -
2020-04-05 21:12:12 +00:00
nickysn
052bc6c5e8
* synchronized with trunk
...
git-svn-id: branches/z80@44609 -
2020-04-05 20:52:53 +00:00
nickysn
6dcc12f19b
* use the .ihx file name, instead of .elf for the z80-embedded output, because it is in Intel hex
...
format, not ELF
git-svn-id: branches/z80@44608 -
2020-04-05 20:51:54 +00:00
nickysn
891939d7ea
+ add the -n option first to the sdcc-sdld linker, so it doesn't echo all the data on the screen. For
...
debugging purposes, this can be overriden with the -k-p fpc option.
git-svn-id: branches/z80@44607 -
2020-04-05 20:50:31 +00:00
nickysn
b1047523c8
* moved $MAP earlier in the command line of sdcc-sdld
...
git-svn-id: branches/z80@44606 -
2020-04-05 20:48:37 +00:00
nickysn
9d5a07a59a
+ allow passing extra options to the sdcc-sdld linker via the -k option
...
git-svn-id: branches/z80@44605 -
2020-04-05 20:36:42 +00:00
nickysn
5b0f177b62
+ create linker map file generation added for sdcc-sdld
...
git-svn-id: branches/z80@44604 -
2020-04-05 20:32:25 +00:00
nickysn
77406b1560
* delete the linker response file after linking with sdld
...
git-svn-id: branches/z80@44603 -
2020-04-05 20:26:53 +00:00
nickysn
e73a57652f
+ initial support for the sdcc-sdld linker for the z80-embedded target
...
git-svn-id: branches/z80@44602 -
2020-04-05 17:46:06 +00:00
florian
0f06a7205b
* do not create full copies of objects when object checking is on, resolves #36863
...
git-svn-id: trunk@44598 -
2020-04-05 16:26:10 +00:00