/*
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
* Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
* Copyright (c) 2003-2011 Hewlett-Packard Development Company, L.P.
*
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/* char_load_read is defined using load and nop_read. */
/* TODO: Map it to ACQUIRE. We should be strengthening the read and */
/* write stuff to the more general acquire/release versions. It almost */
/* never makes a difference and is much less error-prone. */
/* char_load_full is generalized using load and nop_full. */
/* TODO: Map it to SEQ_CST and clarify the documentation. */
/* TODO: Map load_dd_acquire_read to ACQUIRE. Ideally it should be */
/* mapped to CONSUME, but the latter is currently broken. */
/* char_store_full definition is omitted similar to load_full reason. */
#endif /* AO_GCC_HAVE_char_SYNC_CAS */
/*
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
* Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
* Copyright (c) 2003-2011 Hewlett-Packard Development Company, L.P.
*
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/* short_load_read is defined using load and nop_read. */
/* TODO: Map it to ACQUIRE. We should be strengthening the read and */
/* write stuff to the more general acquire/release versions. It almost */
/* never makes a difference and is much less error-prone. */
/* short_load_full is generalized using load and nop_full. */
/* TODO: Map it to SEQ_CST and clarify the documentation. */
/* TODO: Map load_dd_acquire_read to ACQUIRE. Ideally it should be */
/* mapped to CONSUME, but the latter is currently broken. */
/* short_store_full definition is omitted similar to load_full reason. */
#endif /* AO_GCC_HAVE_short_SYNC_CAS */
/*
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
* Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
* Copyright (c) 2003-2011 Hewlett-Packard Development Company, L.P.
*
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/* int_load_read is defined using load and nop_read. */
/* TODO: Map it to ACQUIRE. We should be strengthening the read and */
/* write stuff to the more general acquire/release versions. It almost */
/* never makes a difference and is much less error-prone. */
/* int_load_full is generalized using load and nop_full. */
/* TODO: Map it to SEQ_CST and clarify the documentation. */
/* TODO: Map load_dd_acquire_read to ACQUIRE. Ideally it should be */
/* mapped to CONSUME, but the latter is currently broken. */
/* int_store_full definition is omitted similar to load_full reason. */
#endif /* AO_GCC_HAVE_int_SYNC_CAS */
/*
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved.
* Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
* Copyright (c) 2003-2011 Hewlett-Packard Development Company, L.P.
*
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are retained on all copies.
* Permission to modify the code and to distribute modified code is granted,
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*
*/
/* load_read is defined using load and nop_read. */
/* TODO: Map it to ACQUIRE. We should be strengthening the read and */
/* write stuff to the more general acquire/release versions. It almost */
/* never makes a difference and is much less error-prone. */
/* load_full is generalized using load and nop_full. */
/* TODO: Map it to SEQ_CST and clarify the documentation. */
/* TODO: Map load_dd_acquire_read to ACQUIRE. Ideally it should be */
/* mapped to CONSUME, but the latter is currently broken. */
/* store_full definition is omitted similar to load_full reason. */