Support streams to/from arrays of wide data (#5334)

This commit is contained in:
Arkadiusz Kozdra
2024-08-06 16:18:16 +01:00
committed by GitHub
parent 3426ee5170
commit e6fe367bdb
4 changed files with 309 additions and 61 deletions
+1 -7
View File
@@ -449,13 +449,7 @@ public:
putns(castp, "VL_UNPACK_");
emitIQW(nodep->dtypep()->subDTypep());
emitIQW(castp->fromp());
puts("<");
putbs(castp->dtypep()->subDTypep()->cType("", false, false));
if (VN_IS(castp->dtypep(), UnpackArrayDType)) {
puts(", ");
puts(cvtToStr(castp->dtypep()->arrayUnpackedElements()));
}
puts(">(");
puts("(");
putns(castp->dtypep(), cvtToStr(castp->dtypep()->subDTypep()->widthMin()));
puts(", ");
puts(cvtToStr(castp->fromp()->widthMin()));