Page MenuHomeFreeBSD

bruno.larsen_eldorado.org.br (Bruno Larsen)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 15 2021, 1:28 PM (9 w, 3 d)

Recent Activity

Mar 9 2021

bruno.larsen_eldorado.org.br updated the diff for D29067: powerpc64le: port optimized strcpy for LE version of processor.
  • fixed formatting issues
Mar 9 2021, 11:43 AM · PowerPC

Mar 4 2021

bruno.larsen_eldorado.org.br edited reviewers for D29067: powerpc64le: port optimized strcpy for LE version of processor, added: luporl, jhibbits, alfredo; removed: fernando.valle_eldorado.org.br.
Mar 4 2021, 7:48 PM · PowerPC
bruno.larsen_eldorado.org.br added reviewers for D29067: powerpc64le: port optimized strcpy for LE version of processor: leonardo.bianconi_eldorado.org.br, fernando.valle_eldorado.org.br.
Mar 4 2021, 7:39 PM · PowerPC
bruno.larsen_eldorado.org.br added a project to D29067: powerpc64le: port optimized strcpy for LE version of processor: PowerPC.
Mar 4 2021, 7:35 PM · PowerPC
bruno.larsen_eldorado.org.br requested review of D29067: powerpc64le: port optimized strcpy for LE version of processor.
Mar 4 2021, 7:34 PM · PowerPC

Feb 24 2021

bruno.larsen_eldorado.org.br added a comment to D28776: powerpc/powerpc64: Enforce natural alignment in bcopy.

It looks great now! Since this changes core libc functions, can you perform a buildworld on a system with the modified libc installed to confirm everything works fine?

Feb 24 2021, 8:13 PM · PowerPC

Feb 23 2021

bruno.larsen_eldorado.org.br updated the diff for D28776: powerpc/powerpc64: Enforce natural alignment in bcopy.
  • added new execution path in case src and dst are relatively unaligned
  • fixed the style issues
Feb 23 2021, 2:47 PM · PowerPC

Feb 22 2021

bruno.larsen_eldorado.org.br added a comment to D28776: powerpc/powerpc64: Enforce natural alignment in bcopy.

Before going further with this discussion, it is important to realize that there are actually 2 issues with bcopy to be solved.

The first one is the use of VSX on POWER7 and older CPUs, that causes SIGBUS with unaligned memory.

The second one is unaligned access on cache-inhibited storage, which AFAIK is not allowed on ANY PowerPC CPU.

So, unless we ignore cache-inhibited storage, commonly used for stuff like framebuffers, we just can't allow unaligned accesses to memory.
That's why my suggestion was to do the same as was done with memcpy, of using only byte copies on unaligned memory.

Besides that, source must always be aligned, to prevent issues such as reading across page boundaries, when the upper page memory may not be accessible.

Feb 22 2021, 7:13 PM · PowerPC
bruno.larsen_eldorado.org.br updated the diff for D28776: powerpc/powerpc64: Enforce natural alignment in bcopy.
  • improved formatting
  • solution to the problem outlined by luporl
Feb 22 2021, 2:46 PM · PowerPC

Feb 18 2021

bruno.larsen_eldorado.org.br added reviewers for D28776: powerpc/powerpc64: Enforce natural alignment in bcopy: jhibbits, luporl, alfredo.
Feb 18 2021, 6:14 PM · PowerPC
bruno.larsen_eldorado.org.br requested review of D28776: powerpc/powerpc64: Enforce natural alignment in bcopy.
Feb 18 2021, 5:15 PM · PowerPC