On 23 August 2012 00:45, Jakub Jermar <[email protected]> wrote: > - non x86 platforms are missing atomic_cas_* implementations (the > first step would be to make all platforms at least build using just > dummy implementations, the next step would be to provide > functional, but perhaps still limited implementations for these); > for example, armv4 does not have atomic instructions, so all one > can do is disable interrupts and then do a non-atomic cas
What about GCC builtins? I'd imagine these are implemented in the best possible way on all supported platforms. There is GCC-specific code all around the system anyway, Clang mirrors its features well, and I don't see the need (or sense) to target any other compiler. _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
