George Koehler
a1d1f38691
Add test for EM rol, ror. Fix i80, i86, powerpc.
...
EM instructions _rol_ and _ror_ do rotate an integer left or right.
Our compilers and optimizers never emit _rol_ nor _ror_, but I might
want to use them in the future.
Add _rol_ and _ror_ to powerpc. Fix `rol 4` and `ror 4` in both i80
and i86, where the rules for `rol 4` and `ror 4` seem to have never
been tested until now.
2017-12-07 17:16:21 -05:00
ceriel
5e03b1bebb
Fixes: some conditionals were evaluated wrong due to the overflow bit
1995-07-21 12:05:26 +00:00
ceriel
fdc0e2efdb
minor improvement
1995-03-29 11:57:27 +00:00
ceriel
34f7036b87
Reordered patterns
1995-03-28 11:22:34 +00:00
ceriel
06b0d3775f
Added some patterns
1995-03-28 10:01:02 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
e09aac1b4a
shifts do NOT set condition codes properly
1992-12-14 16:40:22 +00:00
ceriel
d18493b0ac
Some minor modifications reflecting some changes in the peephole optimizer
1992-09-01 10:19:21 +00:00
ceriel
813ca898a7
Bug fix: generated a 'push dl', which does not exist
1992-01-13 10:31:23 +00:00
ceriel
9cfb64d5c2
Bug fix in LOC LOC CII ZEQ/ZNE pattern
1991-11-14 13:20:55 +00:00
ceriel
564cbc6eba
Only call NOP routine when debugging table
1991-09-04 10:55:52 +00:00
ceriel
003382e13f
Fix in 'LDC CMS TNE' pattern
1991-07-22 09:23:25 +00:00
ceriel
c0d92bbc76
Added some patterns
1991-04-10 10:23:34 +00:00
ceriel
e5b52ce56f
Added some more patterns
1991-04-05 13:27:49 +00:00
ceriel
86151519db
Some small changes to reduce local variable count
1991-04-04 16:48:18 +00:00
ceriel
5b2b02ae1e
Added patterns
1991-04-04 13:21:46 +00:00
ceriel
cafd4a0497
Added patterns to improve code for getc() and putc()
1991-03-27 15:47:50 +00:00
ceriel
f9f8f93115
Fixed typo
1991-03-26 14:43:06 +00:00
ceriel
9565b3bd24
Added some patterns
1991-03-26 10:11:23 +00:00
ceriel
f48f0efe60
Added some more patterns
1991-03-13 15:56:43 +00:00
ceriel
f78e573b69
fixed labeldefs so that registers are killed
1990-10-29 16:39:39 +00:00
eck
ee652e6908
changed stacheight to topeltsize
1990-09-04 17:13:37 +00:00
eck
b23125354b
added patterns for stackheight mechanism
1990-07-19 17:22:56 +00:00
ceriel
ddd97f9328
Added new patterns
1990-06-14 16:45:33 +00:00
ceriel
f0c0b894f2
corrected SDF patterns
1990-04-04 15:06:32 +00:00
ceriel
f99d67e76e
minor improvement: LDC CMS T?? does not need STACK in stack pattern
1990-03-20 15:49:04 +00:00
ceriel
353d22ea90
LDC CMS TNE was wrong
1990-03-20 15:01:25 +00:00
ceriel
2236ff6d6a
Fix: some patterns were never found due to wrong condition
1990-02-28 12:10:49 +00:00
ceriel
972d39139d
Added some patterns for shifts with constant shift count
1990-02-19 16:38:35 +00:00
ceriel
541279bd1e
Changed an #ifdef NOTDEF to #if 0
1990-02-09 15:03:17 +00:00
ceriel
8a8bb6cf10
removed wrong pattern
1990-02-09 10:41:58 +00:00
ceriel
a022b9490c
LOE INE used address register; it is probably better to use a general register
1989-11-30 10:07:49 +00:00
ceriel
295c8d2515
a fix to ZER ? and simplified ZRL, ZRE
1989-11-21 11:38:08 +00:00
ceriel
c5ee3b6735
Added patterns
1989-11-09 18:43:02 +00:00
ceriel
1158018fdf
Added some patterns
1989-11-03 13:28:37 +00:00
ceriel
ed479cbb76
Do not call the .nop subroutine for a NOP (ANSI C modification)
1989-10-26 10:10:34 +00:00
ceriel
a5b0790d96
Added CSA ==4 and CSB ==4 entries, needed for ANSI C
1989-10-25 17:21:52 +00:00
ceriel
ba8482c5ab
Added another pattern
1989-10-23 10:26:00 +00:00
ceriel
10dd78edbf
Added patterns
1989-10-20 17:32:04 +00:00
ceriel
64b7d49c0a
Added patterns
1989-10-20 14:36:26 +00:00
ceriel
95563ae3bc
small improvement: added pattern for LDC -1 CMS 4 ZEQ/ZNE
1989-10-18 10:15:49 +00:00
ceriel
0ef99949bc
use con_float file, and use new interface to fif and fef routines
1989-07-31 14:25:53 +00:00
ceriel
c7be2d1a44
bug fix in NGI for longs
1989-07-24 10:40:21 +00:00
ceriel
57106471dc
some fixes
1989-05-16 15:41:36 +00:00
ceriel
7531131416
fix: kills line for STI 1 with ADDR_LOCAL was wrong
1989-05-11 13:55:31 +00:00
ceriel
0c19cc22e0
fixed some incorrect kills
1989-02-15 11:39:13 +00:00
ceriel
76684055eb
some simplifications and a bug fix
1989-02-03 16:32:07 +00:00
ceriel
7c39967dc5
use STS and LOS routine
1989-01-18 10:51:06 +00:00
ceriel
46f633870d
fixes and improvements
1988-12-14 15:33:20 +00:00
ceriel
e43a0746a8
some more improvements and a fix
1988-11-21 16:55:16 +00:00