Skip to contentSkip to conversation

New: r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

Bug 33131 [email protected] 1 participant 6 messages Jan 14, 2011 – Jan 15, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=33131

           Summary: r600_asm.c:82: error:
                    ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’
                    undeclared
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: highest
         Component: Drivers/Gallium/r600
        AssignedTo: [email protected]
        ReportedBy: [email protected]

mesa: 323ef3a1f07ba4333dadebab571ddcd49d95f45c (master)

$ scons
[...]
  Compiling src/gallium/drivers/r600/r600_asm.c ...
src/gallium/drivers/r600/r600_asm.c: In function ‘r600_bc_get_num_operands’:
src/gallium/drivers/r600/r600_asm.c:82: error:
‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared (first use in this
function)
src/gallium/drivers/r600/r600_asm.c:82: error: (Each undeclared identifier is
reported only once
src/gallium/drivers/r600/r600_asm.c:82: error: for each function it appears
in.)
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 33131] r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

https://bugs.freedesktop.org/show_bug.cgi?id=33131

--- Comment #1 from Alex Deucher <[email protected]> 2011-01-14 13:24:02 PST --- Also, FWIW, none of the evergreen (and possibly some of the r7xx opcodes that are different from r6xx) are covered in the code in question.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 33131] r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33131

--- Comment #2 from Vinson Lee <[email protected]> 2011-01-14 13:54:41 PST --- I disabled the V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case to work around the current build failure.

Please revert this commit when appropriate.

commit 4c6d6dd8fc61239ac2008267f3c5cf76f4124d11

Author: Vinson Lee <[email protected]>
Date:   Fri Jan 14 13:47:37 2011 -0800

r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case.

The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the macro is undefined. Disable this case to fix the build for now.

(quoted diff) +0 -0

b/src/gallium/drivers/r600/r600_asm.c
index 2d0d277..3430fbb 100644

src/gallium/drivers/r600/r600_asm.c +0 -0
@@ -79,7 +79,9 @@ static inline unsigned int r600_bc_get_num_operands(struct

r600_bc_alu *alu)

        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RECIPSQRT_CLAMPED:
        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RECIPSQRT_IEEE:
        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT:
+#if 0
        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR:
+#endif
        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_SIN:
        case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_COS:
                return 1;
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 33131] r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33131

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Alex Deucher <[email protected]> 2011-01-14 14:53:01 PST --- fixed:
9dfc68314de575ba7f0f936d5d0c9efe117fd535 634dece281c6f7eb3bb210fdd386c2afe8f7e895

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 33131] r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33131

--- Comment #4 from Christian König <[email protected]> 2011-01-14 16:47:23 PST --- Sorry, that was my fault. I auto-generated the missing case switches with a regular expression and didn't noticed that this is an evergreen only instruction. I promise to at least check if it's compiling before pushing the next time.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 33131] r600_asm.c:82: error: ‘V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR’ undeclared

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33131

Vinson Lee <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

--- Comment #5 from Vinson Lee <[email protected]> 2011-01-14 19:14:41 PST ---
mesa: 4620de7eeae18f313436936088d235a99b7bc11d (master)

Verified fixed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.