search for: typesize

Displaying 20 results from an estimated 23 matches for "typesize".

2010 Oct 17
6
klibc 1.5.20 falls into an finite loop during build against linux 2.6.35.4
GEN usr/klibc/syscalls/SYSCALLS.i GEN usr/klibc/syscalls/syscalls.nrs GEN usr/klibc/syscalls/typesize.c KLIBCCC usr/klibc/syscalls/typesize.o OBJCOPY usr/klibc/syscalls/typesize.bin GEN usr/klibc/syscalls/syscalls.mk GEN usr/klibc/syscalls/SYSCALLS.i GEN usr/klibc/syscalls/syscalls.nrs GEN usr/klibc/syscalls/typesize.c KLIBCCC usr/klibc/syscalls/typesize.o OBJCOPY us...
2013 Oct 02
2
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...ctor result. 'char' is always troublesome, though in C++ it is a discrete type. I made the following change in my copy (clang-3.3) that I think is a correct and valid change: File: tools/clang/lib/Sema/SemaChecking.cpp Function: Sema::GetSignedVectorType() Replace the fragment: if (TypeSize == Context.getTypeSize(Context.CharTy)) return Context.getExtVectorType(Context.CharTy, VTy->getNumElements()); ^^^^^^ with: if (TypeSize == Context.getTypeSize(Context.CharTy)) return Context.getExtVectorType(Context.SignedCharTy, VTy->getNum...
2013 Oct 02
0
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...esome, though in C++ it is a discrete type. I made > the following change in my copy (clang-3.3) that I think is a correct and > valid change: > > File: tools/clang/lib/Sema/SemaChecking.cpp > Function: Sema::GetSignedVectorType() > > Replace the fragment: > > if (TypeSize == Context.getTypeSize(Context.CharTy)) > return Context.getExtVectorType(Context.CharTy, > VTy->getNumElements()); > ^^^^^^ > with: > if (TypeSize == Context.getTypeSize(Context.CharTy)) > return Context.getExtVectorType(Contex...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel
2020 Nov 11
3
An update on scalable vectors in LLVM
...hanges in the code-base around this, so here is a brief update to give this effort some wider visibility. This email is structured as follows: * Regular Sync-up meetings * Changes made to represent scalable vectors in the C++ codebase * ElementCount and VectorType type hierarchy * Migrating to TypeSize * StackOffset * What works for scalable vectors today? * What’s next? * Concluding * Acknowledgements Regular Sync-up meetings: ========================= Adding scalable vector support to Clang and LLVM is an effort spanning multiple people and organizations. Over the past year, we have been m...
2013 Oct 02
0
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...ctor result. 'char' is always troublesome, though in C++ it is a discrete type. I made the following change in my copy (clang-3.3) that I think is a correct and valid change: File: tools/clang/lib/Sema/SemaChecking.cpp Function: Sema::GetSignedVectorType() Replace the fragment: if (TypeSize == Context.getTypeSize(Context.CharTy)) return Context.getExtVectorType(Context.CharTy, VTy->getNumElements()); ^^^^^^ with: if (TypeSize == Context.getTypeSize(Context.CharTy)) return Context.getExtVectorType(Context.SignedCharTy, VTy->getNum...
2006 May 07
3
Troubleshooting "too many open files'
Hi, Besides file-max and file-nr is there anywhere else I should be looking to solve a C program giving me 'too many open files' problem? (centos 3.4) While the program is complaining here were the values file-max 209632 file-nr 3655 258 209632 lsof | wc -l around 7000 during and about 1111 less after I closed the application. Any ideas? thx
2006 Jul 07
0
[patch] s390: fix six parameter handling in sysstub.ph
...tub.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.globl ${fname}\n&quot...
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...PointerType::getUnqual(ConvertType(TREE_TYPE(exp)))); + const Type *ATy = cast<PointerType>(ArrayAddr->getType())- >getElementType(); + const Type *ElementTy = cast<ArrayType>(ATy)->getElementType(); + unsigned Alignment = MinAlign(ArrayAlign, TD.getABITypeSize(ElementTy)); + return LValue(BitCastToType(Ptr, + PointerType::getUnqual(ConvertType(TREE_TYPE(exp)))), + Alignment); } // If we are indexing over a fixed-size type, just use a GEP. - if (isSequentialCompatible(ArrayType)) { - const Type...
2010 Oct 04
0
No subject
...uild index 4dbbc31..c94f65c 100644 --- a/usr/klibc/syscalls/Kbuild +++ b/usr/klibc/syscalls/Kbuild @@ -95,3 +95,6 @@ $(obj)/syscalls.mk: $(srctree)/$(KLIBCSRC)/syscalls.pl $(obj)/SYSCALLS.i \ $(src)/syscommon.h $(obj)/syscalls.nrs \ $(obj)/typesize.bin FORCE $(call if_changed,syscalls) + +# Used by if_changed and friends +PHONY += FORCE -- 1.7.2.3
2010 Nov 10
2
[PATCH] Avoid infinite loop during build with make 3.82
Remove FORCE from the list used by if_changed and friends. Otherwise the target will always be considered out of date when built with make 3.82.
2007 Oct 08
0
[LLVMdev] The definition of getTypeSize
On Oct 7, 2007, at 11:23 AM, Duncan Sands wrote: > Now that I'm working on codegen support for arbitrary precision > integers (think i36 or i129), I've hit the problem of what > getTypeSize and friends should return for such integers (the > current implementations seem to me to be wrong). However it's > not clear to me how getTypeSize and friends are defined. > > There seem to be several possible meanings for the size of a type > (only talking about primitive types...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...##### @@ -17,7 +17,7 @@ # Generate syscalls stubs # Based on list in SYSCALLS.def generate stubs for sys calls. Actual arch code # is defined in an arch specific perl file targets += syscalls.mk -targets += syscalls.list +targets += klib.list targets += SYSCALLS.i syscalls.nrs targets += typesize.c typesize.o typesize.bin targets += $(syscall-objs) @@ -34,7 +34,7 @@ quiet_cmd_makelist = LIST $@ cmd_makelist = echo '$(filter-out FORCE,$^)' > $@ # Create list of all files -$(obj)/syscalls.list: $(call objectify,$(syscall-objs)) FORCE +$(obj)/klib.list: $(call objectif...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...tcalls/.gitignore @@ -0,0 +1,3 @@ +*.S +SOCKETCALLS.i +socketcalls.mk diff --git a/usr/klibc/syscalls/.gitignore b/usr/klibc/syscalls/.gitignore new file mode 100644 index 0000000..d255e6e --- /dev/null +++ b/usr/klibc/syscalls/.gitignore @@ -0,0 +1,6 @@ +*.S +SYSCALLS.i +syscalls.mk +syscalls.nrs +typesize.bin +typesize.c commit cfbff10509b1ee6964339684e739d6f086e44b5e Author: maximilian attems <max at stro.at> Date: Sat Aug 11 12:34:01 2007 +0200 fstype: add ext4 support ext3_fs.h: add the new flags. one still need some oot e2fsprogs, but ext4dev is in linus ./mis...
2007 Oct 08
3
[LLVMdev] The definition of getTypeSize
Hi Evan, thanks for replying. > > Now that I'm working on codegen support for arbitrary precision > > integers (think i36 or i129), I've hit the problem of what > > getTypeSize and friends should return for such integers (the > > current implementations seem to me to be wrong). However it's > > not clear to me how getTypeSize and friends are defined. > > > > There seem to be several possible meanings for the size of a type > > (only talk...
2007 Oct 07
5
[LLVMdev] The definition of getTypeSize
Now that I'm working on codegen support for arbitrary precision integers (think i36 or i129), I've hit the problem of what getTypeSize and friends should return for such integers (the current implementations seem to me to be wrong). However it's not clear to me how getTypeSize and friends are defined. There seem to be several possible meanings for the size of a type (only talking about primitive types here): (1) The minimum...
2020 Mar 09
8
[RFC] Refactor class hierarchy of VectorType in the IR
...ompile time, and ty is some type. Scalable vectors are written <vscale x n x ty> where vscale is a runtime constant value. A new function has been added to VectorType (defined in llvm/IR/DerivedTypes.h), getElementCount(), that returns an ElementCount, which is defined as such in llvm/Support/TypeSize.h: class ElementCount { public: unsigned Min; bool Scalable; ... } Min is the minimum number of elements in the vector (the "n" in <vscale x n x ty>), and Scalable is true if the vector is scalable (true for <vscale x n x ty>, false for &l...
2007 Oct 09
0
[LLVMdev] The definition of getTypeSize
On Oct 8, 2007, at 12:47 PM, Duncan Sands wrote: > Hi Evan, thanks for replying. > >>> Now that I'm working on codegen support for arbitrary precision >>> integers (think i36 or i129), I've hit the problem of what >>> getTypeSize and friends should return for such integers (the >>> current implementations seem to me to be wrong). However it's >>> not clear to me how getTypeSize and friends are defined. >>> >>> There seem to be several possible meanings for the size of a type >>...
2020 Apr 22
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...ompile time, and ty is some type. Scalable vectors are written <vscale x n x ty> where vscale is a runtime constant value. A new function has been added to VectorType (defined in llvm/IR/DerivedTypes.h), getElementCount(), that returns an ElementCount, which is defined as such in llvm/Support/TypeSize.h: class ElementCount { public: unsigned Min; bool Scalable; ... } Min is the minimum number of elements in the vector (the "n" in <vscale x n x ty>), and Scalable is true if the vector is scalable (true for <vscale x n x ty>, false for &l...
2020 May 05
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...ompile time, and ty is some type. Scalable vectors are written <vscale x n x ty> where vscale is a runtime constant value. A new function has been added to VectorType (defined in llvm/IR/DerivedTypes.h), getElementCount(), that returns an ElementCount, which is defined as such in llvm/Support/TypeSize.h: > > class ElementCount { > > public: > > unsigned Min; > > bool Scalable; > > … > > } > > Min is the minimum number of elements in the vector (the “n” in <vscale x n x ty>), and Scalable is true if the vector i...