[aarch64-port-dev ] Call ICache::invalidate_range()
Edward Nevill
edward.nevill at linaro.org
Thu Nov 6 10:57:23 UTC 2014
On Thu, 2014-11-06 at 10:36 +0000, Andrew Haley wrote:
> On 11/06/2014 09:37 AM, Edward Nevill wrote:
> >
> > patch_oop can patch 2 instructions, not just 1?
>
> Sorry, that's too obscure for me. What are you asking?
Disregard. I thought instruction_size was set to 4 so it wasn't invalidating enough instructions.
But I see now that it is set to 12 in nativeInst_aarch64.hpp
// An interface for accessing/manipulating native mov reg, imm instructions.
// (used to manipulate inlined 64-bit data calls, etc.)
class NativeMovConstReg: public NativeInstruction {
public:
enum Aarch64_specific_constants {
instruction_size = 3 * 4, // movz, movk, movk. See movptr().
Sorry for the confusion,
Ed.
More information about the aarch64-port-dev
mailing list