RFR: 8353500: [s390x] Intrinsify Unsafe::setMemory [v3]
Amit Kumar
amitkumar at openjdk.org
Thu Apr 17 10:28:39 UTC 2025
> Unsafe::setMemory intrinsic implementation for s390x.
>
> Stub Code:
>
>
> StubRoutines::unsafe_setmemory [0x000003ffb04b63c0, 0x000003ffb04b64d0] (272 bytes)
> --------------------------------------------------------------------------------
> 0x000003ffb04b63c0: ogrk %r1,%r2,%r3
> 0x000003ffb04b63c4: nill %r1,7
> 0x000003ffb04b63c8: je 0x000003ffb04b6410
> 0x000003ffb04b63cc: nill %r1,3
> 0x000003ffb04b63d0: je 0x000003ffb04b6460
> 0x000003ffb04b63d4: nill %r1,1
> 0x000003ffb04b63d8: jlh 0x000003ffb04b64a0
> 0x000003ffb04b63dc: risbg %r4,%r4,48,55,8
> 0x000003ffb04b63e2: risbgz %r1,%r3,32,63,62
> 0x000003ffb04b63e8: je 0x000003ffb04b6402
> 0x000003ffb04b63ec: nopr
> 0x000003ffb04b63ee: nopr
> 0x000003ffb04b63f0: sth %r4,0(%r2)
> 0x000003ffb04b63f4: sth %r4,2(%r2)
> 0x000003ffb04b63f8: agfi %r2,4
> 0x000003ffb04b63fe: brct %r1,0x000003ffb04b63f0
> 0x000003ffb04b6402: nilf %r3,2
> 0x000003ffb04b6408: ber %r14
> 0x000003ffb04b640a: sth %r4,0(%r2)
> 0x000003ffb04b640e: br %r14
> 0x000003ffb04b6410: risbg %r4,%r4,48,55,8
> 0x000003ffb04b6416: risbg %r4,%r4,32,47,16
> 0x000003ffb04b641c: risbg %r4,%r4,0,31,32
> 0x000003ffb04b6422: risbgz %r1,%r3,32,63,60
> 0x000003ffb04b6428: je 0x000003ffb04b6446
> 0x000003ffb04b642c: nopr
> 0x000003ffb04b642e: nopr
> 0x000003ffb04b6430: stg %r4,0(%r2)
> 0x000003ffb04b6436: stg %r4,8(%r2)
> 0x000003ffb04b643c: agfi %r2,16
> 0x000003ffb04b6442: brct %r1,0x000003ffb04b6430
> 0x000003ffb04b6446: nilf %r3,8
> 0x000003ffb04b644c: ber %r14
> 0x000003ffb04b644e: stg %r4,0(%r2)
> 0x000003ffb04b6454: br %r14
> 0x000003ffb04b6456: nopr
> 0x000003ffb04b6458: nopr
> 0x000003ffb04b645a: nopr
> 0x000003ffb04b645c: nopr
> 0x000003ffb04b645e: nopr
> 0x000003ffb04b6460: risbg %r4,%r4,48,55,8
> 0x000003ffb04b6466: risbg %r4,%r4,32,47,16
> 0x000003ffb04b646c: risbgz %r1,%r3,32,63,61
> 0x000003ffb04b6472: je 0x000003ffb04b6492
> 0x000003ffb04b6476: nopr
> 0x000003ffb04b6478: nopr
> 0x000003ffb04b647a: nopr
> 0x000003ffb04b647c: nopr
> 0x000003ffb04b647e: nopr
> 0x000003ffb04b6480: st %r4,0(%r2)
> 0x000003ffb04b6484: st %r4,4(%r2)
> 0x000003ffb04b6488: agfi %r2,8
> 0x000003ffb04b648e: brct %r1,0x000003ffb04b6480
> 0x000003ffb04b6492: nilf %r3,4
> 0x000003ffb04b6498: ber %r14
> 0x000003ffb04b649a: st %r4,0(%r2)
> 0x000003ffb04b649e: br %r14
> 0x000003ffb04b64a0: risbgz %r1,%r3,32,63,63
> 0x000003ffb04b64a6: je 0x000003ffb04b64c2
> 0x000003...
Amit Kumar has updated the pull request incrementally with six additional commits since the last revision:
- extra line
- improvement
- fix testcases
- extra line
- wip: fixed the regression
- [wip] initial mvc template solution
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24480/files
- new: https://git.openjdk.org/jdk/pull/24480/files/1b8ea8bb..cf709eec
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24480&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24480&range=01-02
Stats: 41 lines in 1 file changed: 36 ins; 3 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/24480.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24480/head:pull/24480
PR: https://git.openjdk.org/jdk/pull/24480
More information about the hotspot-compiler-dev
mailing list