diff options
author | Eric Holk <eholk@google.com> | 2018-11-01 15:50:24 -0700 |
---|---|---|
committer | Eric Holk <eholk@google.com> | 2018-11-10 00:46:07 +0000 |
commit | d62c5aa954dd6c995f24353dbfd13c2b0bfb112a (patch) | |
tree | 494c9b360001b979dbc88e89f7d88beba7383bff /rs/java/android/renderscript/ProgramStore.java | |
parent | b8740842e0da907c208ae3f1a1281c8985fcbcb9 (diff) |
[view compiler] Add conditional branch instruction
This CL adds support for the if-eqz instruction. It should be easy to add
additional comparisons as needed.
This also introduces a new kind of Value called a Label. Labels may be created
any time and then must be bound to a location in code at some point. References
to labels are tracked, and when a label is bound all references are patched to
refer to the concrete address.
Bug: 111895153
Change-Id: I15424aec75425004f0f1f4bbc6e760bac3a6c7de
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions