Page MenuHomeFreeBSD

koliagogsadze_gmail.com (Mykola Hohsadze)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 15 2023, 8:37 PM (70 w, 1 d)

Recent Activity

Jan 14 2024

koliagogsadze_gmail.com added inline comments to D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
Jan 14 2024, 2:54 PM
koliagogsadze_gmail.com updated the diff for D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
  • arm64/disassem.c: use flsl and fix move_wide_preferred check
  • arm64/disassem.c: Remove arm64_is_bit_set helper function
  • arm64/disassem.c: simplify variable names
Jan 14 2024, 2:12 PM

Jan 13 2024

koliagogsadze_gmail.com added inline comments to D41515: arm64/disassem.c: add type01 instruction definitions.
Jan 13 2024, 11:01 PM
koliagogsadze_gmail.com added inline comments to D41561: arm64/disassem.c: add disassembly support crc32.
Jan 13 2024, 9:37 PM
koliagogsadze_gmail.com updated the diff for D41561: arm64/disassem.c: add disassembly support crc32.
  • arm64/disassem.c: change TYPE_06 to TYPE_01 for crc32 insts
Jan 13 2024, 9:22 PM

Aug 25 2023

koliagogsadze_gmail.com added a comment to D41515: arm64/disassem.c: add type01 instruction definitions.

refs to review:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ADC--Add-with-Carry-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ADCS--Add-with-Carry--setting-flags-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CLS--Count-Leading-Sign-bits-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CLZ--Count-Leading-Zeros-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CRC32B--CRC32H--CRC32W--CRC32X--CRC32-checksum-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CRC32CB--CRC32CH--CRC32CW--CRC32CX--CRC32C-checksum-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ASR--register---Arithmetic-Shift-Right--register---an-alias-of-ASRV-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/LSL--register---Logical-Shift-Left--register---an-alias-of-LSLV-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/LSR--register---Logical-Shift-Right--register---an-alias-of-LSRV-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ROR--register---Rotate-Right--register---an-alias-of-RORV-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/RBIT--Reverse-Bits-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/REV--Reverse-Bytes-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/REV16--Reverse-bytes-in-16-bit-halfwords-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/REV32--Reverse-bytes-in-32-bit-words-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/REV64--Reverse-Bytes--an-alias-of-REV-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/NGC--Negate-with-Carry--an-alias-of-SBC-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SBC--Subtract-with-Carry-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/NGCS--Negate-with-Carry--setting-flags--an-alias-of-SBCS-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SBCS--Subtract-with-Carry--setting-flags-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SDIV--Signed-Divide-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SMULH--Signed-Multiply-High-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/UDIV--Unsigned-Divide-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/UMULH--Unsigned-Multiply-High-?lang=en

Aug 25 2023, 7:32 PM
koliagogsadze_gmail.com added a comment to D41573: arm64/disassem.c: add instruction definitions without additional encodings.

refs to review:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/YIELD--YIELD-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/WFI--Wait-For-Interrupt-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/WFE--Wait-For-Event-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/TSB-CSYNC--Trace-Synchronization-Barrier-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SEVL--Send-Event-Local-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SEV--Send-Event-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SB--Speculation-Barrier-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/RETAA--RETAB--Return-from-subroutine--with-pointer-authentication-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/PSSBB--Physical-Speculative-Store-Bypass-Barrier-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/PSB-CSYNC--Profiling-Synchronization-Barrier-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/NOP--No-Operation-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ESB--Error-Synchronization-Barrier-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ERETAA--ERETAB--Exception-Return--with-pointer-authentication-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ERET--Exception-Return-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/DRPS--Debug-restore-process-state-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/DGH--Data-Gathering-Hint-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CFINV--Invert-Carry-Flag-

Aug 25 2023, 7:29 PM

Aug 24 2023

koliagogsadze_gmail.com requested review of D41573: arm64/disassem.c: add instruction definitions without additional encodings.
Aug 24 2023, 1:18 PM

Aug 23 2023

