mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 04:19:26 +02:00
* x86: BZHI optimisation now sets the subtract and shift nodes to 'do not execute' as they are skipped over.
This commit is contained in:
parent
16bd996e74
commit
2a44ffe51b
@ -2051,6 +2051,8 @@ unit nx86add;
|
||||
secondpass(left);
|
||||
|
||||
{ Skip the subtract and shift nodes completely }
|
||||
Include(right.flags, nf_do_not_execute);
|
||||
Include(taddnode(right).left.flags, nf_do_not_execute);
|
||||
|
||||
{ Helps avoid all the awkward typecasts }
|
||||
indexnode := tshlshrnode(taddnode(right).left).right;
|
||||
|
Loading…
Reference in New Issue
Block a user