User Details
- User Since
- Aug 13 2019, 8:26 PM (189 w, 3 d)
Today
I've just found there's no commit message. In general it could be helpful to include one or two short sentences describing the actual change, e.g. "Optimize bitfield extractions retaining bit positions with bstrpick + slli", because "optimize foo" otherwise doesn't carry useful information about the actual improvements.
Good catch, thanks!
Yesterday
rebase
This is good strength reduction overall, thanks for the insight!
Thu, Mar 30
Nit: this is preparatory change adding baseline test cases for D147222, so the title may be tweaked a little bit, or you may add some commit message, to not suggest such tests were totally absent otherwise.
Typo in title: "immediates".
Mon, Mar 27
Feb 15 2023
Document the change in Clang release note.
Rebase and change to lower the op in LoongArchAsmPrinter so as to make people's lives easier when they come to rebase D141785 on top of this.
Feb 13 2023
update other affected tests
Fix the pattern for bstrpick.w on LA64.
Feb 12 2023
Self note: the pattern may need more love, because the signext i32 cases appear wrong on LA64.
@xry111: BTW your GCC implementation of this pattern looks for *arithmetic* right shifts; do you mean logical instead? Because obviously the higher bits would be full of ones after shifting if rj happen to have its MSB set. The sign extension shall happen *after* the pick.
Rebase & split tests out & implement matching of paired addu16i.d + addi patterns
Feb 10 2023
Feb 8 2023
Some nice improvements it seems!
Feb 7 2023
Seems good; you could rewrite these tests in opaque pointers afterwards as well.
Feb 6 2023
Jan 31 2023
rebase
rebase and update testcase
LGTM with the nit addressed, thanks!
Jan 30 2023
Better than parsing /proc/cpuinfo which I was nearly going to do, only hindered by my day job. Thanks!
Looks good, thanks!
Jan 29 2023
Jan 26 2023
rebase
Jan 23 2023
Jan 22 2023
Jan 21 2023
add test cases for PCALA relocs, fix getLoongArchPageOffset's adjustment to the higher half as uncovered by the tests
fix a switch arm and tweak comments
amend comments
fix PCALA_HI20 behavior in case of PCALA_LO12 on JIRL, and cleanups
I only realized it's the Chinese New Year's Eve after finishing this and seeing your comments. /facepalm
Add a couple of tests, implement the R_LARCH_PCALA_LO12 on JIRL kludge
Jan 17 2023
The architecture-specific details LGTM, thanks! A couple of nits below.
Jan 15 2023
Aren't all the register indexes less human-friendly to most? ;-)
Hi, as I've recently tried to bootstrap Gentoo on LoongArch with LLVM toolchain, I've run into multiple build failures that needed to be worked around; given how many high-profile projects are impacted, is it prudent to temporarily downgrade this to a warning? mold chose to emit a warning for such cases, for example.
Jan 12 2023
Thanks for the patch!
BTW do we have a way of fixing the bug while preserving the alias?
Jan 10 2023
As the community guy who has helped the port a little (by writing some of the codegen myself, porting LLD, putting all of these into distro-building practice and helping troubleshooting things in general), I can confirm the port indeed works on most open-source projects I've checked. Even Linux is close to being buildable. I also experimented with Gentoo stage-building with a recent LLVM snapshot (with my D138135 applied), and bootstrapping is almost done with all problems so far unrelated to the target code.
Jan 3 2023
Dec 27 2022
MOVGR2FCSR modifies the value of the software writable field
corresponding to the FCSR (floating-point control and status
register) fcsr according to the value of the lower 32 bits of
the GR (general purpose register) rj.
Dec 26 2022
Dec 25 2022
revert the broken TLS IE offset change
This is cleaner than previous revisions (which contained code model related changes) which is good. I've slightly adjusted the patch summary to remove the trivial bits and now inaccurate descriptions.
Seems something's broken with the change. I'll have to take care of this patch later (hopefully around early January) due to day job.
- rebased
- fixed TLS IE relocs (need an offset of 2 GOT entries) according to @MQ-mengqing's comment
- added a few test cases; more in the works
- minor refactoring
Dec 23 2022
This change makes sense on LoongArch, and should cause no behavioral change on 4KiB-page platforms like X86, but more testing on other architectures (e.g. AArch64 systems with 16KiB or 64KiB pages) would be welcome.
LGTM, thanks!
Dec 22 2022
Dec 21 2022
Dec 18 2022
Dec 15 2022
This is nice for being able to know if the pipeline is being affected by a change. Thanks for the addition.
Dec 14 2022
This change is actually platform-agnostic. While it looks good to me (minus one nit) I'd like to leave the approval to someone else more familiar with this code.
Dec 13 2022
LGTM, thanks very much for the contribution!
Dec 12 2022
Linux only requires __cpucfg among the ones you just added. Please amend the patch summary so it's more accurate.
Thank you very much, this now looks good from the LoongArch side.
Dec 10 2022
Favor touching nothing besides the lit directive as suggested by @lebedev.ri.
rebase
Dec 8 2022
This should be good enough (reminiscent of CSR ops) but let's wait for other reviewers.