Commit edb0c26d authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "thumb: Clarify a comment about the conversions that are done"

Showing with 1 addition and 1 deletion
...@@ -51,7 +51,7 @@ sub FixThumbInstructions($$) ...@@ -51,7 +51,7 @@ sub FixThumbInstructions($$)
# Convert register post indexing to a separate add instruction. # Convert register post indexing to a separate add instruction.
# This converts "ldrneb r9, [r0], r2" into "ldrneb r9, [r0]", # This converts "ldrneb r9, [r0], r2" into "ldrneb r9, [r0]",
# "add r0, r2". # "addne r0, r0, r2".
s/^(\s*)((ldr|str)(ne)?[bhd]?)(\s+)(\w+),(\s*\w+,)?\s*\[(\w+)\],\s*(\w+)/$1$2$5$6,$7 [$8]\n$1add$4$5$8, $8, $9/g; s/^(\s*)((ldr|str)(ne)?[bhd]?)(\s+)(\w+),(\s*\w+,)?\s*\[(\w+)\],\s*(\w+)/$1$2$5$6,$7 [$8]\n$1add$4$5$8, $8, $9/g;
# Convert a conditional addition to the pc register into a series of # Convert a conditional addition to the pc register into a series of
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment