[Bug 698520] audioconvert unit test fails with recent glib (?)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 19 06:40:59 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698520
  GStreamer | orc | git

--- Comment #12 from Edward Hervey <bilboed at gmail.com> 2013-08-19 13:40:57 UTC ---
The first few instructions of the generated code show the difference:

Using bytecode (i.e. default and failling):
   0x7ffff7fe6000:    stmxcsr 0x254(%rdi)
   0x7ffff7fe6007:    mov    0x254(%rdi),%ecx
   0x7ffff7fe600d:    mov    %ecx,0x258(%rdi)
   0x7ffff7fe6013:    or     $0x8040,%ecx
   0x7ffff7fe6019:    mov    %ecx,0x254(%rdi)
   0x7ffff7fe601f:    ldmxcsr 0x254(%rdi)
   0x7ffff7fe6026:    mov    $0xffc00000,%ecx
   0x7ffff7fe602b:    mov    %ecx,0x118(%rdi)
   0x7ffff7fe6031:    mov    $0xffffffff,%ecx
   0x7ffff7fe6036:    mov    %ecx,0x11c(%rdi)
   0x7ffff7fe603c:    movq   0x118(%rdi),%xmm0
   0x7ffff7fe6044:    pshufd $0x44,%xmm0,%xmm0


Note using bytecode (successs)
   0x7ffff7fe6000:    stmxcsr 0x254(%rdi)
   0x7ffff7fe6007:    mov    0x254(%rdi),%ecx
   0x7ffff7fe600d:    mov    %ecx,0x258(%rdi)
   0x7ffff7fe6013:    or     $0x8040,%ecx
   0x7ffff7fe6019:    mov    %ecx,0x254(%rdi)
   0x7ffff7fe601f:    ldmxcsr 0x254(%rdi)
   0x7ffff7fe6026:    mov    $0xffc00000,%ecx
   0x7ffff7fe602b:    mov    %ecx,0x118(%rdi)
   0x7ffff7fe6031:    mov    $0x41dfffff,%ecx
   0x7ffff7fe6036:    mov    %ecx,0x11c(%rdi)
   0x7ffff7fe603c:    movq   0x118(%rdi),%xmm0
   0x7ffff7fe6044:    pshufd $0x44,%xmm0,%xmm0


The difference is at 0x7ffff7fe6031 (mov    $0x41dfffff,%ecx  got replaced
somehow by mov    $0xffffffff,%ecx)

Looks like it's the constant value from "orc_program_add_constant_int64 (p, 8,
0x41dfffffffc00000ULL, "c1");" ... that got badly stored in the bytecode
somehow.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list