mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 04:59:17 +02:00
* Xtensa: fix tcpunotnode.second_boolean
git-svn-id: trunk@44385 -
This commit is contained in:
parent
d1bbfe4cf7
commit
a9a85711d5
@ -82,7 +82,13 @@ implementation
|
||||
|
||||
location:=left.location;
|
||||
hlcg.location_force_reg(current_asmdata.CurrAsmList,location,resultdef,resultdef,false);
|
||||
cg.a_op_reg_reg(current_asmdata.CurrAsmList,OP_NOT,def_cgsize(resultdef), location.register, location.register);
|
||||
{ not supported yet }
|
||||
if is_64bit(resultdef) then
|
||||
Internalerror(2020031701);
|
||||
if is_cbool(resultdef) then
|
||||
cg.a_op_reg_reg(current_asmdata.CurrAsmList,OP_NOT,def_cgsize(resultdef), location.register, location.register)
|
||||
else
|
||||
cg.a_op_const_reg_reg(current_asmdata.CurrAsmList,OP_XOR,def_cgsize(resultdef),1, location.register, location.register)
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user