commit | 16826bfa6f73e938d9f4e01c94af1f8d71028efc | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Wed Aug 10 11:55:12 2022 -0400 |
committer | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com <swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 10 20:28:00 2022 +0000 |
tree | 16eadb007305b9865aaa0c0c51d97b0254521f9d | |
parent | aafa10869568fd3e84bfef1df2ed0e159b179dce [diff] |
Fix printing SIMD::Pointer offsets Bug: b/214583550 Change-Id: I4703867b3e5a8ed653e876118025d61949ec59c0 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/67430 Commit-Queue: Nicolas Capens <nicolascapens@google.com> Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Reactor/Print.hpp b/src/Reactor/Print.hpp index 21839ee..6d2b4d1 100644 --- a/src/Reactor/Print.hpp +++ b/src/Reactor/Print.hpp
@@ -333,7 +333,7 @@ if(v.isBasePlusOffset) { std::string format; - for(int i = 1; i < SIMD::Width; i++) { format += ", %p"; } + for(int i = 1; i < SIMD::Width; i++) { format += ", %d"; } return "{%p + [%d" + format + "]}"; } else