Page MenuHomePhabricator

jobnoorman (Job Noorman)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 15 2012, 11:46 PM (540 w, 4 d)

Recent Activity

Today

jobnoorman added inline comments to D145687: [BOLT] Add minimal RISC-V 64-bit support.
Tue, Mar 28, 1:51 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D145687: [BOLT] Add minimal RISC-V 64-bit support.
  • Rebase
  • Improve ABS symbol handling:
    • Reuse existing symbol-lookup code when handling relocations so we don't need to create new undefined symbols.
    • Also handle ABS symbol relocation if their value happens to point to a section.
Tue, Mar 28, 1:40 AM · Restricted Project, Restricted Project

Yesterday

jobnoorman committed rG1d1b3c49531b: [RISCV] Remove isCall instruction flag from JAL/JALR (authored by jobnoorman).
[RISCV] Remove isCall instruction flag from JAL/JALR
Mon, Mar 27, 7:14 AM · Restricted Project, Restricted Project
jobnoorman closed D146437: [RISCV] Remove isCall instruction flag from JAL/JALR.
Mon, Mar 27, 7:14 AM · Restricted Project, Restricted Project
jobnoorman updated subscribers of D145687: [BOLT] Add minimal RISC-V 64-bit support.

Hi all, I just got the following comment on the RuntimeDyLd part of this patch:

Mon, Mar 27, 4:40 AM · Restricted Project, Restricted Project
jobnoorman added inline comments to D145687: [BOLT] Add minimal RISC-V 64-bit support.
Mon, Mar 27, 4:35 AM · Restricted Project, Restricted Project

Thu, Mar 23

jobnoorman committed rGfd1850b36158: Test commit to see if write access works (authored by jobnoorman).
Test commit to see if write access works
Thu, Mar 23, 8:28 AM
jobnoorman added a comment to D145687: [BOLT] Add minimal RISC-V 64-bit support.

Friendly ping.

Thu, Mar 23, 7:32 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Fix failing test, sorry about that!

Thu, Mar 23, 5:26 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.
  • Add RISCVISAInfo unit tests
  • Update error message of RISCVISAInfo::parseArchString to reflect that we support RV64E now
Thu, Mar 23, 4:55 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman added a comment to D143570: [RISCV][MC] Add support for RV64E.

I expect you'll need to / want to update the C++ RISCVISAInfo unit tests as they were added after this patch was first proposed.

Thu, Mar 23, 3:58 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Woops, sorry about that. Done!

Thu, Mar 23, 3:58 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman added a comment to D143570: [RISCV][MC] Add support for RV64E.

@jobnoorman do you need some help to commit this and D144384? let me know if you need help, and I would suggest you could drop a mail to Chris to obtain write access https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access :)

Thu, Mar 23, 2:43 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman added a comment to D146546: [BOLT][RFC] Implement composed relocations.

