Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

dybv-sc (Dmitry)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 22 2022, 1:45 AM (56 w, 5 d)

Recent Activity

May 4 2023

dybv-sc added a comment to D149751: [LLD][ELF][RISCV] Add auipc->lui relaxation..

This relaxation enables use of weak undefined symbols in programms written with medany code model in mind if code section happens to be placed far from zero address(>2GiB).

I think the motivation is not right. For such weak references, the compiler should generate GOT-generating relocations, not relying on linker relaxation (which is an optional feature) for correctness. https://maskray.me/blog/2021-04-25-weak-symbol

https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/201 "Not doing so is deprecated and a future version of this specification will require using the GOT, not just advise."

May 4 2023, 9:10 AM · Restricted Project, Restricted Project

May 3 2023

dybv-sc requested review of D149751: [LLD][ELF][RISCV] Add auipc->lui relaxation..
May 3 2023, 8:06 AM · Restricted Project, Restricted Project

Feb 16 2023

dybv-sc updated the diff for D144105: [RISCV][NFC] Add missing immediate operand types..

Rebased

Feb 16 2023, 3:09 AM · Restricted Project, Restricted Project

Feb 15 2023

dybv-sc added a comment to D144105: [RISCV][NFC] Add missing immediate operand types..

It is very similar to this: https://reviews.llvm.org/D132650

Feb 15 2023, 7:28 AM · Restricted Project, Restricted Project
dybv-sc added reviewers for D144105: [RISCV][NFC] Add missing immediate operand types.: asb, craig.topper.
Feb 15 2023, 7:27 AM · Restricted Project, Restricted Project
dybv-sc requested review of D144105: [RISCV][NFC] Add missing immediate operand types..
Feb 15 2023, 7:25 AM · Restricted Project, Restricted Project

Jan 11 2023

dybv-sc updated the diff for D141395: [RISCV][ISelLowering] Fix select lowering issue.
  • Added autogenerated checks.
  • Removed notes completely.
Jan 11 2023, 3:00 AM · Restricted Project, Restricted Project

Jan 10 2023

dybv-sc added reviewers for D141395: [RISCV][ISelLowering] Fix select lowering issue: craig.topper, asb, frasercrmck.
Jan 10 2023, 8:53 AM · Restricted Project, Restricted Project
dybv-sc added a comment to D141395: [RISCV][ISelLowering] Fix select lowering issue.

I found a bug in RISCV backend. Reproduction: https://godbolt.org/z/qscGYbWvr
This patch fixes it.

Jan 10 2023, 8:51 AM · Restricted Project, Restricted Project
dybv-sc requested review of D141395: [RISCV][ISelLowering] Fix select lowering issue.
Jan 10 2023, 8:48 AM · Restricted Project, Restricted Project

Nov 22 2022

dybv-sc updated the diff for D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

Rebased and resolved merge conflicts.

Nov 22 2022, 2:25 AM · Restricted Project, Restricted Project
dybv-sc added a comment to D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

Thanks! I didn't know that.
I will rebase and ask for merge.

Nov 22 2022, 2:25 AM · Restricted Project, Restricted Project

Nov 16 2022

dybv-sc added a comment to D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

All fixed now. Ping for review.

Nov 16 2022, 6:27 AM · Restricted Project, Restricted Project
dybv-sc updated the diff for D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

rebased

Nov 16 2022, 4:55 AM · Restricted Project, Restricted Project
dybv-sc updated the diff for D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

Fixed formatting issues.

Nov 16 2022, 3:43 AM · Restricted Project, Restricted Project

Nov 15 2022

dybv-sc added a comment to D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

I want to ping on this again

Nov 15 2022, 1:58 AM · Restricted Project, Restricted Project

Nov 8 2022

dybv-sc added a comment to D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..

ping

Nov 8 2022, 2:23 AM · Restricted Project, Restricted Project

Nov 2 2022

dybv-sc added a comment to D132358: [RISCV][ISel] improved compressed instruction use.

So, after more running more spec tests in different modes (train and ref) on different RISCV boards (SiFive and THead) I got mixed results on performance. Performance increase on number on tests was insignificant while on other there was a slight decrease. On average performance declined by 0.5%. On the other hand, size reduction can be seen uniformly among all tests. On average it is 20 less bytes or 0.04% of size reduction. I think these amounts can't justify the performance cost.
Considering that some performance reductions are platform specific (like the one I mentioned in previous comment) and rely on internal architecture features, it is not seem possible to come up with general solution here. And more specialized ones will require more time and effort. And possible 0.04% code size reduction just not worth it.
What do you think?

Nov 2 2022, 8:01 AM · Restricted Project, Restricted Project

Oct 28 2022

dybv-sc updated the diff for D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..
  • Removed Operand suffixes
  • Added whitespaces between definitons
Oct 28 2022, 2:46 AM · Restricted Project, Restricted Project

Oct 27 2022

dybv-sc added inline comments to D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..
Oct 27 2022, 9:57 AM · Restricted Project, Restricted Project
dybv-sc added a reviewer for D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand.: craig.topper.
Oct 27 2022, 8:27 AM · Restricted Project, Restricted Project
dybv-sc requested review of D136847: [RISCV][NFC] Mark rs1 in most memory instructions as memory operand..
Oct 27 2022, 7:25 AM · Restricted Project, Restricted Project

Oct 7 2022

dybv-sc added a comment to D132358: [RISCV][ISel] improved compressed instruction use.

Sorry for long silence.
I've benchmarked SPEC with llvm-test-suite on Alibaba THead machine and found out that there is slight performance downgrade with this substitution. I've isolated one case:

Oct 7 2022, 5:15 AM · Restricted Project, Restricted Project

Aug 22 2022

dybv-sc updated the summary of D132358: [RISCV][ISel] improved compressed instruction use.
Aug 22 2022, 2:29 AM · Restricted Project, Restricted Project
dybv-sc updated the diff for D132358: [RISCV][ISel] improved compressed instruction use.

Fixed missing commit

Aug 22 2022, 2:14 AM · Restricted Project, Restricted Project
dybv-sc requested review of D132358: [RISCV][ISel] improved compressed instruction use.
Aug 22 2022, 2:09 AM · Restricted Project, Restricted Project