OSDN Git Service

Flush the instruction cache after loading JIT compiled code.
authorNicolas Capens <capn@google.com>
Tue, 25 Apr 2017 14:52:16 +0000 (10:52 -0400)
committerNicolas Capens <capn@google.com>
Tue, 25 Apr 2017 19:00:54 +0000 (19:00 +0000)
commit1cc44388266a519499c582a7d78cb5c6cfbcd5bf
treee0e7b4c9f47c19f49482992c4494b328767d8490
parent35e0ba7753cab88905b428b65577669620798507
Flush the instruction cache after loading JIT compiled code.

x86 does not strictly require this because it performs snooping to ensure
consistency, but it is essential on ARM and some other architectures.

Bug b/37478805

Change-Id: I9fad94571ec65b67132ba40c3e1814c63d6af468
Reviewed-on: https://swiftshader-review.googlesource.com/9429
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/Reactor/SubzeroReactor.cpp