Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 50171 invoked from network); 21 Sep 2006 12:01:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 12:01:47 -0000 Received: (qmail 21665 invoked by uid 500); 21 Sep 2006 12:01:43 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 21609 invoked by uid 500); 21 Sep 2006 12:01:43 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 21593 invoked by uid 99); 21 Sep 2006 12:01:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 05:01:43 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=anton.luht@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=anton.luht@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.166.176 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.166.176] ([64.233.166.176:58526] helo=py-out-1112.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 49/1A-04092-22F72154 for ; Thu, 21 Sep 2006 05:01:39 -0700 Received: by py-out-1112.google.com with SMTP id e30so329445pya for ; Thu, 21 Sep 2006 05:01:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V4ssyWcka6nzZfQ16IuHmh6fb/thKtsZsRY0j2sLzMLBl0RsNsLvo650e90Vt3BZ3ucxh6fFrK0ptFnOEw+ciOC4GUXZL3o0xP3nEbGlDr2rOY0yjybqjvVrJgWQNjDF1sJahr/M7mYT9xJx1+wEepp9EZ46Mpums0r4TFkbpkw= Received: by 10.35.80.20 with SMTP id h20mr16145422pyl; Thu, 21 Sep 2006 05:01:25 -0700 (PDT) Received: by 10.35.54.4 with HTTP; Thu, 21 Sep 2006 05:01:25 -0700 (PDT) Message-ID: Date: Thu, 21 Sep 2006 16:01:25 +0400 From: "Anton Luht" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm][jit] array bounds check implementation In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <644754AA-5CEA-4084-A137-8065B7380AA6@uiuc.edu> <17F58FF5-549E-48E2-B766-CA0C8EBD92D1@uiuc.edu> <952DF2D2-35E5-422E-85FC-F793150B75D0@pobox.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Egor, > > Isn't that really just "faith based"? What if you really do have a > > very large upper bound? > > upper bounds are not larger than Integer.MAX_VALUE, and any negative > value in unsigned arithmetic is larger. I love this hack. Maybe it's worth to comment it and other tricks like this? Seems it's not too obvious :) -- Regards, Anton Luht, Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org