x86, x86-64: оптимизации RTL

This commit is contained in:
AntKrotov committed 2019-09-27 22:24:24 +03:00
1 parent 3e5c968b59
commit 8b8d42e0fb
11 files changed
+516 -242

No files matched your search

+1 -3
View File
@@ -1333,10 +1333,8 @@ BEGIN
GetRegA
|IL.opRSET1:
UnOp(reg1);
PushAll(1);
push(reg1);
CallRTL(IL._set);
CallRTL(IL._set1);
GetRegA
|IL.opINCL, IL.opEXCL:
+2 -1
View File
@@ -122,6 +122,7 @@ CONST
_init *= 23;
_dllentry *= 24;
_sofinit *= 25;
_set1 *= 26;
TYPE
@@ -188,7 +189,7 @@ TYPE
dmin*: INTEGER;
lcount*: INTEGER;
bss*: INTEGER;
rtl*: ARRAY 26 OF INTEGER;
rtl*: ARRAY 27 OF INTEGER;
errlabels*: ARRAY 12 OF INTEGER;
charoffs: ARRAY 256 OF INTEGER;
+1
View File
@@ -3291,6 +3291,7 @@ BEGIN
getproc(rtl, "_mod", IL._mod);
getproc(rtl, "_set", IL._set);
getproc(rtl, "_set2", IL._set2);
getproc(rtl, "_set1", IL._set1);
getproc(rtl, "_isrec", IL._isrec);
getproc(rtl, "_lengthw", IL._lengthw);
getproc(rtl, "_strcmpw", IL._strcmpw);
+1 -3
View File
@@ -1464,10 +1464,8 @@ BEGIN
GetRegA
|IL.opRSET1:
UnOp(reg1);
PushAll(1);
push(reg1);
CallRTL(pic, IL._set);
CallRTL(pic, IL._set1);
GetRegA
|IL.opINCL, IL.opEXCL: