From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id D21F13858D1E for ; Mon, 11 Apr 2022 19:19:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D21F13858D1E Received: by mail-wr1-x433.google.com with SMTP id m14so89542wrb.6 for ; Mon, 11 Apr 2022 12:19:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wrukHJRKUgw835Fh0RNep8YduI6ZvZjNYdayS3vqde8=; b=vi7syXER9AOZpO1qjORzQt6jb153g5y8qiiEefBbyZVf7d69hYFgZ9MaXSpf+Z6/Ir dbU5zqlZ6ge0dhthII+/EyirXcjZgCiSLmlqPJOJ5o9vghdkXWI18EKofxCjjKYD39/P nAqrnE7CZUW6c+YVRmNNZWx4pKYFhcnMS9LYgRQO/ro1URx5EijgeFdCwxFr0W8J9p82 ijcx8iHGstQihc2AIRM16K7uWn44drZifQAhkd+DgNDWInTX6luOQIblMHiAKYmZlWrn AVk4V52bTYU6ZroU56dwd+MaIiyMXqs5WrUCXW0t8Uep7JcWPQ6tCcvOa/VBd8ue6kN8 k93A== X-Gm-Message-State: AOAM5323y7fFc9RKmbPX8An5SgHrVwIe0tC+LeoSp09hdFQoen4Igwmr jtrj78uVJNjCcN+EuD+n1Z06PfeKOTlblFgUObHNz1Sl X-Google-Smtp-Source: ABdhPJwwLTyS8/sf1P3DtJ0EHmUS1ZPijNkPZ9LsW/2pyviBsB6xzX3psziB/C7Cwp/4iGo+N23gQlac3vXSJJDgZLA= X-Received: by 2002:adf:dcc6:0:b0:207:a0e3:9d28 with SMTP id x6-20020adfdcc6000000b00207a0e39d28mr9371165wrm.380.1649704767967; Mon, 11 Apr 2022 12:19:27 -0700 (PDT) MIME-Version: 1.0 From: Shubham Narlawar Date: Tue, 12 Apr 2022 00:49:16 +0530 Message-ID: Subject: Ferching Rtl instruction corressponding to Gimple Call instruction To: GCC Development X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2022 19:19:31 -0000 Hello, I want to collect complete rtl instruction corresponding to below gimple call - "__builtin_temp" I have gimple instructions of form - slli_31 = _2 << 8; srli_32 = slli_31 >> 8; add_33 = srli_32 + 15; _20 = __builtin_temp (instrn_buffer.36_1, 1, add_33); For that, I put breakpoint in expand_call() present in cfgexpand.c. I traced the execution from expand_call() and found out that the last filled rtl instruction is present at end of expand_assignment(). Is my understanding correct? I am getting rtl instructions of form - (reg:V64SF 100 [ _16 ]) or (reg:V64SF 69 L3 [orig:100 _16 ] [100]) >From above rtl insn dumps, it is clear that it does not represent complete information of gimple call - _20 = __builtin_temp (instrn_buffer.36_1, 1, add_33); Where can I get complete RTL instruction such that I would be able to extract operands like fld[4], fld[5]? Thanks and Regards, Shubham