The branch main has been updated by mhorne:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8a852d3e9ff7c4d6f93b65beba8d674127109fc4

commit 8a852d3e9ff7c4d6f93b65beba8d674127109fc4
Author:     Mykola Hohsadze <[email protected]>
AuthorDate: 2023-05-25 14:40:38 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2023-05-25 17:06:15 +0000

    arm64/disassem.c: Make output lowercase
    
    Update the few uppercase fields fields to be consistent with others.
    
    Reviewed by:    mhorne
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D39820
---
 sys/arm64/arm64/disassem.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/arm64/arm64/disassem.c b/sys/arm64/arm64/disassem.c
index 9db4ea040d37..2ec0d04d5491 100644
--- a/sys/arm64/arm64/disassem.c
+++ b/sys/arm64/arm64/disassem.c
@@ -65,11 +65,11 @@ static const char *x_reg[] = {
        "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7",
        "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15",
        "x16", "x17", "x18", "x19", "x20", "x21", "x22", "x23",
-       "x24", "x25", "x26", "x27", "x28", "x29", "LR"
+       "x24", "x25", "x26", "x27", "x28", "x29", "lr"
 };
 
 static const char *shift_2[] = {
-       "LSL", "LSR", "ASR", "RSV"
+       "lsl", "lsr", "asr", "rsv"
 };
 
 /*
@@ -482,7 +482,7 @@ disasm(const struct disasm_interface *di, vm_offset_t loc, 
int altfmt)
                        if (imm != 0 || shift != 0)
                                di->di_printf(", #0x%x", imm);
                        if (shift != 0)
-                               di->di_printf(" LSL #12");
+                               di->di_printf(" lsl #12");
                }
                break;
        case TYPE_02:
@@ -576,7 +576,7 @@ disasm(const struct disasm_interface *di, vm_offset_t loc, 
int altfmt)
                                di->di_printf(", sxtx #%d", amount);
                                break;
                        default:
-                               di->di_printf(", RSVD");
+                               di->di_printf(", rsv");
                                break;
                        }
                        di->di_printf("]");

Reply via email to