|
|
|
|
|
by groar
4000 days ago
|
|
What you probably mean is something like nice abstract accounts of memory models for C that at the same time capture all the optimisations modern C-compilers want to do, while still being implementable on existing CPUs. That is indeed an open problem [1].
True. Although CompCert [1] is a nice effort toward that goal: a proved C compiler that covers almost all C99 with many optimizations implemented and proved sound.[1] http://compcert.inria.fr/compcert-C.html |
|
The problem with memory models is not so much verifying it in a mechanised way, but inventing something suitable at all.