Dump ISA into .cfg

The optimizing compiler dumps ISA features into .cfg which can be used
by the checker. A new tool perf2cfg needs to know ISA a CFG corresponds
to. The tool uses this to check that input perf data has the same ISA.

This CL implements in the compiler dumping ISA in addition to ISA features:

begin_compilation
  name "isa:some_isa isa_features:feature1,-feature2"
  method "isa:some_isa isa_features:feature1,-feature2"
  date 1580721972
end_compilation

Bug: 147876827
Test: ./art/tools/checker/run_unit_tests.py
Test: test.py --target --optimizing --jit --interpreter
Test: test.py --host --optimizing --jit --interpreter
Change-Id: I189eae0f4de61e6a49c01d925e7136b5f7027c91
4 files changed