From 00b819307af18e04e14eb9f7480bf57561786fdb Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Mon, 23 Feb 2015 22:51:38 +0000 Subject: [PATCH] + condition and shifterop operands for AArch64 assembler reader git-svn-id: trunk@29895 - --- compiler/rautils.pas | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/compiler/rautils.pas b/compiler/rautils.pas index 15496e41b4..cbbf0aa9ba 100644 --- a/compiler/rautils.pas +++ b/compiler/rautils.pas @@ -69,6 +69,10 @@ type OPR_MODEFLAGS : (flags : tcpumodeflags); OPR_SPECIALREG: (specialreg : tregister; specialregflags : tspecialregflags); {$endif arm} +{$ifdef aarch64} + OPR_SHIFTEROP : (shifterop : tshifterop); + OPR_COND : (cc : tasmcond); +{$endif aarch64} end; TOperand = class @@ -1062,15 +1066,17 @@ end; {$ifdef ARM} OPR_REGSET: ai.loadregset(i-1,regtype,subreg,regset,usermode); - OPR_SHIFTEROP: - ai.loadshifterop(i-1,shifterop); - OPR_COND: - ai.loadconditioncode(i-1,cc); OPR_MODEFLAGS: ai.loadmodeflags(i-1,flags); OPR_SPECIALREG: ai.loadspecialreg(i-1,specialreg,specialregflags); {$endif ARM} +{$if defined(arm) or defined(aarch64)} + OPR_SHIFTEROP: + ai.loadshifterop(i-1,shifterop); + OPR_COND: + ai.loadconditioncode(i-1,cc); +{$endif arm or aarch64} { ignore wrong operand } OPR_NONE: ;