Displaying 2 results from an estimated 2 matches for "llreg".
Did you mean:
lireg
2011 Oct 20
2
[LLVMdev] Emulate i64 add with 3 instructions
...c1_low32 + src2_low32 (unsigned add; dst_high
might contain the overflow bit)
dst_high32 = dst_high32 + src1_high32
dst_high32 = dst_high32 + src2_high32
I tried it with patterns like the following in InstrInfo.td (this is
obviously wrong, but you have to start somewhere):
def : Pattern<(set LLRegs:$dst, (add LLRegs:$src1, LLRegs:$src2)), [(set
LLRegs:$dst, (anyext (add (trunc LLRegs:$src1), (trunc LLRegs:$src2))))]>;
... but tablegen complains: "Cannot use 'add' in an output pattern!". Is
this the right way to do it - that is, defining a pattern for an
operation? .....
2006 Jul 07
0
[patch] s390: fix six parameter handling in sysstub.ph
...c/arch/s390/sysstub.ph b/usr/klibc/arch/s390/sysstub.ph
index 880a0da..79f3068 100644
--- a/usr/klibc/arch/s390/sysstub.ph
+++ b/usr/klibc/arch/s390/sysstub.ph
@@ -7,33 +7,56 @@ #
sub make_sysstub($$$$$@) {
my($outputdir, $fname, $type, $sname, $stype, @args) = @_;
+ my($t);
+ my($r, $llregs) = (0, ($typesize{'void *'} == 8) ? 1 : 2);
- open(OUT, '>', "${outputdir}/${fname}.S");
- print OUT "#include <asm/unistd.h>\n";
- print OUT "\n";
- print OUT "\t.type ${fname},\@function\n";
- print OUT "\t.gl...