koliagogsadze_gmail.com updated the test plan for D41561: arm64/disassem.c: add disassembly support crc32.
Aug 23 2023, 3:18 AM
koliagogsadze_gmail.com added a comment to D41561: arm64/disassem.c: add disassembly support crc32.

refs to review:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CRC32B--CRC32H--CRC32W--CRC32X--CRC32-checksum-?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CRC32CB--CRC32CH--CRC32CW--CRC32CX--CRC32C-checksum-?lang=en

Aug 23 2023, 3:14 AM
koliagogsadze_gmail.com requested review of D41561: arm64/disassem.c: add disassembly support crc32.
Aug 23 2023, 3:12 AM

Aug 20 2023

koliagogsadze_gmail.com updated the test plan for D41515: arm64/disassem.c: add type01 instruction definitions.
Aug 20 2023, 3:31 PM
koliagogsadze_gmail.com requested review of D41515: arm64/disassem.c: add type01 instruction definitions.
Aug 20 2023, 3:18 PM

Aug 12 2023

koliagogsadze_gmail.com updated the diff for D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
  • arm64/disassem.c: use flsl and fix move_wide_preferred check
Aug 12 2023, 8:13 PM

Aug 3 2023

koliagogsadze_gmail.com added inline comments to D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
Aug 3 2023, 12:44 PM

Aug 2 2023

koliagogsadze_gmail.com added a comment to D41295: arm64/disassem.c: add bitwise or (immediate) instructions.

refs to review:
ORR (immedaite) and aliases:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ORR--immediate---Bitwise-OR--immediate--?lang=en
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/MOV--bitmask-immediate---Move--bitmask-immediate---an-alias-of-ORR--immediate--?lang=en

Aug 2 2023, 10:32 PM
koliagogsadze_gmail.com updated the test plan for D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
Aug 2 2023, 10:07 PM
koliagogsadze_gmail.com requested review of D41295: arm64/disassem.c: add bitwise or (immediate) instructions.
Aug 2 2023, 10:04 PM

Jul 15 2023

koliagogsadze_gmail.com updated the diff for D40588: arm64/disassem.c: remove redundant OP_RN_SP for TYPE_02.

Removed helper function as disscused https://reviews.freebsd.org/D40967

Jul 15 2023, 12:34 AM
koliagogsadze_gmail.com updated the diff for D40967: arm64/disassem.c: add extended register instruction definitions.

Removed helper functions and fixed naming and order of definitions

Jul 15 2023, 12:15 AM

Jul 14 2023

koliagogsadze_gmail.com added inline comments to D40967: arm64/disassem.c: add extended register instruction definitions.
Jul 14 2023, 6:20 PM

Jul 13 2023

koliagogsadze_gmail.com added inline comments to D40967: arm64/disassem.c: add extended register instruction definitions.
Jul 13 2023, 6:05 PM
koliagogsadze_gmail.com added a comment to D40967: arm64/disassem.c: add extended register instruction definitions.

