Merge "Remove floating point register cruft."

This commit is contained in:
Treehugger Robot 2023-03-18 00:15:36 +00:00 committed by Gerrit Code Review
commit a4aab52663
4 changed files with 1 additions and 74 deletions

View file

@ -19,40 +19,6 @@ crash1:
ldr r11, =0xa5a50011
ldr r12, =0xa5a50012
fconstd d0, #0
fconstd d1, #1
fconstd d2, #2
fconstd d3, #3
fconstd d4, #4
fconstd d5, #5
fconstd d6, #6
fconstd d7, #7
fconstd d8, #8
fconstd d9, #9
fconstd d10, #10
fconstd d11, #11
fconstd d12, #12
fconstd d13, #13
fconstd d14, #14
fconstd d15, #15
fconstd d16, #16
fconstd d17, #17
fconstd d18, #18
fconstd d19, #19
fconstd d20, #20
fconstd d21, #21
fconstd d22, #22
fconstd d23, #23
fconstd d24, #24
fconstd d25, #25
fconstd d26, #26
fconstd d27, #27
fconstd d28, #28
fconstd d29, #29
fconstd d30, #30
fconstd d31, #31
mov lr, #0
ldr lr, [lr]
b .

View file

@ -37,39 +37,6 @@ crash1:
ldr x28, =0xa5a50028
ldr x29, =0xa5a50029
fmov d0, -1.0 // -1 is more convincing than 0.
fmov d1, 1.0
fmov d2, 2.0
fmov d3, 3.0
fmov d4, 4.0
fmov d5, 5.0
fmov d6, 6.0
fmov d7, 7.0
fmov d8, 8.0
fmov d9, 9.0
fmov d10, 10.0
fmov d11, 11.0
fmov d12, 12.0
fmov d13, 13.0
fmov d14, 14.0
fmov d15, 15.0
fmov d16, 16.0
fmov d17, 17.0
fmov d18, 18.0
fmov d19, 19.0
fmov d20, 20.0
fmov d21, 21.0
fmov d22, 22.0
fmov d23, 23.0
fmov d24, 24.0
fmov d25, 25.0
fmov d26, 26.0
fmov d27, 27.0
fmov d28, 28.0
fmov d29, 29.0
fmov d30, 30.0
fmov d31, 31.0
mov x30, xzr
ldr x30, [x30]
b .

View file

@ -51,7 +51,6 @@ enum logtype {
HEADER,
THREAD,
REGISTERS,
FP_REGISTERS,
BACKTRACE,
MAPS,
MEMORY,

View file

@ -47,12 +47,7 @@ using android::base::StringPrintf;
using android::base::unique_fd;
bool is_allowed_in_logcat(enum logtype ltype) {
if ((ltype == HEADER)
|| (ltype == REGISTERS)
|| (ltype == BACKTRACE)) {
return true;
}
return false;
return (ltype == HEADER) || (ltype == REGISTERS) || (ltype == BACKTRACE);
}
static bool should_write_to_kmsg() {