Bug 239806

Summary: [RISCV64] Implement MacroAssemblerRISCV64 branchAtomicWeakCAS{8,16,32,64} methods
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 237775    
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Zan Dobersek 2022-04-27 00:55:00 PDT
[RISCV64] Implement MacroAssemblerRISCV64 branchAtomicWeakCAS{8,16,32,64} methods
Comment 1 Zan Dobersek 2022-04-27 00:56:14 PDT
Created attachment 458430 [details]
Patch
Comment 2 Yusuke Suzuki 2022-04-28 00:48:45 PDT
Comment on attachment 458430 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=458430&action=review

r=me with nit.D

> Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:3366
> +        {
> +            Jump success = makeBranch(Equal, temp.data(), RISCV64Registers::zero);
> +            failure.link(this);
> +            return JumpList(success);
> +        }

style is,

case Success: {
    ...
}

> Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:3405
> +        {
> +            Jump success = makeBranch(Equal, temp.data(), RISCV64Registers::zero);
> +            failure.link(this);
> +            return JumpList(success);
> +        }

Ditto.

> Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:3432
> +        {
> +            Jump success = makeBranch(Equal, temp.data(), RISCV64Registers::zero);
> +            failure.link(this);
> +            return JumpList(success);
> +        }

Ditto.
Comment 3 Zan Dobersek 2022-04-28 03:03:03 PDT
Created attachment 458507 [details]
Patch for landing

With style changes.
Comment 4 Zan Dobersek 2022-04-28 03:06:53 PDT
Comment on attachment 458507 [details]
Patch for landing

Clearing flags on attachment: 458507

Committed r293571 (250085@trunk): <https://commits.webkit.org/250085@trunk>
Comment 5 Zan Dobersek 2022-04-28 03:06:59 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2022-04-28 03:07:19 PDT
<rdar://problem/92450245>