Code-Review | +1 |
static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN, "RvvVLEN size unimplemented");
```suggestion
static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN, "RvvVLEN size is unimplemented");
```
PrintF("%016" PRIx64, value.chunks[i]);
No underscores in this one?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN, "RvvVLEN size unimplemented");
```suggestion
static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN, "RvvVLEN size is unimplemented");
```
done.
PrintF("%016" PRIx64, value.chunks[i]);
No underscores in this one?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/codegen/riscv/base-constants-riscv.h
Insertions: 2, Deletions: 1.
@@ -343,7 +343,8 @@
static_assert(kSimulatorRvvVLEN >= 128, "RvvVLEN must be >= 128 bit");
static_assert((kSimulatorRvvVLEN & (kSimulatorRvvVLEN - 1)) == 0,
"RvvVLEN must be a power of 2");
-static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN, "RvvVLEN size unimplemented");
+static_assert(kSimulatorRvvVLEN <= kMaxRvvVLEN,
+ "RvvVLEN size is unimplemented");
#else
constexpr int kSimulatorRvvVLEN = 128;
#endif
```
```
The name of the file: src/execution/riscv/simulator-riscv.cc
Insertions: 4, Deletions: 1.
@@ -1857,7 +1857,10 @@
VRegisterValue value = GetVRegisterValue(vregnum);
PrintF("\t%s:0x", VRegisters::Name(vregnum));
for (int i = VRegisterValue::kChunks - 1; i >= 0; i--) {
- PrintF("%016" PRIx64, value.chunks[i]);
+ const char* format = i != VRegisterValue::kChunks - 1
+ ? "_%016" PRIx64
+ : "%016" PRIx64;
+ PrintF(format, value.chunks[i]);
}
PrintF("\n");
#endif
```
[riscv] Add simulator support for 256/512 bit vectors.
The default vector size of the simulator is 128 bits, but can be changed
by changing the gn arg 'riscv_rvv_vlen'.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |