diff options
author | Adam Langley <agl@chromium.org> | 2022-08-01 18:29:34 +0000 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2022-08-01 19:43:30 +0000 |
commit | 0c6f40132b828e92ba365c6b7680e32820c63fa7 (patch) | |
tree | b85047963cf887d5df7e6a9a7a2091064be038af | |
parent | 444d430a659e475877daaacaca8dda1be3ff6f63 (diff) | |
download | boringssl-0c6f40132b828e92ba365c6b7680e32820c63fa7.zip boringssl-0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.gz boringssl-0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.bz2 |
Include hopefully all ARM instructions with condition codes.fips-20220613
We need to know which ARM instructions take a condition code because
otherwise the conditions look like symbols. This change includes all
instructions beginning with 'c' from [1] that include a `cond` argument.
Also sort them for easier comparison.
[1]
https://developer.arm.com/documentation/dui0802/a/A64-General-Instructions/CBNZ
Change-Id: Iea07aa4afe171d684135ff6655c52374d86529ce
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/53745
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
-rw-r--r-- | util/fipstools/delocate/delocate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fipstools/delocate/delocate.go b/util/fipstools/delocate/delocate.go index 55c8671..84508aa 100644 --- a/util/fipstools/delocate/delocate.go +++ b/util/fipstools/delocate/delocate.go @@ -439,7 +439,7 @@ func (d *delocation) processAarch64Instruction(statement, instruction *node32) ( argNodes := instructionArgs(instruction.next) switch instructionName { - case "cset", "csel", "csetm", "cneg", "csinv", "cinc", "csinc", "csneg": + case "ccmn", "ccmp", "cinc", "cinv", "cneg", "csel", "cset", "csetm", "csinc", "csinv", "csneg": // These functions are special because they take a condition-code name as // an argument and that looks like a symbol reference. d.writeNode(statement) |