* source can also be a LOC_CREGISTER for bsr/bsf

git-svn-id: trunk@29980 -
This commit is contained in:
Jonas Maebe 2015-02-23 22:57:05 +00:00
parent a8d05b66e2
commit 5e339e89e4

View File

@ -752,7 +752,7 @@ implementation
if opsize<OS_32 then
opsize:=OS_32;
if (left.location.loc <> LOC_REGISTER) or
if not(left.location.loc in [LOC_REGISTER,LOC_CREGISTER]) or
(left.location.size<>opsize) then
hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,cgsize_orddef(opsize),true);