https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
--- Comment #22 from Neal Frager <neal.frager at amd dot com> --- Hello everyone, Could we ask for a review / request for comment of the attached patch which will enable atomic test and set support for microblaze? Please note that this solution requires the -mxl-barrel-shift flag to be enabled, which is not the case by default. Please let us know your comments and if this could be a patch that could be submitted as a solution to the microblaze atomic issue. Best regards, Neal Frager AMD