From 868aea7812f0927706f6a55ac394533ed9021fb7 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 30 Dec 2020 22:01:11 +0000 Subject: [PATCH] --- openpower/sv/svp64.mdwn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openpower/sv/svp64.mdwn b/openpower/sv/svp64.mdwn index dbcd1b747..d837dbf91 100644 --- a/openpower/sv/svp64.mdwn +++ b/openpower/sv/svp64.mdwn @@ -235,18 +235,20 @@ explicitly required value. | Value | Mnemonic | Description | |-------|----------------|------------------------------------| | 00 | DEFAULT | default behaviour for operation | -| 01 | `ELWIDTH=b` | Byte: 8-bit integer | +| 01 | `ELWIDTH=w` | Word: 32-bit integer | | 10 | `ELWIDTH=h` | Halfword: 16-bit integer | -| 11 | `ELWIDTH=w` | Word: 32-bit integer | +| 11 | `ELWIDTH=b` | Byte: 8-bit integer | + +This encoding is chosen such that the byte width may be computed as `(3-ew)<<8` ## Elwidth for FP Registers: | Value | Mnemonic | Description | |-------|----------------|------------------------------------| | 00 | DEFAULT | default behaviour for FP operation | -| 01 | `ELWIDTH=bf16` | Reserved for `bf16` | +| 01 | `ELWIDTH=f32` | 32-bit IEEE 754 Single floating-point | | 10 | `ELWIDTH=f16` | 16-bit IEEE 754 Half floating-point | -| 11 | `ELWIDTH=f32` | 32-bit IEEE 754 Single floating-point | +| 11 | `ELWIDTH=bf16` | Reserved for `bf16` | Note: [`bf16`](https://en.wikipedia.org/wiki/Bfloat16_floating-point_format) -- 2.30.2