So it feels to me (please correct me if I'm wrong) that there is some agreement that the current patch is the preferred approach for dealing with the composed relocations in RISC-V. There might be a need though for supporting custom MCExprs in relocations for features found in golang. I think it should be possible to implement that *in addition to* the current patch so maybe it would make sense to move that discussion to another RFC?

Thu, Mar 23, 1:48 AM · Restricted Project, Restricted Project
jobnoorman added inline comments to D146215: [BOLT] Reject symbols pointing to section end.
Thu, Mar 23, 1:32 AM · Restricted Project, Restricted Project

Wed, Mar 22

jobnoorman added a comment to D146546: [BOLT][RFC] Implement composed relocations.

The implemented feature isn't used (afaict) by X86 or AArch64 so this should in principle be NFC

In fact we need to have it for other targets because for example some golang structures contain offsets into .text which is ok if we know output .text address, but if we land https://reviews.llvm.org/D144560 it would be cumbersume to reserve .text address ahead of time, and i think other cases of symbol diffs or other expressions may emerge outside of golang. Last week i tried to merge golang with -rewrite and ended up creating bogus relocation type which can contain arbitrary symbol expression and has advantages of not using multiset and extra indirection at the cost of Relocation's PODness and privatizing Relocation::Symbol. However, in case of RISCV we'll need to collect composed relocations in a single expression while reading them and only then add them to BinarySection. Here's the patch, should i open a competing RFC with it?:)

Wed, Mar 22, 3:26 AM · Restricted Project, Restricted Project

Tue, Mar 21

jobnoorman added a comment to D146546: [BOLT][RFC] Implement composed relocations.

Nice! I didn't know about this feature. May I ask you to create dependent review with getComposeOpcodeFor ? Thank you!

Tue, Mar 21, 11:37 AM · Restricted Project, Restricted Project
jobnoorman requested review of D146554: [BOLT][RISCV] Implement R_RISCV_ADD32/SUB32.
Tue, Mar 21, 11:36 AM · Restricted Project, Restricted Project
jobnoorman requested review of D146546: [BOLT][RFC] Implement composed relocations.
Tue, Mar 21, 10:28 AM · Restricted Project, Restricted Project
jobnoorman added inline comments to D146438: [RISCV][MC] Refine MCInstrAnalysis based on registers used.
Tue, Mar 21, 3:22 AM · Restricted Project, Restricted Project
jobnoorman added a comment to D146215: [BOLT] Reject symbols pointing to section end.

Thanks for reviewing @yota9, @rafauler! Please note the I don't have commit access so I cannot land this myself.

Tue, Mar 21, 2:41 AM · Restricted Project, Restricted Project

Mon, Mar 20

jobnoorman requested review of D146438: [RISCV][MC] Refine MCInstrAnalysis based on registers used.
Mon, Mar 20, 10:04 AM · Restricted Project, Restricted Project
jobnoorman requested review of D146437: [RISCV] Remove isCall instruction flag from JAL/JALR.
Mon, Mar 20, 10:01 AM · Restricted Project, Restricted Project

Sat, Mar 18

jobnoorman added a comment to D146215: [BOLT] Reject symbols pointing to section end.

Makes sense, but where did you see this in practice?

Sat, Mar 18, 2:07 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D146215: [BOLT] Reject symbols pointing to section end.

Swap check with the if (!Section->isText()) check as suggested by @yota9.

Sat, Mar 18, 2:05 AM · Restricted Project, Restricted Project

Thu, Mar 16

jobnoorman added a comment to D145686: [RuntimeDyld][ELF] Add minimal RISC-V support.

Friendly ping.

Thu, Mar 16, 10:59 AM · Restricted Project, Restricted Project
jobnoorman requested review of D146215: [BOLT] Reject symbols pointing to section end.
Thu, Mar 16, 4:15 AM · Restricted Project, Restricted Project

Wed, Mar 15

jobnoorman added inline comments to D145687: [BOLT] Add minimal RISC-V 64-bit support.
Wed, Mar 15, 4:01 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D145687: [BOLT] Add minimal RISC-V 64-bit support.

Rebase and address reviewer comments:

  • Adapt to D131813 and D145972
  • Remove duplicated method getOrCreateAbsoluteSymbol
  • Do not depend on libBOLTCore in libBOLTTarget: have the pass loop over instructions and only call back to MCPlusBuilder for target-specific info
  • Update bolt/CODE_OWNERS.TXT
Wed, Mar 15, 3:53 AM · Restricted Project, Restricted Project

Tue, Mar 14

jobnoorman added inline comments to D145687: [BOLT] Add minimal RISC-V 64-bit support.
Tue, Mar 14, 5:08 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D145687: [BOLT] Add minimal RISC-V 64-bit support.

Address some of the reviewer comments:

  • Remove references to PCREL_LO12_S. It was only partially implemented so I'll keep the full implementation for a later patch;
  • Collapse two separate ifs in one;
  • Invoke call-fixing code from binary pass;
  • Detect c.nop in isNoop()
Tue, Mar 14, 4:38 AM · Restricted Project, Restricted Project
jobnoorman added inline comments to D145779: [BOLT][NFC] Improve performance of MCPlusBuilder::initAliases.
Tue, Mar 14, 2:28 AM · Restricted Project, Restricted Project

Mon, Mar 13

jobnoorman added a comment to D145779: [BOLT][NFC] Improve performance of MCPlusBuilder::initAliases.

Job Noorman <jnoorman@igalia.com>

Mon, Mar 13, 11:44 AM · Restricted Project, Restricted Project
jobnoorman added a comment to D145779: [BOLT][NFC] Improve performance of MCPlusBuilder::initAliases.

Thanks for the review, @Amir! I'm not sure if one accept is enough to get this landed but if it is, please note that I don't have commit rights so I cannot do it myself.

Mon, Mar 13, 1:00 AM · Restricted Project, Restricted Project

Fri, Mar 10

jobnoorman requested review of D145779: [BOLT][NFC] Improve performance of MCPlusBuilder::initAliases.
Fri, Mar 10, 2:57 AM · Restricted Project, Restricted Project

Thu, Mar 9

jobnoorman updated the diff for D145687: [BOLT] Add minimal RISC-V 64-bit support.

Fix failing test.

Thu, Mar 9, 8:48 AM · Restricted Project, Restricted Project
jobnoorman requested review of D145687: [BOLT] Add minimal RISC-V 64-bit support.
Thu, Mar 9, 6:01 AM · Restricted Project, Restricted Project
jobnoorman requested review of D145686: [RuntimeDyld][ELF] Add minimal RISC-V support.
Thu, Mar 9, 5:55 AM · Restricted Project, Restricted Project

Wed, Mar 8

jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Rebase

Wed, Mar 8, 2:37 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman updated the summary of D135960: [RISCV] Allow LI with symbol difference as constant.
Wed, Mar 8, 2:29 AM · Restricted Project, Restricted Project
jobnoorman added a comment to D135960: [RISCV] Allow LI with symbol difference as constant.

Ping

Wed, Mar 8, 1:10 AM · Restricted Project, Restricted Project
jobnoorman requested review of D145555: [obj2yaml] Emit ProgramHeader.Offset.
Wed, Mar 8, 1:05 AM · Restricted Project, Restricted Project

Feb 20 2023

jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Allow rv64e in arch strings (e.g., in the arch assembly attribute). Also add a test for this.

Feb 20 2023, 6:30 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman requested review of D144384: Bump RV32E version to 2.0.
Feb 20 2023, 5:16 AM · Restricted Project, Restricted Project
jobnoorman added reviewers for D135960: [RISCV] Allow LI with symbol difference as constant: kito-cheng, craig.topper, jrtc27.

Ping.

Feb 20 2023, 3:05 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Rebase.

Feb 20 2023, 3:02 AM · Restricted Project, Restricted Project, Restricted Project

Feb 10 2023

jobnoorman added a comment to D143639: [RISCV] Add tests for .attribute stack_align.

Sure! Job Noorman <jnoorman@igalia.com>

Feb 10 2023, 3:57 AM · Restricted Project, Restricted Project
jobnoorman added a comment to D143639: [RISCV] Add tests for .attribute stack_align.

Thanks for the review, @kito-cheng. Note that I do not have commit access so I cannot commit this myself.

Feb 10 2023, 2:49 AM · Restricted Project, Restricted Project

Feb 9 2023

jobnoorman requested review of D143639: [RISCV] Add tests for .attribute stack_align.
Feb 9 2023, 3:50 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Fix patch apply error. Sorry about the noise.

Feb 9 2023, 2:01 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Address reviewer comments:

  • Sidestep stack alignment uncertainty by using report_fatal_error when codegen is reached for RVE;
  • Unify codegen error reporting for RV32E and RV64E;
  • Update RISCVUsage.rst and ReleaseNotes.rst
Feb 9 2023, 1:55 AM · Restricted Project, Restricted Project, Restricted Project

Feb 8 2023

jobnoorman updated the diff for D135960: [RISCV] Allow LI with symbol difference as constant.

Address comments:

  • Remove setting location of generated addi
  • Mask high bits of fixup value
  • Add test for error case
Feb 8 2023, 6:35 AM · Restricted Project, Restricted Project
jobnoorman added a comment to D135960: [RISCV] Allow LI with symbol difference as constant.

This seems rather limited in use...

Feb 8 2023, 5:59 AM · Restricted Project, Restricted Project
jobnoorman updated the diff for D143570: [RISCV][MC] Add support for RV64E.

Fix Clang driver tests.

Feb 8 2023, 5:09 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman requested review of D143570: [RISCV][MC] Add support for RV64E.
Feb 8 2023, 3:23 AM · Restricted Project, Restricted Project, Restricted Project
jobnoorman abandoned D1151: Emit annotate attributes for function declarations.
Feb 8 2023, 2:25 AM · Restricted Project

Feb 7 2023

jobnoorman updated the diff for D135960: [RISCV] Allow LI with symbol difference as constant.

Rebase on current main.

Feb 7 2023, 2:47 AM · Restricted Project, Restricted Project

Oct 14 2022

jobnoorman requested review of D135960: [RISCV] Allow LI with symbol difference as constant.
Oct 14 2022, 7:28 AM · Restricted Project, Restricted Project

Aug 12 2016

jobnoorman retitled D23450: Fix compile errors in AVR target from to Fix compile errors in AVR target.
Aug 12 2016, 7:53 AM

Sep 30 2014

jobnoorman closed D1075: Fix alignment of aggregates.

Thanks for the review!

Sep 30 2014, 4:31 AM
jobnoorman added a comment to D1075: Fix alignment of aggregates.

This patch should be committed in parallel with a similar patch for Clang. Can I just do that or should a create a diff for that one too?

Sep 30 2014, 1:57 AM

Sep 10 2014

jobnoorman updated the diff for D1075: Fix alignment of aggregates.

This is the same patch but based on current trunk.

Sep 10 2014, 11:16 PM
jobnoorman updated the diff for D1151: Emit annotate attributes for function declarations.

This is the same patch but based on current trunk.

Sep 10 2014, 11:11 PM · Restricted Project
jobnoorman added a comment to D5267: Drop the W postfix on the 16-bit registers..

Yes, I think we should do this (maybe even drop matching on the node name completely?). Once I have some time, I'll try to prepare a patch and post it for review.

Sep 10 2014, 10:58 PM
jobnoorman closed D5267: Drop the W postfix on the 16-bit registers..

Yes, that took me by surprise as well :-)

Sep 10 2014, 12:09 AM

Sep 9 2014

jobnoorman retitled D5267: Drop the W postfix on the 16-bit registers. from to Drop the W postfix on the 16-bit registers..
Sep 9 2014, 6:56 AM
jobnoorman closed D5095: Do not assume the value passed to memset is an i32..
Sep 9 2014, 6:48 AM

Aug 29 2014

jobnoorman accepted D5095: Do not assume the value passed to memset is an i32..

Thanks for the reviews! r216716

Aug 29 2014, 1:34 AM

Aug 28 2014

jobnoorman retitled D5095: Do not assume the value passed to memset is an i32. from to Do not assume the value passed to memset is an i32..
Aug 28 2014, 2:28 AM