diff --git a/compiler/ncgld.pas b/compiler/ncgld.pas index 854bf3246a..350cb676dd 100644 --- a/compiler/ncgld.pas +++ b/compiler/ncgld.pas @@ -589,7 +589,7 @@ implementation alignmentrequirement, len : aint; r : tregister; - {$if not defined(cpu64bitalu) and not defined(x86)} + {$if not defined(cpu64bitalu)} r64 : tregister64; {$endif} oldflowcontrol : tflowcontrol; diff --git a/compiler/x86/nx86mat.pas b/compiler/x86/nx86mat.pas index 48d23c79d3..141caf0c40 100644 --- a/compiler/x86/nx86mat.pas +++ b/compiler/x86/nx86mat.pas @@ -230,7 +230,7 @@ interface procedure tx86notnode.second_boolean; var opsize : tcgsize; - {$if defined(cpu32bitalu)} + {$if defined(cpu32bitalu) or defined(cpu16bitalu)} hreg: tregister; {$endif} begin