()
| 417 | } |
| 418 | |
| 419 | toString(): string { |
| 420 | const ret = DLDataTypeCodeToStr[this.code] + this.bits.toString(); |
| 421 | if (this.lanes != 1) { |
| 422 | return ret + "x" + this.lanes.toString(); |
| 423 | } else { |
| 424 | return ret; |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | numStorageBytes(): number { |
| 429 | return (this.bits * this.lanes + 7) >> 3; |