x86: mark instructions for being function call/return
authorNilay Vaish <nilay@cs.wisc.edu>
Tue, 21 May 2013 16:34:41 +0000 (11:34 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Tue, 21 May 2013 16:34:41 +0000 (11:34 -0500)
commit30fe807316ebc4b6c37ca522b3cfd6c592ca9003
tree12f5e529771617cf5c1ce93ea0200a5cf4a4a45e
parentfba40864aab3015009efe4ade7599c07bc28ab1a
x86: mark instructions for being function call/return
Currently call and return instructions are marked as IsCall and IsReturn. Thus, the
branch predictor does not use RAS for these instructions. Similarly, the number of
function calls that took place is recorded as 0. This patch marks these instructions
as they should be.
src/arch/x86/isa/insts/general_purpose/control_transfer/call.py
src/arch/x86/isa/insts/general_purpose/control_transfer/xreturn.py
src/arch/x86/isa/macroop.isa