Skip to content

core:ppc64le SIMD testing failure on GCC <= 4.9 #16455

Closed

Description

@seiko2plus
System information (version)
  • OpenCV => 3.4, master
  • Operating System / Platform => ppc64le GNU/Linux
  • Compiler => GCC(4.9)
Detailed description
TEST ERROR

List failed tests (first 10):

    hal_intrin128.int32x4_BASELINE :

    SIMD128: void opencv_test::hal::intrin128::cpu_baseline::test_hal_intrin_int32()
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:947: Failure
    Expected equality of these values:
      2
      v_signmask(a)
        Which is: 0
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:949: Failure
    Expected equality of these values:
      2 | (1 << (R::nlanes / 2)) | (1 << (R::nlanes - 1))
        Which is: 14
      v_signmask(b)
        Which is: 0

    hal_intrin128.uint32x4_BASELINE :

    SIMD128: void opencv_test::hal::intrin128::cpu_baseline::test_hal_intrin_uint32()
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:947: Failure
    Expected equality of these values:
      2
      v_signmask(a)
        Which is: 0
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:949: Failure
    Expected equality of these values:
      2 | (1 << (R::nlanes / 2)) | (1 << (R::nlanes - 1))
        Which is: 14
      v_signmask(b)
        Which is: 0

    hal_intrin128.float32x4_BASELINE :

    SIMD128: void opencv_test::hal::intrin128::cpu_baseline::test_hal_intrin_float32()
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:947: Failure
    Expected equality of these values:
      2
      v_signmask(a)
        Which is: 0
    /worker/buildbot/Power8_Linux_gcc-4_9__opencv/opencv/modules/core/test/test_intrin_utils.hpp:949: Failure
    Expected equality of these values:
      2 | (1 << (R::nlanes / 2)) | (1 << (R::nlanes - 1))
        Which is: 14
      v_signmask(b)
        Which is: 0

CI:
https://ocv-power.imavr.com/#/builders/5/builds/96

Steps to reproduce

build OpenCV on ppc64le and run intrin tests

Activity

  1. terfendail commented on Jan 29, 2020

    @terfendail
    Contributor

    Could it be related to PR #15235 ?

  2. seiko2plus commented on Jan 29, 2020

    @seiko2plus
    ContributorAuthor

    @terfendail, yes but its a gcc(4.9) bug, vbpermq aka vec_vbpermq doesn't respect little-endian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions