---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 15 Edition"
java_version: 15
chapter: "Chapter 4. The class File Format"
section: "4.10.1.9.ishl"
heading: "ishl, ishr, iushr"
parent: "4.10.1.9. Type Checking Instructions"
source: https://docs.oracle.com/javase/specs/jvms/se15/html/jvms-4.html#jvms-4.10.1.9.ishl
id: "4.10.1.9.ishl"
url: https://jvm.obfuscated.software/jvms/se15/4.10.1.9.ishl.html
raw: https://jvm.obfuscated.software/jvms/se15/4.10.1.9.ishl.md
---

# ishl, ishr, iushr

An *ishl* instruction is type safe iff the equivalent *iadd* instruction is type safe.

```
instructionHasEquivalentTypeRule(ishl, iadd).
```

An *ishr* instruction is type safe iff the equivalent *iadd* instruction is type safe.

```
instructionHasEquivalentTypeRule(ishr, iadd).
```

An *iushr* instruction is type safe iff the equivalent *iadd* instruction is type safe.

```
instructionHasEquivalentTypeRule(iushr, iadd).
```