sorry, forgot to send refs to review:
ADD (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ADD--extended-register---Add--extended-register--
ADDS (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ADDS--extended-register---Add--extended-register---setting-flags-
CMN (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CMN--extended-register---Compare-Negative--extended-register---an-alias-of-ADDS--extended-register--
CMP (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CMP--extended-register---Compare--extended-register---an-alias-of-SUBS--extended-register--
SUB (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SUB--extended-register---Subtract--extended-register--
SUBS (extended register): https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SUBS--extended-register---Subtract--extended-register---setting-flags-

Jul 13 2023, 6:01 PM

Jul 10 2023

koliagogsadze_gmail.com requested review of D40967: arm64/disassem.c: add extended register instruction definitions.
Jul 10 2023, 11:16 PM

Jun 28 2023

koliagogsadze_gmail.com added inline comments to D40588: arm64/disassem.c: remove redundant OP_RN_SP for TYPE_02.
Jun 28 2023, 8:16 PM

Jun 17 2023

koliagogsadze_gmail.com requested review of D40588: arm64/disassem.c: remove redundant OP_RN_SP for TYPE_02.
Jun 17 2023, 8:43 PM

Jun 11 2023

koliagogsadze_gmail.com updated the diff for D40386: arm64/disassem.c: Add shifted register definitions with ror.

Changed is_shift_ror to has_shift_ror and fixed check shift type.
For testing RESERVED case (shift == 3) I added instruction manually

Jun 11 2023, 10:16 PM

Jun 1 2023

koliagogsadze_gmail.com added a comment to D40386: arm64/disassem.c: Add shifted register definitions with ror.

refs:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/MVN--Bitwise-NOT--an-alias-of-ORN--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ORN--shifted-register---Bitwise-OR-NOT--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ORR--shifted-register---Bitwise-OR--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/AND--shifted-register---Bitwise-AND--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ANDS--shifted-register---Bitwise-AND--shifted-register---setting-flags-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/BIC--shifted-register---Bitwise-Bit-Clear--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/BICS--shifted-register---Bitwise-Bit-Clear--shifted-register---setting-flags-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/EON--shifted-register---Bitwise-Exclusive-OR-NOT--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/EOR--shifted-register---Bitwise-Exclusive-OR--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/TST--shifted-register---Test--shifted-register---an-alias-of-ANDS--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/MOV--register---Move--register---an-alias-of-ORR--shifted-register--?lang=en

Jun 1 2023, 9:44 PM
koliagogsadze_gmail.com updated the test plan for D40386: arm64/disassem.c: Add shifted register definitions with ror.
Jun 1 2023, 9:21 PM
koliagogsadze_gmail.com requested review of D40386: arm64/disassem.c: Add shifted register definitions with ror.
Jun 1 2023, 9:20 PM

May 21 2023

koliagogsadze_gmail.com updated the diff for D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.

Updated type of rm_absent, rd_absent, rn_absent to bool.

May 21 2023, 12:00 AM

May 19 2023

koliagogsadze_gmail.com updated the diff for D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.

Added new patterns to TYPE_01

May 19 2023, 10:08 PM
koliagogsadze_gmail.com attached a referenced file: F61412074: 0001-arm64-shift-reg-with-rsv-type_01.patch.
May 19 2023, 12:30 AM
koliagogsadze_gmail.com added inline comments to D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 19 2023, 12:30 AM

May 13 2023

koliagogsadze_gmail.com attached a referenced file: F61127860: 0001-arm64-disassem.c-add-aliases-of-shifted-register-ins.patch.
May 13 2023, 2:45 PM
koliagogsadze_gmail.com added inline comments to D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 13 2023, 2:44 PM
koliagogsadze_gmail.com added inline comments to D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 13 2023, 2:17 PM
koliagogsadze_gmail.com added a comment to D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.

The wording used by the docs is confusing, but it is actually saying that disassemblers should output the aliases when possible.

For example, we should print cmn x2, #1 rather than adds xzr, x2, #1.

This is the behaviour of GNU and LLVM objdump utilities.

May 13 2023, 1:08 PM
koliagogsadze_gmail.com updated the summary of D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 13 2023, 6:08 AM

May 8 2023

koliagogsadze_gmail.com added a comment to D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.

refs to review:
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/ADDS--shifted-register---Add--shifted-register---setting-flags-
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CMN--shifted-register---Compare-Negative--shifted-register---an-alias-of-ADDS--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/CMP--shifted-register---Compare--shifted-register---an-alias-of-SUBS--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/NEG--shifted-register---Negate--shifted-register---an-alias-of-SUB--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/NEGS--Negate--setting-flags--an-alias-of-SUBS--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SUB--shifted-register---Subtract--shifted-register--
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/SUBS--shifted-register---Subtract--shifted-register---setting-flags-

May 8 2023, 8:06 PM
koliagogsadze_gmail.com requested review of D40006: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 8 2023, 7:58 PM
koliagogsadze_gmail.com abandoned D40005: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 8 2023, 7:56 PM
koliagogsadze_gmail.com requested review of D40005: arm64/disassem.c: Add support insts of shifted register with rsv option.
May 8 2023, 7:55 PM
koliagogsadze_gmail.com updated the diff for D39820: arm64/disassem.c: make output in lowercase register to consistency.

Rebased with main branch

May 8 2023, 5:24 PM

Apr 29 2023

koliagogsadze_gmail.com updated the diff for D39862: arm64/disassem.c: Add detection of xzr and sp.

Inlined x31 detection functions

Apr 29 2023, 9:12 PM
koliagogsadze_gmail.com added inline comments to D39862: arm64/disassem.c: Add detection of xzr and sp.
Apr 29 2023, 5:17 PM

Apr 27 2023

koliagogsadze_gmail.com added a comment to D39862: arm64/disassem.c: Add detection of xzr and sp.

<Xn> or <Wn> are used to indicate case, where x31 refers to XZR.
<Xn|SP> or <Wn|WSP> are used to refer to a register, where x31 refers to the SP.

Apr 27 2023, 11:39 PM
koliagogsadze_gmail.com abandoned D39861: arm64/disassem.c: Add detection of xzr and sp.
Apr 27 2023, 10:50 PM
koliagogsadze_gmail.com requested review of D39862: arm64/disassem.c: Add detection of xzr and sp.
Apr 27 2023, 10:48 PM
koliagogsadze_gmail.com requested review of D39861: arm64/disassem.c: Add detection of xzr and sp.
Apr 27 2023, 10:44 PM

Apr 25 2023

koliagogsadze_gmail.com updated the diff for D39820: arm64/disassem.c: make output in lowercase register to consistency.
Apr 25 2023, 10:27 PM
koliagogsadze_gmail.com requested review of D39820: arm64/disassem.c: make output in lowercase register to consistency.
Apr 25 2023, 10:06 PM

Apr 24 2023

koliagogsadze_gmail.com added a comment to D39334: arm64/disassem.c: Fix typo sxts to sxts and amount for TYPE_02.

Hi, sorry for the delay. I was looking at the change again before merging, and now it doesn't seem quite right to me.

https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/LDR--register---Load-Register--register--?lang=en#sa_amount_1

It seems like in this code we will only ever set amount to 1 or 0. But in the link above it seems like the only legal values are: #0, #2, and #3, depending on the <size> parameter of the instruction.

Should it be something like this?

if (scale == 0)
    amount = 0;
else {
    if (((insn >> ARM_INSN_SIZE_OFFSET) & ARM_INSN_SIZE_MASK) != 0)
        /* <size> == 64-bit */
        amount = 3;
    else
        /* <size> == 32-bit */
        amount = 2;
}
Apr 24 2023, 10:55 PM

Mar 31 2023

koliagogsadze_gmail.com added inline comments to D39334: arm64/disassem.c: Fix typo sxts to sxts and amount for TYPE_02.
Mar 31 2023, 3:43 PM

Mar 29 2023

koliagogsadze_gmail.com added a comment to D39336: arm64/disassem.c: Add support str/strb/strh instructions.

review refs:
str (immediate):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STR--immediate---Store-Register--immediate--
str (register):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STR--register---Store-Register--register--
strb (immediate):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STRB--immediate---Store-Register-Byte--immediate--
strb (register):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STRB--register---Store-Register-Byte--register--
strh (immediate):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STRH--immediate---Store-Register-Halfword--immediate--
strh (register):
https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/STRH--register---Store-Register-Halfword--register--

Mar 29 2023, 9:30 PM
koliagogsadze_gmail.com requested review of D39336: arm64/disassem.c: Add support str/strb/strh instructions.
Mar 29 2023, 9:28 PM
koliagogsadze_gmail.com requested review of D39334: arm64/disassem.c: Fix typo sxts to sxts and amount for TYPE_02.
Mar 29 2023, 7:59 PM

Mar 27 2023

koliagogsadze_gmail.com updated the diff for D38899: arm64/disassem.c: Fix formatting.

Remove extra line and fix indentation

Mar 27 2023, 10:52 PM
koliagogsadze_gmail.com updated the diff for D38899: arm64/disassem.c: Fix formatting.
Mar 27 2023, 10:40 PM

Mar 3 2023

koliagogsadze_gmail.com requested review of D38899: arm64/disassem.c: Fix formatting.
Mar 3 2023, 6:58 PM