Skip to content

[TOSA] TOSA updates for LLVM hash 72144d1 #4094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

justin-ngo-arm
Copy link
Contributor

@justin-ngo-arm justin-ngo-arm commented Mar 13, 2025

1: [TOSA] Update rescale input_/output_zp and double_round attribute

  • Update tosa.rescale input_/output_zp as inputs according to TOSA 1.0
  • Update double_round bool attribute to rounding_mode in alignment with
    TOSA 1.0. rounding_mode supports "SINGLE_ROUND", "INEXACT_ROUND", and
    "DOUBLE_ROUND". Existing double_round behaviours are mapped as followed:
    • double_round = true -> rounding_mode = "DOUBLE_ROUND"
    • double_round = false -> rounding_mode = "SINGLE_ROUND"

2: [TOSA] Update tosa.negate's zero-points to inputs

Update LIT tests and XFAIL sets

3: [TOSA] Update tosa.int_div to tosa.intdiv

Update LIT tests

@justin-ngo-arm justin-ngo-arm force-pushed the tosa-updates-llvm-b3b0070 branch from 479ce0e to c94ec18 Compare March 18, 2025 17:24
@justin-ngo-arm justin-ngo-arm changed the title [TOSA] TOSA updates for LLVM hash b3b0070 [TOSA] TOSA updates for LLVM hash 6d38dbf Mar 18, 2025
1: [TOSA] Update rescale input_/output_zp and double_round attribute

* Update tosa.rescale input_/output_zp as inputs according to TOSA 1.0
* Update double_round bool attribute to rounding_mode in alignment with
TOSA 1.0. rounding_mode supports "SINGLE_ROUND", "INEXACT_ROUND", and
"DOUBLE_ROUND". Existing double_round behaviours are mapped as followed:
  - double_round = true -> rounding_mode = "DOUBLE_ROUND"
  - double_round = false -> rounding_mode = "SINGLE_ROUND"

2: [TOSA] Update tosa.negate's zero-points to inputs

Update LIT tests and XFAIL sets

3: [TOSA] Update tosa.int_div to tosa.intdiv

Update LIT tests
@justin-ngo-arm justin-ngo-arm force-pushed the tosa-updates-llvm-b3b0070 branch from c94ec18 to fa10078 Compare April 11, 2025 20:22
@justin-ngo-arm justin-ngo-arm changed the title [TOSA] TOSA updates for LLVM hash 6d38dbf [TOSA] TOSA updates for LLVM hash 72144d1 Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant