add function calls for volatile loads and stores