ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

dup2

T1 jvm alu insn
JVM Bytecode dup2 (0x5c)
SourceJava Virtual Machine (JVM) Bytecode Opcode Specification (openjdk_jvm_bytecode)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeJVMS SE 21
OpenJDK HotSpot / GraalVM / Standard JVM
License & VersionOpen Specification / GPL-2.0-with-classpath-exception
JVMS SE 21
Upstreamhttps://docs.oracle.com/javase/specs/jvms/se21/html/jvms-6.html
Privilegeuser
ExtensionsStack

Summary

Duplicate top one or two operand stack values. Single-byte opcode 0x5c.

Syntax / Encoding

dup2

Binary Encodings (1)

WidthFormatBit PatternMask / Match
8JVMS-8 (Stack)010111000xff / 0x5c