[LLVMbugs] [Bug 5145] New: Some atomic max/umax/min/ umin intrinsics are not supported on X86 platform
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 7 03:46:44 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5145
Summary: Some atomic max/umax/min/umin intrinsics are not
supported on X86 platform
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: eugeny.grishul at gmail.com
CC: llvmbugs at cs.uiuc.edu
I tried max/min atomic operations on x86 platform( win7 64-bit, intel q9450,
32-bit llvm tools) and following are not work:
@llvm.atomic.load.max.i8.p0i8
@llvm.atomic.load.max.i16.p0i16
@llvm.atomic.load.max.i64.p0i64
@llvm.atomic.load.umax.i8.p0i8
@llvm.atomic.load.umax.i16.p0i16
@llvm.atomic.load.umax.i64.p0i64
@llvm.atomic.load.min.i8.p0i8
@llvm.atomic.load.min.i16.p0i16
@llvm.atomic.load.min.i64.p0i64
@llvm.atomic.load.umin.i8.p0i8
@llvm.atomic.load.umin.i16.p0i16
@llvm.atomic.load.umin.i64.p0i64
For @llvm.atomic.load.max.i8.p0i8 JIT prints something like this:
LLVM ERROR: Cannot yet select: 0x4fdd438: i8,ch = AtomicLoadUMax 0x500bb40,
0x4fedf60, 0x4fdb4d0 <Volatile LDST1[%_byte]>
Are these intrisics supported on X86 architecture? If not, can you mention in
docs which intrinsic support which platform (I find that
add,sub,xor,or,and,nand,swap works with 8/16/32/64 bit widths, however docs
said that "Not all targets support all bit widths however." for them and
max/min intrinsics ).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list