Hi all,

After turboshaft-csa is enabled [1], 
`cctest/test-serialize/StaticRootsPredictableSnapshot` [2] started to fail 
on loong64 port:
> # Fatal error in ../../src/execution/isolate.cc, line 5630
> # The Isolate is incompatible with the embedded blob. This is usually 
caused by incorrect usage of mksnapshot. When generating custom snapshots, 
embedders must ensure they pass the same flags as during the V8 build 
process (e.g.: --turbo-instruction-scheduling).

It seems that the register allocation results are not always the same over 
repeat runs, and may generate different builtin codes and different 
embedded blob hash.

So I wonder is the register allocation deterministic by design? Any help is 
appreciated, Thanks!

Yours,
Zhao Jiazhong

[1] https://chromium-review.googlesource.com/c/v8/v8/+/5823192
[2] 
https://source.chromium.org/chromium/chromium/src/+/main:v8/test/cctest/test-serialize.cc;l=6436

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/e874b2f7-b88b-44bd-ba43-f5b7d2575579n%40googlegroups.com.

Reply via email to