From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63472 invoked by alias); 13 Oct 2016 06:34:51 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 63448 invoked by uid 89); 13 Oct 2016 06:34:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=e_flags, Properties, 12Oct2016, 12oct2016 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-pf0-f178.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Vu0TNpGRWJEIKrI8Wu6zh6XVQL+mbLRDjEuP7wUx/Gg=; b=wrucUc1SyHI9q2ExoegBS4cOJxanrCosgcqW9Cd213Vk6tnnhSVPa3xuLbDT7eGtEn mybg6d94cVsrPLW/s0htPOwdCRzkJ5WN38LHv79GD3nR3I8qy51ES36EKwGrh2kfrW8b EpF3lIxliAb8nT8wCuEDcm8j2qvExwZfKC08eNgHqRpyqIHKiNE2yl5t2e2TlCSFLTy/ Wf7vnZbOzNUfo//gWkEwV1Lo28Jozr91Rx3hg+0PBPsWVPg9BVmKOYyVBqNT+zxq7KDm Sy1iXaJJFxG7jSrJWgb2QMy3pJj/QCjnyWhnBtEXojrtKXnZZA+9tOh6KvSSBZeTYsh5 3O7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=Vu0TNpGRWJEIKrI8Wu6zh6XVQL+mbLRDjEuP7wUx/Gg=; b=kQ2JfwMcwlf6oD6jjAXUIeNmNNxTo5MrSZjT4v63SI9g4Q48nlF3jEONQZbjS8DyZS WvkvmU75RL9uv7nrH2shfdWxl2iW/vD9VxIVDV719/LMkYVdKeTJ4R/u8wCXyDz2WYA6 3sp6AHfYdMkgkRQSJlXMHayt022y85dwi3UIcAKa0n/FMib+W/qqeHXunil+wujUHGKj F4XUhw7+6CgRv2D43swynpsDC23BouarTEZHFUCoqjQUB9vHhckk+233/JJVvkngR2iG iD5QxKGqz+kAhcPje98y6LObucZX0bJZ4Bwb7Efs7VyLKH1abKpqpWORt/Cu86YKUHZw Fo/g== X-Gm-Message-State: AA6/9RmR/a0wIY4telR0WtbtSWM/TyXfKYP3nvjnJbqtcDRv4vhR1mU/VbPcBCfNk/+jZg== X-Received: by 10.98.73.218 with SMTP id r87mr7633374pfi.91.1476340486982; Wed, 12 Oct 2016 23:34:46 -0700 (PDT) Reply-To: hegdesmailbox@gmail.com Subject: Re: RFC: Program Properties References: To: "H.J. Lu" , gnu-gabi@sourceware.org From: Suprateeka R Hegde Organization: HEGDESASPECT Message-ID: <62be87c7-53c1-b4f4-4ad3-57683464ffdd@gmail.com> Date: Fri, 01 Jan 2016 00:00:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 161012-1, 12-10-2016), Outbound message X-Antivirus-Status: Clean X-SW-Source: 2016-q4/txt/msg00001.txt.bz2 On 12-Oct-2016 11:33 PM, H.J. Lu wrote: > 1. Minimum ISAs. Executables and shared objects, which are optimized > specifically to run on a particular processor, will not run on processors > which don't support the same set of ISAs. Since x86 only has EM_IAMCU, > EM_386 and EM_X86_64 ELF machine codes, run-time loader needs additional > information to tell if an executable or a shared object is compatible > with available ISAs. Why cant the following be defined as processor specific e_flags (like other processors do) in elf.h itself? Instead of GNU_PROPERT_X86_*, why cant we have EF_X86_* (and adjust the mechanism/logic of the proposal accordingly) ? That would make it uniform at least as per elf.h. X86, as a processor architecture, need not be tied to GNU? > Integer value for the x86 instruction set support. > > #define GNU_PROPERTY_X86_ISA_1_486 (1U << 0) > #define GNU_PROPERTY_X86_ISA_1_586 (1U << 1) > #define GNU_PROPERTY_X86_ISA_1_686 (1U << 2) > #define GNU_PROPERTY_X86_ISA_1_SSE (1U << 3) > #define GNU_PROPERTY_X86_ISA_1_SSE2 (1U << 4) > #define GNU_PROPERTY_X86_ISA_1_SSE3 (1U << 5) > #define GNU_PROPERTY_X86_ISA_1_SSSE3 (1U << 6) > #define GNU_PROPERTY_X86_ISA_1_SSE4_1 (1U << 7) > #define GNU_PROPERTY_X86_ISA_1_SSE4_2 (1U << 8) > #define GNU_PROPERTY_X86_ISA_1_AVX (1U << 9) > #define GNU_PROPERTY_X86_ISA_1_AVX2 (1U << 10) > #define GNU_PROPERTY_X86_ISA_1_AVX512F (1U << 11) > #define GNU_PROPERTY_X86_ISA_1_AVX512CD (1U << 12) > #define GNU_PROPERTY_X86_ISA_1_AVX512ER (1U << 13) > #define GNU_PROPERTY_X86_ISA_1_AVX512PF (1U << 14) > #define GNU_PROPERTY_X86_ISA_1_AVX512VL (1U << 15) > #define GNU_PROPERTY_X86_ISA_1_AVX512DQ (1U << 16) > #define GNU_PROPERTY_X86_ISA_1_AVX512BW (1U << 17) -- Supra