Add support for 8 and 16 bit forms of __sync
authorDale Johannesen <dalej@apple.com>
Tue, 19 Aug 2008 18:47:28 +0000 (18:47 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 19 Aug 2008 18:47:28 +0000 (18:47 +0000)
commit140be2dfb76928cb660b7de23f8310d76ca794b5
tree5b90b01ba67a591dbae26ebc89f9792f1e7e890d
parent567263462f8ad255ebddaff9138e3b76bec6340c
Add support for 8 and 16 bit forms of __sync
builtins on X86.

Change "lock" instructions to be on a separate line.
This is needed to work around a bug in the Darwin
assembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54999 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/atomic_op.ll