Displaying 20 results from an estimated 100 matches similar to: "signedness"
2008 Feb 17
2
The one thread to solve problems in the Vorbis documentation
Since documentation is now becoming an important step in the Xiph
roadmap, I figure we might as well have a thread to discuss possible
problems.
I'd like to bring attention to the following tickets in Trac:
* 1158 [1]
* 1159 [2]
* 1169 [3]
They all seem like sensible concerns and possible solutions should be
discussed here.
-Ivo
[1] https://trac.xiph.org/ticket/1158
[2]
2003 Apr 27
2
some more Spec questions
Hi !
<p>I previously posted a mail in the vorbis-dev mailing list because I'm
trying to implement a vorbis decoder in java from scratch in my
sparetime and have some questions about the bitstream spec.
As I did not get any replies, I got kinda dissapointed and
demotivated - But now.... I'm trying to take my chances here.
:-)
I'm NOT a newbie to source coding (I successfully
2011 Apr 18
0
Error in floor0 decode specification
Hello,
It seems there is an error in the algorithm for floor0 decode in section
6.2.2 of the Vorbis specification.
Here's the relevant part:
3 3) [coefficients] is an empty, zero length vector
4 4) [booknumber] = read an unsigned integer of ilog(
[floor0_number_of_books] ) bits
5 5) if ( [booknumber] is greater than the highest number decode
codebook ) then
2003 Oct 15
5
Floor0-decode-curve
Hello
I'm working on a fix-point decoder for AOS/Bluebottle - the proprietary
OS of ETH Zurich.
I've some problems with Floor0-curve-computation: I don't know what the
little omega [cos(w)] stands for, line 3 of the official Vorbis
documentation. Does anybody knows what this value means?
I've tried to get the answer from the jOrbis and Tremor, but both seem
to do - among
2011 Nov 04
0
[patch 2/2] xen-gntalloc: signedness bug in add_grefs()
gref->gref_id is unsigned so the error handling didn't work.
gnttab_grant_foreign_access() returns an int type, so we can add a
cast here, and it doesn't cause any problems.
gnttab_grant_foreign_access() can return a variety of errors
including -ENOSPC, -ENOSYS and -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
diff --git a/drivers/xen/gntalloc.c
2011 Nov 04
0
[patch 2/2] xen-gntalloc: signedness bug in add_grefs()
gref->gref_id is unsigned so the error handling didn't work.
gnttab_grant_foreign_access() returns an int type, so we can add a
cast here, and it doesn't cause any problems.
gnttab_grant_foreign_access() can return a variety of errors
including -ENOSPC, -ENOSYS and -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
diff --git a/drivers/xen/gntalloc.c
2011 Nov 04
0
[patch 2/2] xen-gntalloc: signedness bug in add_grefs()
gref->gref_id is unsigned so the error handling didn't work.
gnttab_grant_foreign_access() returns an int type, so we can add a
cast here, and it doesn't cause any problems.
gnttab_grant_foreign_access() can return a variety of errors
including -ENOSPC, -ENOSYS and -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
diff --git a/drivers/xen/gntalloc.c
2006 Oct 17
0
[LLVMdev] Signedness Elminiation
All,
Please welcome Zhou Sheng <zhousheng00 at gmail.com> to the LLVM
development community. Sheng is from Beijing and is a Masters student at
the University there. Sheng and I will be working together on some
significant changes to LLVM in the coming months. Our first task is to
implement integer types without signs in LLVM. You can read Chris
Lattner's notes on this change at this
2007 Jun 26
0
[LLVMdev] LLVM 2.0 and integer signedness
Hello everyone!
I'm using llvm for instrumenting code, and I need to know if there's a way to
difference between signed and unsigned Values of integer type during an
optimization pass. I know in llvm 1 it was possible, but i'd like to work
with llvm 2. Maybe using the debugging information? Is it available during
an optimization pass? How do I access it?
Thanks in advance
Alberto
2007 Jun 26
2
[LLVMdev] LLVM 2.0 and integer signedness
Hello, Alberto.
> I'm using llvm for instrumenting code, and I need to know if there's a way to
> difference between signed and unsigned Values of integer type during an
> optimization pass.
Types are signless in LLVM 2, operations are not. So, you should
probably inspect insts itself, not their operands.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics &
2007 Jun 26
0
[LLVMdev] LLVM 2.0 and integer signedness
The problem is that what i'm instrumenting is loads and stores, plus
function call arguments and return values, which have no signedness
information.
El 26/06/2007, a las 17:03, Anton Korobeynikov escribió:
> Hello, Alberto.
>
>> I'm using llvm for instrumenting code, and I need to know if
>> there's a way to
>> difference between signed and unsigned
2008 Jun 03
2
[LLVMdev] signedness of types
Hi
I currently would like to find out the signedness of a instruction. But
looking at the CBackend, it looks as if it is not that simple? So i have two
questions:
Is there an easier way than guessing as it is done in the CBackend?
Is there a reason for that signedness is not part of the instruction type?
Best regards
ST
2008 Jun 03
0
[LLVMdev] signedness of types
On Tue, Jun 3, 2008 at 2:42 AM, ST <st at iss.tu-darmstadt.de> wrote:
> Hi
>
> I currently would like to find out the signedness of a instruction. But
> looking at the CBackend, it looks as if it is not that simple? So i have two
> questions:
> Is there an easier way than guessing as it is done in the CBackend?
> Is there a reason for that signedness is not part of the
2011 Sep 05
2
[LLVMdev] arithmetical operands signedness
Hi,
my target handles operands of multiplying instructions differently based on signedness.
I wonder then how I would do instruction selection based on the operands signs?
The mul instruction sets a nsw for signed, but when i try unsigned ops, there is no wrap flag at all. I'm not sure this is enough information to work with, or?
Jonas
-------------- next part --------------
2011 Sep 05
0
[LLVMdev] arithmetical operands signedness
Hi Jonas,
> my target handles operands of multiplying instructions differently based on
> signedness.
since the result of a multiply doesn't depend on the signedness, I find it
strange that your target differentiates between them. What I'm saying is
that if you have (say) two i32 numbers a and b and you do a signed multiply:
c = a *s b
and an unsigned multiply
d = a *u b
2019 Nov 05
0
[klibc:master] losetup: Fix char signedness mismatches with <linux/loop.h>
Commit-ID: 8443e57e5ba71e462e31e3b5aad9f7dd1b4736f5
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8443e57e5ba71e462e31e3b5aad9f7dd1b4736f5
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Tue, 5 Nov 2019 00:39:53 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 5 Nov 2019 00:44:32 +0000
[klibc] losetup: Fix char signedness
2011 Sep 05
0
[LLVMdev] arithmetical operands signedness
Hi Christophe,
On 05/09/11 18:35, Christophe de Dinechin wrote:
>
> On 5 sept. 2011, at 17:48, Duncan Sands wrote:
>
>> since the result of a multiply doesn't depend on the signedness, I find it
>> strange that your target differentiates between them. What I'm saying is
>> that if you have (say) two i32 numbers a and b and you do a signed multiply:
>>
2020 Apr 06
3
[PATCH 1/2] vdpa: Signedness bugs in vdpasim_work()
The "read" and "write" variables need to be signed for the error
handling to work.
Fixes: 2c53d0f64c06 ("vdpasim: vDPA device simulator")
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
---
drivers/vdpa/vdpa_sim/vdpa_sim.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c
2007 Jun 26
0
[LLVMdev] LLVM 2.0 and integer signedness
I'm using LLVM to instrument C code to test the efectiveness of some
methods of error detection with dynamic invariants (see http://
citeseer.ist.psu.edu/hangal02tracking.html). I'm using also a range
invariant (max an min values seen). The problem is that for those
invariants, I need to know if the value is signed or not (0xFF can be
-1 or 255, depending on signed/unsigned).
2011 Sep 05
2
[LLVMdev] arithmetical operands signedness
On 5 sept. 2011, at 17:48, Duncan Sands wrote:
> since the result of a multiply doesn't depend on the signedness, I find it
> strange that your target differentiates between them. What I'm saying is
> that if you have (say) two i32 numbers a and b and you do a signed multiply:
> c = a *s b
> and an unsigned multiply
> d = a *u b
> then c and d are the same number