Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

LLVM ERROR: Do not know how to split the result of this operator! #21640

Open Quuxplusone opened 9 years ago

Quuxplusone commented 9 years ago
Bugzilla Link PR21641
Status NEW
Importance P normal
Reported by David Heidelberg (okias) (david@ixit.cz)
Reported on 2014-11-21 20:19:30 -0800
Last modified on 2016-05-20 01:00:13 -0700
Version trunk
Hardware PC Linux
CC artem.tamazov@amd.com, chfast@gmail.com, llvm-bugs@lists.llvm.org, mao.weiming@zte.com.cn
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
LLVM 3.5 or LLVM get me error
"LLVM ERROR: Do not know how to split the result of this operator!"
 for lot operations done by Mesa llvmpipe.

LLVM is compiled with -march=native.

On my A8-3870 I getting these errors, on AMD Athlon 64 X2 TK-55 same examples
work very well.

Attaching /proc/cpuinfo

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 18
model           : 1
model name      : AMD A8-3870 APU with Radeon(tm) HD Graphics
stepping        : 0
microcode       : 0x3000027
cpu MHz         : 3300.000
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb
rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid
aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy
abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat hw_pstate npt lbrv
svm_lock nrip_save pausefilter
bogomips        : 6929.95
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

I can do tests if needed except compiling LLVM with debug.
Quuxplusone commented 9 years ago
Example:

llvmpipe: Create vertex shader 0x7c9f6e98:
VERT
DCL IN[0]
DCL IN[1]
DCL IN[2]
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL OUT[2], COLOR[1]
DCL OUT[3], GENERIC[0]
DCL CONST[0..3]
DCL TEMP[0..7], LOCAL
IMM[0] FLT32 {    1.0000,     0.0000,     0.0000,     0.0000}
  0: MUL TEMP[0], IN[0].xxxx, CONST[0]
  1: MAD TEMP[0], IN[0].yyyy, CONST[1], TEMP[0]
  2: MAD TEMP[0], IN[0].zzzz, CONST[2], TEMP[0]
  3: MAD OUT[0], IN[0].wwww, CONST[3], TEMP[0]
  4: MOV OUT[3], IN[2]
  5: MOV_SAT OUT[1], IN[1]
  6: MOV_SAT OUT[2], IMM[0].xxxx
  7: END
LLVM ERROR: Do not know how to split the result of this operator!