diff options
author | Cherry Zhang <cherryyz@google.com> | 2019-05-17 00:21:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-05-17 00:21:22 +0000 |
commit | 395389bf9492a69db79747943d32abd0b7ac36c3 (patch) | |
tree | c47f111e7291a1fc34360a96cd67dbdfe84dc56a /gcc/go/ChangeLog | |
parent | 6a362e1237fa3d7f2330181566eff02d83794475 (diff) | |
download | gcc-395389bf9492a69db79747943d32abd0b7ac36c3.zip gcc-395389bf9492a69db79747943d32abd0b7ac36c3.tar.gz gcc-395389bf9492a69db79747943d32abd0b7ac36c3.tar.bz2 |
compiler: intrinsify runtime/internal/atomic functions
Currently runtime/internal/atomic functions are implemented in C
using C compiler intrinsics. This CL lets the Go frontend
recognize these functions and turn them into intrinsics directly.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/176918
* go-gcc.cc (Gcc_backend::Gcc_backend): Define atomic builtins.
From-SVN: r271308
Diffstat (limited to 'gcc/go/ChangeLog')
-rw-r--r-- | gcc/go/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index 10c2b69..255d3b5 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,7 @@ +2019-05-16 Cherry Zhang <cherryyz@google.com> + + * go-gcc.cc (Gcc_backend::Gcc_backend): Define atomic builtins. + 2019-05-08 Cherry Zhang <cherryyz@google.com> * go-gcc.cc (Gcc_backend::Gcc_backend): Define memmove builtin. |