8 Commits

Author SHA1 Message Date
Mark Hansen
9a1eb76d54 Add a new dex instruction set (#6820)
And use it for Android d8 compiler.

It's empty for now. But it lets you filter in the compiler pop out box.
And it may let us attach hover assembly documentation later.

I've left it empty in `lib/instructionsets.ts` like `java` is, which I'm
modelling this off.

Towards #6819
2024-09-06 17:20:40 -05:00
Mark Hansen
6ffa26d310 Specify dex2oat's output instruction set is aarch64 (#6808) 2024-09-02 22:34:35 +02:00
kevinjeon-g
b94781ab48 Add profile support for dex2oat. (#6382)
dex2oat supports profile-guided compilation. In addition to taking dex
code as an input, it can take a profile as another input, to guide the
compilation. The profile determines which methods need to be compiled,
how calls can be inlined, and so on.

Because Compiler Explorer doesn't support multiple input files, the
profile is added as a comment block in the Java/Kotlin source code. A
post-processor extracts the profile from the comment block into a
separate file, in order to input it to dex2oat.
2024-04-29 20:17:24 -05:00
kevinjeon-g
137ed94704 Simplify Android compiler properties (#6334)
updates intermediate compiler exe input to refer to the compiler's
getInfo().exe so that paths don't need to be hardcoded in properties.
2024-04-13 10:35:21 -05:00
kevinjeon-g
e5313c77f9 Update D8 versions (up to 8.2.42) (#6138)
This change adds recent D8 versions (8.1.72, 8.2.33, 8.2.42). Properties
for D8 have been reformatted to use groups in order to avoid duplication
of java/kotlin references.
2024-02-19 17:56:47 -06:00
kevinjeon-g
2f6a7328b2 Add support for dex2oat (latest) (#5916)
Adds Dex2OatCompiler, which applies to the Android Java and Android
Kotlin languages. Dex2OatCompiler runs on .dex files output by
D8Compiler, which in turn runs on .class files output by JavaCompiler or
KotlinCompiler. A parser has been added for dex2oat optimization passes.
2024-01-15 15:15:05 -06:00
Patrick Quist
6579ff999b fix android-d8 compiler ids (#5931) 2024-01-01 20:56:36 +01:00
kevinjeon-g
7efe253f5f Add support for Android D8 (8.1.56) (#5756)
Adds D8Compiler, which applies to the Android Java and Android Kotlin
languages. D8Compiler instantiates a JavaCompiler or KotlinCompiler
using the java/kotlin dependencies' paths for D8 in the infra repo.

compiler-finder.ts has been updated to allow for duplicate compiler IDs
for 'android-java' and 'android-kotlin', as it is expected that the
compilers used for these languages is the same.
2023-12-04 19:35:56 -06:00