pipeline: fix SWX jump instruction population
This patch fixes jump next instruction pointer population.
Fixes: b3947e25be
("pipeline: introduce SWX jump and return instructions")
Signed-off-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
parent
5636d60347
commit
1e17748b0a
@ -5647,7 +5647,7 @@ instr_jmp_resolve(struct instruction *instructions,
|
||||
data->jmp_label);
|
||||
CHECK(found, EINVAL);
|
||||
|
||||
instr->jmp.ip = &instr[found - instruction_data];
|
||||
instr->jmp.ip = &instructions[found - instruction_data];
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user